/linux/tools/virtio/ringtest/ |
H A 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() 138 /* Flush out completed bufs if any */ 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() [all...] |
/linux/drivers/hv/ |
H A D | mshv_common.c | 32 u16 completed = 0; in hv_call_get_vp_registers() local 59 completed = hv_repcomp(status); in hv_call_get_vp_registers() 60 for (i = 0; i < completed; ++i) in hv_call_get_vp_registers() 63 registers += completed; in hv_call_get_vp_registers() 64 remaining -= completed; in hv_call_get_vp_registers() 77 u16 completed = 0; in hv_call_set_vp_registers() local 102 completed = hv_repcomp(status); in hv_call_set_vp_registers() 103 registers += completed; in hv_call_set_vp_registers() 104 remaining -= completed; in hv_call_set_vp_registers()
|
H A D | mshv_root_hv_call.c | 47 u16 completed; in hv_call_withdraw_memory() local 71 completed = hv_repcomp(status); in hv_call_withdraw_memory() 73 for (i = 0; i < completed; i++) in hv_call_withdraw_memory() 82 remaining -= completed; in hv_call_withdraw_memory() 208 ulong i, completed, remain = page_count - done; in hv_do_map_gpa_hcall() local 240 completed = hv_repcomp(status); in hv_do_map_gpa_hcall() 253 done += completed; in hv_do_map_gpa_hcall() 310 ulong completed, remain = page_count - done; in hv_call_unmap_gpa_pages() local 323 completed = hv_repcomp(status); in hv_call_unmap_gpa_pages() 329 done += completed; in hv_call_unmap_gpa_pages() 342 int completed = 0; hv_call_get_gpa_access_states() local 811 ulong i, completed, remain = page_count - done; hv_call_modify_spa_host_access() local [all...] |
/linux/drivers/infiniband/hw/hfi1/ |
H A D | opfn.c | 55 * if we have completed all requests, or if a previous request is in in opfn_conn_request() 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() [all...] |
/linux/lib/ |
H A D | dynamic_queue_limits.c | 82 /* Records completed count and recalculates the queue limit */ 86 unsigned int ovlimit, completed, num_queued; in dql_completed() local 101 completed = dql->num_completed + count; in dql_completed() 104 inprogress = num_queued - completed; in dql_completed() 106 all_prev_completed = AFTER_EQ(completed, dql->prev_num_queued); in dql_completed() 122 * of bytes both sent and completed in the last interval, in dql_completed() 125 limit += POSDIFF(completed, dql->prev_num_queued) + in dql_completed() 146 * the number of objects completed. Note that two times in dql_completed() 147 * number of completed bytes is a basis for an upper bound in dql_completed() 155 2 * (completed in dql_completed() [all...] |
/linux/drivers/infiniband/core/ |
H A D | cq.c | 95 int i, n, completed = 0; in __ib_process_cq() local 105 budget - completed), wcs)) > 0) { in __ib_process_cq() 115 completed += n; in __ib_process_cq() 117 if (n != batch || (budget != -1 && completed >= budget)) in __ib_process_cq() 121 return completed; in __ib_process_cq() 155 int completed; in ib_poll_handler() local 157 completed = __ib_process_cq(cq, budget, cq->wc, IB_POLL_BATCH); in ib_poll_handler() 158 if (completed < budget) { in ib_poll_handler() 167 rdma_dim(dim, completed); in ib_poll_handler() 169 return completed; in ib_poll_handler() 181 int completed; ib_cq_poll_work() local [all...] |
/linux/tools/virtio/ |
H A D | vhost_net_test.c | 37 long completed; member 285 long completed_before = vq->completed; in run_tx_test() 290 (vq->started - vq->completed) < 1) { in run_tx_test() 309 /* Flush out completed bufs if any */ in run_tx_test() 317 ++vq->completed; in run_tx_test() 322 if (vq->completed == completed_before && vq->started == started_before) in run_tx_test() 325 assert(vq->completed <= bufs); in run_tx_test() 327 if (vq->completed == bufs) in run_tx_test() 338 printf("TX spurious wakeups: 0x%llx started=0x%lx completed=0x%lx\n", in run_tx_test() 339 spurious, vq->started, vq->completed); in run_tx_test() [all...] |
H A D | virtio_test.c | 173 long started = 0, completed = 0, next_reset = reset_n; in run_test() local 188 completed_before = completed; in run_test() 191 const bool reset = completed > next_reset; in run_test() 196 (started - completed) < batch) { in run_test() 227 /* Flush out completed bufs if any */ in run_test() 229 ++completed; in run_test() 251 started = completed; in run_test() 252 while (completed > next_reset) in run_test() 253 next_reset += completed; in run_test() 256 if (completed in run_test() [all...] |
/linux/Documentation/ABI/testing/ |
H A D | procfs-diskstats | 13 4 reads completed successfully 17 8 writes completed 30 15 discards completed successfully 39 19 flush requests completed successfully
|
H A D | sysfs-bus-fsi-devices-sbefifo | 8 occurred and no transfers have completed since the timeout. A 10 has, more recent transfers have completed successfully.
|
/linux/drivers/media/mc/ |
H A D | mc-request.c | 392 obj->completed = false; in media_request_object_init() 436 bool completed = false; in media_request_object_unbind() local 452 if (!obj->completed) in media_request_object_unbind() 464 completed = true; in media_request_object_unbind() 472 if (completed) in media_request_object_unbind() 481 bool completed = false; in media_request_object_complete() local 484 if (obj->completed) in media_request_object_complete() 486 obj->completed = true; in media_request_object_complete() 494 completed = true; in media_request_object_complete() 498 if (completed) in media_request_object_complete() [all...] |
/linux/drivers/i2c/algos/ |
H 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() [all...] |
/linux/Documentation/userspace-api/media/mediactl/ |
H 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/s390/scsi/ |
H A D | zfcp_qdio.c | 80 int completed; in zfcp_qdio_request_tasklet() local 82 completed = qdio_inspect_output_queue(cdev, 0, &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() 167 int completed; in zfcp_qdio_irq_tasklet() local 173 completed = qdio_inspect_input_queue(cdev, 0, &start, &error); in zfcp_qdio_irq_tasklet() 174 if (completed < 0) in zfcp_qdio_irq_tasklet() 176 if (completed > 0) in zfcp_qdio_irq_tasklet() 177 zfcp_qdio_int_resp(cdev, error, 0, start, completed, in zfcp_qdio_irq_tasklet() [all...] |
/linux/drivers/vdpa/mlx5/core/ |
H A D | resources.c | 334 int *completed) in issue_async_cmd() argument 347 if (*completed < issued) { in issue_async_cmd() 349 wait_for_completion(&cmds[*completed].cmd_done); in issue_async_cmd() 350 (*completed)++; in issue_async_cmd() 359 (*completed)++; in issue_async_cmd() 370 int completed = 0; in mlx5_vdpa_exec_async_cmds() local 379 err = issue_async_cmd(mvdev, cmds, issued, &completed); in mlx5_vdpa_exec_async_cmds() 389 while (completed < issued) in mlx5_vdpa_exec_async_cmds() 390 wait_for_completion(&cmds[completed++].cmd_done); in mlx5_vdpa_exec_async_cmds()
|
/linux/drivers/scsi/aacraid/ |
H 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/admin-guide/ |
H A D | iostats.rst | 42 Field 1 -- # of reads completed (unsigned long) 43 This is the total number of reads completed successfully. 58 Field 5 -- # of writes completed (unsigned long) 59 This is the total number of writes completed successfully. 79 started or completed. If request runs more than 2 jiffies then some 89 Field 12 -- # of discards completed (unsigned long) 90 This is the total number of discards completed successfully. 102 Field 16 -- # of flush requests completed 103 This is the total number of flush requests completed successfully. 163 number of reads/writes completed [all...] |
/linux/Documentation/driver-api/dmaengine/ |
H 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/ |
H A D | mtip32xx.h | 174 u32 completed; member 181 mtip_workq_sdbfx(w->port, group, w->completed); \ 333 /* Array of pointers to the memory mapped completed registers. */ 334 void __iomem *completed[MTIP_MAX_SLOT_GROUPS]; member
|
H A D | mtip32xx.c | 341 /* reset the completed registers.*/ in mtip_init_port() 343 writel(0xFFFFFFFF, port->completed[i]); in mtip_init_port() 500 u32 completed; in mtip_handle_tfe() local 524 completed = readl(port->completed[group]); in mtip_handle_tfe() 526 dev_warn(&dd->pdev->dev, "g=%u, comp=%x\n", group, completed); in mtip_handle_tfe() 528 /* clear completed status register in the hardware.*/ in mtip_handle_tfe() 529 writel(completed, port->completed[group]); in mtip_handle_tfe() 531 /* Process successfully completed command in mtip_handle_tfe() 647 mtip_workq_sdbfx(struct mtip_port * port,int group,u32 completed) mtip_workq_sdbfx() argument [all...] |
/linux/include/drm/bridge/ |
H A D | samsung-dsim.h | 42 struct completion completed; member 112 struct completion completed; member
|
/linux/drivers/iio/adc/ |
H A D | fsl-imx25-gcq.c | 39 struct completion completed; member 92 complete(&priv->completed); in mx25_gcq_irq() 124 &priv->completed, MX25_GCQ_TIMEOUT); in mx25_gcq_get_raw_value() 321 init_completion(&priv->completed); in mx25_gcq_probe()
|
/linux/drivers/macintosh/ |
H A D | adb.c | 224 * completed. 611 struct adb_request *completed; member 635 struct adb_request **ap = &state->completed; in adb_write_done() 685 state->completed = NULL; in adb_open() 704 && state->completed == NULL) { in adb_release() 736 req = state->completed; in adb_read() 738 state->completed = req->next; in adb_read()
|
/linux/drivers/infiniband/hw/mlx5/ |
H 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/ |
H A D | dm-rq.c | 28 unsigned int completed; member 100 * when the request is completed. in end_clone_bio() 107 * I/O for the bio successfully completed. in end_clone_bio() 110 tio->completed += nr_bytes; in end_clone_bio() 119 blk_update_request(tio->orig, BLK_STS_OK, tio->completed); in end_clone_bio() 346 tio->completed = 0; in init_tio() 360 * < 0 : the request was completed due to failure 451 * when all bios are completed. in dm_start_request()
|