Home
last modified time | relevance | path

Searched refs:completions (Results 1 – 25 of 32) 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/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/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/fs/iomap/
H A Dioend.c319 u32 completions; in iomap_finish_ioends() local
324 completions = iomap_finish_ioend(ioend, error); in iomap_finish_ioends()
327 if (completions > IOEND_BATCH_SIZE * 8) { in iomap_finish_ioends()
329 completions = 0; in iomap_finish_ioends()
333 completions += iomap_finish_ioend(ioend, error); in iomap_finish_ioends()
/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.c1940 struct gdma_comp *completions = cq->gdma_comp_buf; in mana_poll_tx_cq() local
1963 comp_read = mana_gd_poll_cq(cq->gdma_cq, completions, in mana_poll_tx_cq()
1974 if (WARN_ON_ONCE(!completions[i].is_sq)) in mana_poll_tx_cq()
1977 cqe_oob = (struct mana_tx_comp_oob *)completions[i].cqe_data; in mana_poll_tx_cq()
2014 if (WARN_ON_ONCE(txq->gdma_txq_id != completions[i].wq_num)) in mana_poll_tx_cq()
/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/mm/
H A Dpage-writeback.c126 .wb_completions = &(__wb)->completions
185 .wb_completions = &(__wb)->completions
550 struct fprop_local_percpu *completions, in wb_domain_writeout_add() argument
553 __fprop_add_percpu_max(&dom->completions, completions, in wb_domain_writeout_add()
577 wb_domain_writeout_add(&global_wb_domain, &wb->completions, in __wb_writeout_add()
596 if (fprop_new_period(&dom->completions, miss_periods + 1)) { in writeout_period()
619 return fprop_global_init(&dom->completions, gfp); in wb_domain_init()
626 fprop_global_destroy(&dom->completions); in wb_domain_exit()
894 fprop_fraction_percpu(&dom->completions, dtc->wb_completions, in __wb_calc_thresh()
H A Dbacking-dev.c542 err = fprop_local_init_percpu(&wb->completions, gfp); in wb_init()
548 fprop_local_destroy_percpu(&wb->completions); in wb_init()
584 fprop_local_destroy_percpu(&wb->completions); in wb_exit()
/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/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/tools/bpf/bpftool/
H A DMakefile66 bash_compdir ?= /usr/share/bash-completion/completions
/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.

12