/Linux-v5.4/tools/virtio/ringtest/ |
D | main.c | 109 int completed = 0; in run_guest() local 121 completed_before = completed; in run_guest() 124 started - completed < max_outstanding) { in run_guest() 140 ++completed; in run_guest() 141 if (__builtin_expect(completed == bufs, false)) 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() [all …]
|
/Linux-v5.4/drivers/infiniband/core/ |
D | cq.c | 71 int i, n, completed = 0; in __ib_process_cq() local 79 budget - completed), wcs)) > 0) { in __ib_process_cq() 89 completed += n; in __ib_process_cq() 91 if (n != batch || (budget != -1 && completed >= budget)) in __ib_process_cq() 95 return completed; in __ib_process_cq() 129 int completed; in ib_poll_handler() local 131 completed = __ib_process_cq(cq, budget, cq->wc, IB_POLL_BATCH); in ib_poll_handler() 132 if (completed < budget) { in ib_poll_handler() 139 rdma_dim(dim, completed); in ib_poll_handler() 141 return completed; in ib_poll_handler() [all …]
|
/Linux-v5.4/lib/ |
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-v5.4/drivers/infiniband/hw/hfi1/ |
D | opfn.c | 59 priv->opfn.requested == priv->opfn.completed || priv->opfn.curr) in opfn_conn_request() 62 mask = priv->opfn.requested & ~priv->opfn.completed; in opfn_conn_request() 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() [all …]
|
/Linux-v5.4/drivers/i2c/algos/ |
D | i2c-algo-pca.c | 178 int completed = 1; in pca_xfer() local 224 completed = pca_start(adap); in pca_xfer() 229 completed = pca_address(adap, msg); in pca_xfer() 235 completed = pca_tx_byte(adap, in pca_xfer() 244 completed = pca_repeated_start(adap); in pca_xfer() 254 completed = pca_rx_ack(adap, msg->len > 1); in pca_xfer() 261 completed = pca_rx_ack(adap, in pca_xfer() 269 completed = pca_repeated_start(adap); in pca_xfer() 304 completed = pca_repeated_start(adap); in pca_xfer() 330 if (!completed) in pca_xfer()
|
/Linux-v5.4/drivers/gpu/host1x/ |
D | intr.c | 57 struct list_head completed[HOST1X_INTR_ACTION_COUNT]) in remove_completed_waiters() 66 dest = completed + waiter->action; in remove_completed_waiters() 133 static void run_handlers(struct list_head completed[HOST1X_INTR_ACTION_COUNT]) in run_handlers() 135 struct list_head *head = completed; in run_handlers() 159 struct list_head completed[HOST1X_INTR_ACTION_COUNT]; in process_wait_list() local 164 INIT_LIST_HEAD(completed + i); in process_wait_list() 169 completed); in process_wait_list() 180 run_handlers(completed); in process_wait_list()
|
/Linux-v5.4/drivers/media/mc/ |
D | mc-request.c | 395 obj->completed = false; in media_request_object_init() 438 bool completed = false; in media_request_object_unbind() local 454 if (!obj->completed) in media_request_object_unbind() 466 completed = true; in media_request_object_unbind() 474 if (completed) in media_request_object_unbind() 483 bool completed = false; in media_request_object_complete() local 486 if (obj->completed) in media_request_object_complete() 488 obj->completed = true; in media_request_object_complete() 496 completed = true; in media_request_object_complete() 500 if (completed) in media_request_object_complete()
|
/Linux-v5.4/Documentation/ABI/testing/ |
D | procfs-diskstats | 12 4 - reads completed successfully 16 8 - writes completed 27 15 - discards completed successfully
|
/Linux-v5.4/tools/virtio/ |
D | virtio_test.c | 158 long started = 0, completed = 0; in run_test() local 167 completed_before = completed; in run_test() 184 ++completed; in run_test() 189 if (completed == completed_before) in run_test() 191 assert(completed <= bufs); in run_test() 193 if (completed == bufs) in run_test()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/falcon/ |
D | msgqueue_0137c63d.c | 271 DECLARE_COMPLETION_ONSTACK(completed); in acr_boot_falcon() 291 acr_boot_falcon_callback, &completed, true); in acr_boot_falcon() 293 if (!wait_for_completion_timeout(&completed, msecs_to_jiffies(1000))) in acr_boot_falcon() 329 DECLARE_COMPLETION_ONSTACK(completed); in acr_boot_multiple_falcons() 355 acr_boot_multiple_falcons_callback, &completed, true); in acr_boot_multiple_falcons() 357 if (!wait_for_completion_timeout(&completed, msecs_to_jiffies(1000))) in acr_boot_multiple_falcons()
|
D | msgqueue_0148cdec.c | 201 DECLARE_COMPLETION_ONSTACK(completed); in acr_boot_falcon() 221 acr_boot_falcon_callback, &completed, true); in acr_boot_falcon() 223 if (!wait_for_completion_timeout(&completed, msecs_to_jiffies(1000))) in acr_boot_falcon()
|
/Linux-v5.4/drivers/usb/musb/ |
D | cppi_dma.c | 1007 bool completed = false; in cppi_rx_scan() local 1022 (safe2ack || completed) && bd && i < NUM_RXCHAN_BD; in cppi_rx_scan() 1028 if (!completed && (bd->hw_options & CPPI_OWN_SET)) in cppi_rx_scan() 1038 if ((bd->hw_options & CPPI_SOP_SET) && !completed) in cppi_rx_scan() 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() [all …]
|
/Linux-v5.4/drivers/scsi/aacraid/ |
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() 415 int completed = 0; in aac_intr_normal() local 421 completed = 1; in aac_intr_normal() 434 if (completed) in aac_intr_normal()
|
/Linux-v5.4/Documentation/media/uapi/mediactl/ |
D | media-request-ioc-reinit.rst | 60 This avoids having to :ref:`close() <request-func-close>` a completed 61 request and allocate a new request. Instead the completed request can just 65 yet, or if it was queued and completed. Otherwise it will set ``errno`` 75 The request is queued but not yet completed.
|
/Linux-v5.4/Documentation/block/ |
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 62 completed (perhaps to copy the data somewhere else, or perhaps to resubmit 81 * Submitting partially completed bios is now perfectly fine - this comes up 85 It used to be the case that submitting a partially completed bio would work 89 audited to make sure they are - submitting partially completed bios is
|
/Linux-v5.4/Documentation/driver-api/dmaengine/ |
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-v5.4/drivers/block/mtip32xx/ |
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
|
D | mtip32xx.c | 355 writel(0xFFFFFFFF, port->completed[i]); in mtip_init_port() 511 u32 completed; in mtip_handle_tfe() local 535 completed = readl(port->completed[group]); in mtip_handle_tfe() 537 dev_warn(&dd->pdev->dev, "g=%u, comp=%x\n", group, completed); in mtip_handle_tfe() 540 writel(completed, port->completed[group]); in mtip_handle_tfe() 543 for (bit = 0; bit < 32 && completed; bit++) { in mtip_handle_tfe() 544 if (!(completed & (1<<bit))) in mtip_handle_tfe() 658 u32 completed) in mtip_workq_sdbfx() argument 664 if (!completed) { in mtip_workq_sdbfx() 665 WARN_ON_ONCE(!completed); in mtip_workq_sdbfx() [all …]
|
/Linux-v5.4/drivers/usb/gadget/udc/ |
D | pxa27x_udc.c | 874 int count, is_short, completed = 0; in read_fifo() local 887 completed = 1; in read_fifo() 892 return completed; in read_fifo() 910 int count, is_short, is_last = 0, completed = 0, totcount = 0; in write_fifo() local 950 completed = 1; in write_fifo() 959 return completed; in write_fifo() 975 int count, is_short, completed = 0; in read_ep0_fifo() local 988 completed = 1; in read_ep0_fifo() 993 return completed; in read_ep0_fifo() 1939 int completed = 0; in handle_ep0() local [all …]
|
/Linux-v5.4/Documentation/admin-guide/ |
D | iostats.rst | 64 Field 1 -- # of reads completed 65 This is the total number of reads completed successfully. 80 Field 5 -- # of writes completed 81 This is the total number of writes completed successfully. 101 started or completed. If request runs more than 2 jiffies then some 111 Field 12 -- # of discards completed 112 This is the total number of discards completed successfully. 173 number of reads/writes completed.
|
/Linux-v5.4/drivers/iio/adc/ |
D | fsl-imx25-gcq.c | 38 struct completion completed; member 82 complete(&priv->completed); in mx25_gcq_irq() 115 &priv->completed, MX25_GCQ_TIMEOUT); in mx25_gcq_get_raw_value() 319 init_completion(&priv->completed); in mx25_gcq_probe()
|
/Linux-v5.4/drivers/macintosh/ |
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-v5.4/drivers/vhost/ |
D | vringh.c | 416 used_idx = vrh->last_used_idx + vrh->completed; in __vringh_complete() 446 vrh->completed += num_used; in __vringh_complete() 486 if (unlikely(vrh->completed > 0xffff)) in __vringh_need_notify() 490 vrh->last_used_idx + vrh->completed, in __vringh_need_notify() 493 vrh->last_used_idx += vrh->completed; in __vringh_need_notify() 494 vrh->completed = 0; in __vringh_need_notify() 621 vrh->completed = 0; in vringh_init_user() 888 vrh->completed = 0; in vringh_init_kern()
|
/Linux-v5.4/drivers/infiniband/hw/mlx5/ |
D | gsi.c | 39 bool completed:1; member 83 if (!wr->completed) in generate_completions() 90 wr->completed = false; in generate_completions() 105 wr->completed = true; in handle_single_completion() 435 gsi_wr->completed = true; in mlx5_ib_add_outstanding_wr()
|
/Linux-v5.4/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
D | simple_sync_srcu.c | 42 idx = 1 ^ (sp->completed & 1); in synchronize_srcu()
|