| /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() 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/drivers/infiniband/hw/hfi1/ |
| H A 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/drivers/hv/ |
| H A D | mshv_common.c | 35 u16 completed = 0; in hv_call_get_vp_registers() local 62 completed = hv_repcomp(status); in hv_call_get_vp_registers() 63 for (i = 0; i < completed; ++i) in hv_call_get_vp_registers() 66 registers += completed; in hv_call_get_vp_registers() 67 remaining -= completed; in hv_call_get_vp_registers() 80 u16 completed = 0; in hv_call_set_vp_registers() local 105 completed = hv_repcomp(status); in hv_call_set_vp_registers() 106 registers += completed; in hv_call_set_vp_registers() 107 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 70 completed = hv_repcomp(status); in hv_call_withdraw_memory() 72 for (i = 0; i < completed; i++) in hv_call_withdraw_memory() 81 withdrawn += completed; in hv_call_withdraw_memory() 216 ulong i, completed, remain = page_count - done; in hv_do_map_gpa_hcall() local 248 completed = hv_repcomp(status); in hv_do_map_gpa_hcall() 261 done += completed; in hv_do_map_gpa_hcall() 318 ulong completed, remain = page_count - done; in hv_call_unmap_gpa_pages() local 331 completed = hv_repcomp(status); in hv_call_unmap_gpa_pages() 337 done += completed; in hv_call_unmap_gpa_pages() [all …]
|
| /linux/lib/ |
| H A D | dynamic_queue_limits.c | 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() 125 limit += POSDIFF(completed, dql->prev_num_queued) + in dql_completed() 155 2 * (completed - dql->num_completed)); in dql_completed() 180 dql->adj_limit = limit + completed; in dql_completed() 183 dql->num_completed = completed; in dql_completed()
|
| /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() 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() 339 spurious, vq->started, vq->completed); in run_tx_test() 352 long completed_before = vq->completed; in run_rx_test() 356 (vq->started - vq->completed) < 1) { in run_rx_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() 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 == completed_before && started == started_before) in run_test() 258 assert(completed <= bufs); in run_test() [all …]
|
| /linux/drivers/media/mc/ |
| H A D | mc-request.c | 393 obj->completed = false; in media_request_object_init() 439 bool completed = false; in media_request_object_unbind() local 455 if (!obj->completed) in media_request_object_unbind() 467 completed = true; in media_request_object_unbind() 475 if (completed) in media_request_object_unbind() 484 bool completed = false; in media_request_object_complete() local 487 if (obj->completed) in media_request_object_complete() 489 obj->completed = true; in media_request_object_complete() 497 completed = true; in media_request_object_complete() 501 if (completed) in media_request_object_complete() [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/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()
|
| /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/vdpa/mlx5/core/ |
| H A D | resources.c | 343 int *completed) in issue_async_cmd() argument 356 if (*completed < issued) { in issue_async_cmd() 358 wait_for_completion(&cmds[*completed].cmd_done); in issue_async_cmd() 359 (*completed)++; in issue_async_cmd() 368 (*completed)++; in issue_async_cmd() 379 int completed = 0; in mlx5_vdpa_exec_async_cmds() local 388 err = issue_async_cmd(mvdev, cmds, issued, &completed); in mlx5_vdpa_exec_async_cmds() 398 while (completed < issued) in mlx5_vdpa_exec_async_cmds() 399 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/block/ |
| H 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/ |
| H A D | pxa27x_udc.c | 870 int count, is_short, completed = 0; in read_fifo() local 883 completed = 1; in read_fifo() 888 return completed; in read_fifo() 906 int count, is_short, is_last = 0, completed = 0, totcount = 0; in write_fifo() local 946 completed = 1; in write_fifo() 955 return completed; in write_fifo() 971 int count, is_short, completed = 0; in read_ep0_fifo() local 984 completed = 1; in read_ep0_fifo() 989 return completed; in read_ep0_fifo() 1954 int completed = 0; in handle_ep0() local [all …]
|
| /linux/drivers/block/mtip32xx/ |
| H A D | mtip32xx.h | 175 u32 completed; member 182 mtip_workq_sdbfx(w->port, group, w->completed); \ 335 void __iomem *completed[MTIP_MAX_SLOT_GROUPS]; member
|
| H A D | mtip32xx.c | 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() 529 writel(completed, port->completed[group]); in mtip_handle_tfe() 532 for (bit = 0; bit < 32 && completed; bit++) { in mtip_handle_tfe() 533 if (!(completed & (1<<bit))) in mtip_handle_tfe() 647 u32 completed) in mtip_workq_sdbfx() argument 653 if (!completed) { in mtip_workq_sdbfx() 654 WARN_ON_ONCE(!completed); in mtip_workq_sdbfx() [all …]
|
| /linux/drivers/iio/adc/ |
| H A D | fsl-imx25-gcq.c | 38 struct completion completed; member 91 complete(&priv->completed); in mx25_gcq_irq() 123 &priv->completed, MX25_GCQ_TIMEOUT); in mx25_gcq_get_raw_value() 320 init_completion(&priv->completed); in mx25_gcq_probe()
|
| /linux/drivers/macintosh/ |
| H A D | adb.c | 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() 383 gsi_wr->completed = true; in mlx5_ib_add_outstanding_wr()
|
| /linux/arch/um/drivers/ |
| H A D | virtio_pcidev.c | 180 void *completed = virtqueue_get_buf(dev->cmd_vq, &len); in virtio_pcidev_send_cmd() local 182 if (completed == buf) in virtio_pcidev_send_cmd() 185 if (completed) in virtio_pcidev_send_cmd() 186 virtio_pcidev_free_buf(dev, completed); in virtio_pcidev_send_cmd()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | send.c | 665 struct mlx5hws_completed_poll *comp = &queue->completed; in hws_send_engine_poll_list() 1047 kfree(queue->completed.entries); in mlx5hws_send_queue_close() 1061 queue->completed.entries = kzalloc_objs(queue->completed.entries[0], in mlx5hws_send_queue_open() 1063 if (!queue->completed.entries) in mlx5hws_send_queue_open() 1066 queue->completed.pi = 0; in mlx5hws_send_queue_open() 1067 queue->completed.ci = 0; in mlx5hws_send_queue_open() 1068 queue->completed.mask = queue->num_entries - 1; in mlx5hws_send_queue_open() 1076 kfree(queue->completed.entries); in mlx5hws_send_queue_open()
|
| /linux/Documentation/scsi/ |
| H A D | scsi_eh.rst | 15 [1-2] How do scmd's get completed? 45 1.2 How do scmd's get completed? 71 the completed request by calling blk_end_request and 104 eh_timed_out() completed the command. 153 completed a scmd with error status, the LLDD and lower layers are 318 This action is taken for each error-completed 363 as we explicitly choose error-completed scmds, it is known 387 to choose error-completed scmds.
|
| /linux/drivers/vhost/ |
| H A D | vringh.c | 461 used_idx = vrh->last_used_idx + vrh->completed; in __vringh_complete() 491 vrh->completed += num_used; in __vringh_complete() 531 if (unlikely(vrh->completed > 0xffff)) in __vringh_need_notify() 535 vrh->last_used_idx + vrh->completed, in __vringh_need_notify() 538 vrh->last_used_idx += vrh->completed; in __vringh_need_notify() 539 vrh->completed = 0; in __vringh_need_notify() 670 vrh->completed = 0; in vringh_init_user() 914 vrh->completed = 0; in vringh_init_kern()
|