Home
last modified time | relevance | path

Searched refs:completions (Results 1 – 25 of 29) sorted by relevance

12

/linux/Documentation/scheduler/
H A Dcompletion.rst9 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 Drdma_dim.c76 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 Dmsg_zerocopy.c98 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 Dioend.c355 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 Dcount_ios_per_tid.bt2 * Tabulates and prints I/O completions per thread for the given device
/linux/drivers/net/ethernet/microsoft/mana/
H A Dhw_channel.c359 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 Dmana_en.c1911 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 DKconfig16 sdma completions for unit testing
/linux/include/linux/raspberrypi/
H A Dvchiq_arm.h83 struct vchiq_completion_data_kernel completions[MAX_COMPLETIONS]; member
/linux/tools/power/cpupower/
H A DMakefile79 bash_completion_dir ?= /usr/share/bash-completion/completions
/linux/Documentation/scsi/
H A Dhpsa.rst37 command completions indicated by a single interrupt.
H A Dscsi_eh.rst158 occur at any time. Of course, all such completions are ignored as the
/linux/drivers/scsi/qedf/
H A Dqedf_debugfs.c125 "#%d: %lu\n", id, fp->completions); in qedf_dbg_fp_int_cmd_read()
/linux/Documentation/networking/device_drivers/ethernet/altera/
H A Daltera_tse.rst97 completions until no more receive completions are available.
/linux/tools/bpf/bpftool/
H A DMakefile66 bash_compdir ?= /usr/share/bash-completion/completions
/linux/drivers/platform/raspberrypi/vchiq-interface/
H A Dvchiq_dev.c490 completion = &instance->completions[remove & (MAX_COMPLETIONS - 1)]; in vchiq_ioc_await_completion()
1286 completion = &instance->completions[instance->completion_remove in vchiq_release()
H A Dvchiq_arm.c678 completion = &instance->completions[insert & (MAX_COMPLETIONS - 1)]; in add_completion()
/linux/Documentation/timers/
H A Dhrtimers.rst54 evil to guarantee the processing of actual timeout completions
/linux/drivers/scsi/lpfc/
H A Dlpfc_sli.c11896 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 Dlpfc_bsg.c5809 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 Dlpfc_init.c1015 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 Dtcmu-design.rst188 capable of handling out-of-order completions. In this case, userspace can
/linux/Documentation/arch/x86/
H A Dsva.rst213 submitting work and processing completions.
/linux/Documentation/networking/devlink/
H A Dmlx5.rst303 - rx completions with errors (reported by HW on interrupt context)
/linux/Documentation/networking/device_drivers/ethernet/amazon/
H A Dena.rst393 out-of-order Tx completions.

12