| /linux/Documentation/scheduler/ |
| H A D | completion.rst | 9 to have reached a point or a specific state, completions can provide a 19 The advantage of using completions is that they have a well defined, focused 29 As completions are scheduling related, the code can be found in 36 There are three main parts to using completions: 42 There are also some helper functions for checking the state of completions. 48 To use completions you need to #include <linux/completion.h> and 71 Initializing completions: 141 Waiting for completions: 243 Signaling completions: 256 The signaling will work as expected even if completions are signaled before [all …]
|
| /linux/lib/dim/ |
| H A D | rdma_dim.c | 76 void rdma_dim(struct dim *dim, u64 completions) in rdma_dim() argument 83 curr_sample->comp_ctr + completions, in rdma_dim()
|
| /linux/tools/testing/selftests/net/ |
| H A D | msg_zerocopy.c | 98 static long packets, bytes, completions, expected_completions; variable 386 completions += do_process_zerocopy_cookies(ck); in do_recvmsg_completion() 461 completions += range; in do_recv_completion() 477 while (completions < expected_completions && in do_recv_remaining_completions() 483 if (completions < expected_completions) in do_recv_remaining_completions() 485 completions, expected_completions); in do_recv_remaining_completions() 576 packets, bytes >> 20, completions, in do_tx()
|
| /linux/fs/iomap/ |
| H A D | ioend.c | 355 u32 completions; in iomap_finish_ioends() local 360 completions = iomap_finish_ioend(ioend, error); in iomap_finish_ioends() 363 if (completions > IOEND_BATCH_SIZE * 8) { in iomap_finish_ioends() 365 completions = 0; in iomap_finish_ioends() 369 completions += iomap_finish_ioend(ioend, error); in iomap_finish_ioends()
|
| /linux/tools/testing/selftests/ublk/trace/ |
| H A D | count_ios_per_tid.bt | 2 * Tabulates and prints I/O completions per thread for the given device
|
| /linux/drivers/net/ethernet/microsoft/mana/ |
| H A D | hw_channel.c | 359 struct gdma_comp *completions; in mana_hwc_comp_event() local 365 completions = hwc_cq->comp_buf; in mana_hwc_comp_event() 366 comp_read = mana_gd_poll_cq(q_self, completions, hwc_cq->queue_depth); in mana_hwc_comp_event() 370 comp_data = *(struct hwc_rx_oob *)completions[i].cqe_data; in mana_hwc_comp_event() 372 if (completions[i].is_sq) in mana_hwc_comp_event() 374 completions[i].wq_num, in mana_hwc_comp_event() 378 completions[i].wq_num, in mana_hwc_comp_event()
|
| H A D | mana_en.c | 1911 struct gdma_comp *completions = cq->gdma_comp_buf; in mana_poll_tx_cq() local 1934 comp_read = mana_gd_poll_cq(cq->gdma_cq, completions, in mana_poll_tx_cq() 1945 if (WARN_ON_ONCE(!completions[i].is_sq)) in mana_poll_tx_cq() 1948 cqe_oob = (struct mana_tx_comp_oob *)completions[i].cqe_data; in mana_poll_tx_cq() 1985 if (WARN_ON_ONCE(txq->gdma_txq_id != completions[i].wq_num)) in mana_poll_tx_cq()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | Kconfig | 16 sdma completions for unit testing
|
| /linux/include/linux/raspberrypi/ |
| H A D | vchiq_arm.h | 83 struct vchiq_completion_data_kernel completions[MAX_COMPLETIONS]; member
|
| /linux/tools/power/cpupower/ |
| H A D | Makefile | 79 bash_completion_dir ?= /usr/share/bash-completion/completions
|
| /linux/Documentation/scsi/ |
| H A D | hpsa.rst | 37 command completions indicated by a single interrupt.
|
| H A D | scsi_eh.rst | 158 occur at any time. Of course, all such completions are ignored as the
|
| /linux/drivers/scsi/qedf/ |
| H A D | qedf_debugfs.c | 125 "#%d: %lu\n", id, fp->completions); in qedf_dbg_fp_int_cmd_read()
|
| /linux/Documentation/networking/device_drivers/ethernet/altera/ |
| H A D | altera_tse.rst | 97 completions until no more receive completions are available.
|
| /linux/tools/bpf/bpftool/ |
| H A D | Makefile | 66 bash_compdir ?= /usr/share/bash-completion/completions
|
| /linux/drivers/platform/raspberrypi/vchiq-interface/ |
| H A D | vchiq_dev.c | 490 completion = &instance->completions[remove & (MAX_COMPLETIONS - 1)]; in vchiq_ioc_await_completion() 1286 completion = &instance->completions[instance->completion_remove in vchiq_release()
|
| H A D | vchiq_arm.c | 678 completion = &instance->completions[insert & (MAX_COMPLETIONS - 1)]; in add_completion()
|
| /linux/Documentation/timers/ |
| H A D | hrtimers.rst | 54 evil to guarantee the processing of actual timeout completions
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_sli.c | 11896 LIST_HEAD(completions); in lpfc_sli_mbox_sys_flush() 11908 list_splice_init(&phba->sli.mboxq, &completions); in lpfc_sli_mbox_sys_flush() 11911 list_add_tail(&psli->mbox_active->list, &completions); in lpfc_sli_mbox_sys_flush() 11916 list_splice_init(&phba->sli.mboxq_cmpl, &completions); in lpfc_sli_mbox_sys_flush() 11923 while (!list_empty(&completions)) { in lpfc_sli_mbox_sys_flush() 11924 list_remove_head(&completions, pmb, LPFC_MBOXQ_t, list); in lpfc_sli_mbox_sys_flush() 11951 LIST_HEAD(completions); in lpfc_sli_host_down() 11984 list_move_tail(&iocb->list, &completions); in lpfc_sli_host_down() 12011 list_move_tail(&iocb->list, &completions); in lpfc_sli_host_down() 12030 lpfc_sli_cancel_iocbs(phba, &completions, IOSTAT_LOCAL_REJECT, in lpfc_sli_host_down() [all …]
|
| H A D | lpfc_bsg.c | 5809 LIST_HEAD(completions); in lpfc_bsg_timeout() 5853 list_move_tail(&check_iocb->list, &completions); in lpfc_bsg_timeout() 5857 if (list_empty(&completions)) in lpfc_bsg_timeout() 5860 if (!list_empty(&completions)) { in lpfc_bsg_timeout() 5861 lpfc_sli_cancel_iocbs(phba, &completions, in lpfc_bsg_timeout()
|
| H A D | lpfc_init.c | 1015 LIST_HEAD(completions); in lpfc_hba_clean_txcmplq() 1027 list_splice_init(&pring->txcmplq, &completions); in lpfc_hba_clean_txcmplq() 1034 lpfc_sli_cancel_iocbs(phba, &completions, in lpfc_hba_clean_txcmplq() 1046 list_splice_init(&pring->txcmplq, &completions); in lpfc_hba_clean_txcmplq() 1052 lpfc_sli_cancel_iocbs(phba, &completions, in lpfc_hba_clean_txcmplq() 1518 LIST_HEAD(completions); in lpfc_hb_timeout_handler() 1541 list_splice_init(&phba->elsbuf, &completions); in lpfc_hb_timeout_handler() 1546 while (!list_empty(&completions)) { in lpfc_hb_timeout_handler() 1547 list_remove_head(&completions, buf_ptr, in lpfc_hb_timeout_handler()
|
| /linux/Documentation/target/ |
| H A D | tcmu-design.rst | 188 capable of handling out-of-order completions. In this case, userspace can
|
| /linux/Documentation/arch/x86/ |
| H A D | sva.rst | 213 submitting work and processing completions.
|
| /linux/Documentation/networking/devlink/ |
| H A D | mlx5.rst | 303 - rx completions with errors (reported by HW on interrupt context)
|
| /linux/Documentation/networking/device_drivers/ethernet/amazon/ |
| H A D | ena.rst | 393 out-of-order Tx completions.
|