/linux/tools/virtio/ringtest/ |
A D | main.c | 109 int completed = 0; in run_guest() local 121 completed_before = completed; in run_guest() 140 ++completed; in run_guest() 146 if (completed == completed_before) in run_guest() 148 assert(completed <= bufs); in run_guest() 168 int completed = 0; in run_host() local 183 completed_before = completed; in run_host() 187 ++completed; in run_host() 191 if (completed == completed_before) in run_host() 193 assert(completed <= bufs); in run_host() [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | opfn.c | 65 priv->opfn.completed |= OPFN_CODE(capcode); in opfn_conn_request() 76 priv->opfn.completed |= OPFN_CODE(capcode); in opfn_conn_request() 158 if (priv->opfn.completed & OPFN_CODE(capcode)) { in opfn_conn_response() 163 priv->opfn.completed &= ~OPFN_CODE(capcode); in opfn_conn_response() 169 priv->opfn.completed |= OPFN_CODE(capcode); in opfn_conn_response() 202 priv->opfn.completed |= OPFN_CODE(capcode); in opfn_conn_reply() 229 while (priv->opfn.completed) { in opfn_conn_error() 230 capcode = priv->opfn.completed & ~(priv->opfn.completed - 1); in opfn_conn_error() 234 priv->opfn.completed &= ~OPFN_CODE(capcode); in opfn_conn_error() 274 if (priv->opfn.completed & in opfn_qp_init() [all …]
|
/linux/lib/ |
A D | dynamic_queue_limits.c | 21 unsigned int ovlimit, completed, num_queued; in dql_completed() local 29 completed = dql->num_completed + count; in dql_completed() 32 inprogress = num_queued - completed; in dql_completed() 34 all_prev_completed = AFTER_EQ(completed, dql->prev_num_queued); in dql_completed() 53 limit += POSDIFF(completed, dql->prev_num_queued) + in dql_completed() 83 2 * (completed - dql->num_completed)); in dql_completed() 108 dql->adj_limit = limit + completed; in dql_completed() 111 dql->num_completed = completed; in dql_completed()
|
/linux/drivers/infiniband/core/ |
A D | cq.c | 96 int i, n, completed = 0; in __ib_process_cq() local 106 budget - completed), wcs)) > 0) { in __ib_process_cq() 116 completed += n; in __ib_process_cq() 122 return completed; in __ib_process_cq() 156 int completed; in ib_poll_handler() local 159 if (completed < budget) { in ib_poll_handler() 168 rdma_dim(dim, completed); in ib_poll_handler() 170 return completed; in ib_poll_handler() 182 int completed; in ib_cq_poll_work() local 186 if (completed >= IB_POLL_BUDGET_WORKQUEUE || in ib_cq_poll_work() [all …]
|
/linux/tools/virtio/ |
A D | virtio_test.c | 172 long started = 0, completed = 0, next_reset = reset_n; in run_test() local 187 completed_before = completed; in run_test() 190 const bool reset = completed > next_reset; in run_test() 195 (started - completed) < batch) { in run_test() 228 ++completed; in run_test() 250 started = completed; in run_test() 251 while (completed > next_reset) in run_test() 252 next_reset += completed; in run_test() 257 assert(completed <= bufs); in run_test() 259 if (completed == bufs) in run_test() [all …]
|
/linux/drivers/media/mc/ |
A D | mc-request.c | 398 obj->completed = false; in media_request_object_init() 442 bool completed = false; in media_request_object_unbind() local 458 if (!obj->completed) in media_request_object_unbind() 470 completed = true; in media_request_object_unbind() 478 if (completed) in media_request_object_unbind() 487 bool completed = false; in media_request_object_complete() local 490 if (obj->completed) in media_request_object_complete() 492 obj->completed = true; in media_request_object_complete() 500 completed = true; in media_request_object_complete() 504 if (completed) in media_request_object_complete()
|
/linux/drivers/i2c/algos/ |
A D | i2c-algo-pca.c | 192 int completed = 1; in pca_xfer() local 238 completed = pca_start(adap); in pca_xfer() 243 completed = pca_address(adap, msg); in pca_xfer() 249 completed = pca_tx_byte(adap, in pca_xfer() 258 completed = pca_repeated_start(adap); in pca_xfer() 268 completed = pca_rx_ack(adap, msg->len > 1); in pca_xfer() 275 completed = pca_rx_ack(adap, in pca_xfer() 283 completed = pca_repeated_start(adap); in pca_xfer() 318 completed = pca_repeated_start(adap); in pca_xfer() 345 if (!completed) in pca_xfer()
|
/linux/Documentation/ABI/testing/ |
A D | procfs-diskstats | 13 4 reads completed successfully 17 8 writes completed 30 15 discards completed successfully 39 19 flush requests completed successfully
|
A D | sysfs-bus-fsi-devices-sbefifo | 8 ocurred and no transfers have completed since the timeout. A 10 has, more recent transfers have completed successful.
|
/linux/drivers/gpu/host1x/ |
A D | intr.c | 58 struct list_head completed[HOST1X_INTR_ACTION_COUNT]) in remove_completed_waiters() 67 dest = completed + waiter->action; in remove_completed_waiters() 141 static void run_handlers(struct list_head completed[HOST1X_INTR_ACTION_COUNT]) in run_handlers() 143 struct list_head *head = completed; in run_handlers() 167 struct list_head completed[HOST1X_INTR_ACTION_COUNT]; in process_wait_list() local 172 INIT_LIST_HEAD(completed + i); in process_wait_list() 177 completed); in process_wait_list() 188 run_handlers(completed); in process_wait_list()
|
/linux/drivers/s390/scsi/ |
A D | zfcp_qdio.c | 80 int completed; in zfcp_qdio_request_tasklet() local 82 completed = qdio_inspect_queue(cdev, 0, false, &start, &error); in zfcp_qdio_request_tasklet() 83 if (completed > 0) { in zfcp_qdio_request_tasklet() 88 zfcp_qdio_zero_sbals(qdio->req_q, start, completed); in zfcp_qdio_request_tasklet() 93 atomic_add(completed, &qdio->req_q_free); in zfcp_qdio_request_tasklet() 166 int completed; in zfcp_qdio_irq_tasklet() local 172 completed = qdio_inspect_queue(cdev, 0, true, &start, &error); in zfcp_qdio_irq_tasklet() 173 if (completed < 0) in zfcp_qdio_irq_tasklet() 175 if (completed > 0) in zfcp_qdio_irq_tasklet() 176 zfcp_qdio_int_resp(cdev, error, 0, start, completed, in zfcp_qdio_irq_tasklet()
|
/linux/Documentation/userspace-api/media/mediactl/ |
A D | media-request-ioc-reinit.rst | 36 This avoids having to :c:func:`close()` a completed 37 request and allocate a new request. Instead the completed request can just 41 yet, or if it was queued and completed. Otherwise it will set ``errno`` 51 The request is queued but not yet completed.
|
/linux/drivers/usb/musb/ |
A D | cppi_dma.c | 1007 bool completed = false; in cppi_rx_scan() local 1044 completed = true; in cppi_rx_scan() 1046 if (!completed && len < bd->buflen) { in cppi_rx_scan() 1052 completed = true; in cppi_rx_scan() 1081 completed = true; in cppi_rx_scan() 1110 completed ? ", completed" : "", in cppi_rx_scan() 1115 if (!completed) { in cppi_rx_scan() 1138 return completed; in cppi_rx_scan() 1172 bool completed = false; in cppi_interrupt() local 1231 completed = true; in cppi_interrupt() [all …]
|
/linux/drivers/scsi/aacraid/ |
A D | dpcsup.c | 363 int completed = 0; in aac_intr_normal() local 369 completed = 1; in aac_intr_normal() 382 if (completed) in aac_intr_normal() 416 int completed = 0; in aac_intr_normal() local 422 completed = 1; in aac_intr_normal() 435 if (completed) in aac_intr_normal()
|
/linux/Documentation/block/ |
A D | biovecs.rst | 9 the iterator will be modified as the bio is completed, not the biovec. 14 bv_len by the number of bytes completed in that biovec. 20 bytes completed in the current bvec. 23 particular, presenting the illusion of partially completed biovecs so that 64 completed (perhaps to copy the data somewhere else, or perhaps to resubmit 83 * Submitting partially completed bios is now perfectly fine - this comes up 87 It used to be the case that submitting a partially completed bio would work 91 audited to make sure they are - submitting partially completed bios is
|
/linux/drivers/usb/gadget/udc/ |
A D | pxa27x_udc.c | 884 completed = 1; in read_fifo() 889 return completed; in read_fifo() 947 completed = 1; in write_fifo() 956 return completed; in write_fifo() 985 completed = 1; in read_ep0_fifo() 990 return completed; in read_ep0_fifo() 1976 if (completed) in handle_ep0() 1982 if (completed) in handle_ep0() 2018 int completed; in handle_ep() local 2030 completed = 0; in handle_ep() [all …]
|
/linux/Documentation/admin-guide/ |
A D | iostats.rst | 65 Field 1 -- # of reads completed (unsigned long) 66 This is the total number of reads completed successfully. 81 Field 5 -- # of writes completed (unsigned long) 82 This is the total number of writes completed successfully. 102 started or completed. If request runs more than 2 jiffies then some 112 Field 12 -- # of discards completed (unsigned long) 113 This is the total number of discards completed successfully. 125 Field 16 -- # of flush requests completed 126 This is the total number of flush requests completed successfully. 186 number of reads/writes completed.
|
/linux/Documentation/driver-api/dmaengine/ |
A D | pxa_dma.rst | 110 Each time a transfer is completed on a channel, an interrupt might be 113 transfer being completed into the physical channel's completion mark. 117 any lock to find out what is the latest completed transfer in a running 132 If a transfer is completed while this handling is done, a dma irq will 137 Residue granularity will be descriptor based. The issued but not completed 183 - completed queue : empty 187 It should be noted that after tx3 is completed, the channel is stopped, and
|
/linux/drivers/block/mtip32xx/ |
A D | mtip32xx.h | 176 u32 completed; member 183 mtip_workq_sdbfx(w->port, group, w->completed); \ 336 void __iomem *completed[MTIP_MAX_SLOT_GROUPS]; member
|
A D | mtip32xx.c | 512 u32 completed; in mtip_handle_tfe() local 536 completed = readl(port->completed[group]); in mtip_handle_tfe() 541 writel(completed, port->completed[group]); in mtip_handle_tfe() 659 u32 completed) in mtip_workq_sdbfx() argument 665 if (!completed) { in mtip_workq_sdbfx() 670 writel(completed, port->completed[group]); in mtip_workq_sdbfx() 674 if (completed & 0x01) { in mtip_workq_sdbfx() 684 completed >>= 1; in mtip_workq_sdbfx() 769 twork->completed = readl(port->completed[i]); in mtip_handle_irq() 770 if (twork->completed) in mtip_handle_irq() [all …]
|
/linux/drivers/iio/adc/ |
A D | fsl-imx25-gcq.c | 38 struct completion completed; member 91 complete(&priv->completed); in mx25_gcq_irq() 124 &priv->completed, MX25_GCQ_TIMEOUT); in mx25_gcq_get_raw_value() 325 init_completion(&priv->completed); in mx25_gcq_probe()
|
/linux/drivers/macintosh/ |
A D | adb.c | 609 struct adb_request *completed; member 633 struct adb_request **ap = &state->completed; in adb_write_done() 683 state->completed = NULL; in adb_open() 702 && state->completed == NULL) { in adb_release() 734 req = state->completed; in adb_read() 736 state->completed = req->next; in adb_read()
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | gsi.c | 38 bool completed:1; member 58 if (!wr->completed) in generate_completions() 62 wr->completed = false; in generate_completions() 78 wr->completed = true; in handle_single_completion() 381 gsi_wr->completed = true; in mlx5_ib_add_outstanding_wr()
|
/linux/drivers/md/ |
A D | dm-rq.c | 27 unsigned completed; member 110 tio->completed += nr_bytes; in end_clone_bio() 119 blk_update_request(tio->orig, BLK_STS_OK, tio->completed); in end_clone_bio() 361 tio->completed = 0; in init_tio()
|
/linux/arch/um/drivers/ |
A D | virt-pci.c | 148 void *completed = virtqueue_get_buf(dev->cmd_vq, &len); in um_pci_send_cmd() local 150 if (completed == HANDLE_NO_FREE(cmd)) in um_pci_send_cmd() 153 if (completed && !HANDLE_IS_NO_FREE(completed)) in um_pci_send_cmd() 154 kfree(completed); in um_pci_send_cmd()
|