| /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/fs/iomap/ |
| H A D | ioend.c | 348 u32 completions; in iomap_finish_ioends() local 353 completions = iomap_finish_ioend(ioend, error); in iomap_finish_ioends() 356 if (completions > IOEND_BATCH_SIZE * 8) { in iomap_finish_ioends() 358 completions = 0; in iomap_finish_ioends() 362 completions += iomap_finish_ioend(ioend, error); in iomap_finish_ioends()
|
| /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/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/drivers/net/ethernet/microsoft/mana/ |
| H A D | hw_channel.c | 350 struct gdma_comp *completions; in mana_hwc_comp_event() local 356 completions = hwc_cq->comp_buf; in mana_hwc_comp_event() 357 comp_read = mana_gd_poll_cq(q_self, completions, hwc_cq->queue_depth); in mana_hwc_comp_event() 361 comp_data = *(struct hwc_rx_oob *)completions[i].cqe_data; in mana_hwc_comp_event() 363 if (completions[i].is_sq) in mana_hwc_comp_event() 365 completions[i].wq_num, in mana_hwc_comp_event() 369 completions[i].wq_num, in mana_hwc_comp_event()
|
| H A D | mana_en.c | 1776 struct gdma_comp *completions = cq->gdma_comp_buf; in mana_poll_tx_cq() local 1798 comp_read = mana_gd_poll_cq(cq->gdma_cq, completions, in mana_poll_tx_cq() 1809 if (WARN_ON_ONCE(!completions[i].is_sq)) in mana_poll_tx_cq() 1812 cqe_oob = (struct mana_tx_comp_oob *)completions[i].cqe_data; in mana_poll_tx_cq() 1849 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 D | count_ios_per_tid.bt | 2 * Tabulates and prints I/O completions per thread for the given device
|
| /linux/mm/ |
| H A D | page-writeback.c | 127 .wb_completions = &(__wb)->completions 186 .wb_completions = &(__wb)->completions 551 struct fprop_local_percpu *completions, in wb_domain_writeout_add() argument 554 __fprop_add_percpu_max(&dom->completions, completions, in wb_domain_writeout_add() 578 wb_domain_writeout_add(&global_wb_domain, &wb->completions, in __wb_writeout_add() 607 if (fprop_new_period(&dom->completions, miss_periods + 1)) { in writeout_period() 630 return fprop_global_init(&dom->completions, gfp); in wb_domain_init() 637 fprop_global_destroy(&dom->completions); in wb_domain_exit() 905 fprop_fraction_percpu(&dom->completions, dtc->wb_completions, in __wb_calc_thresh()
|
| /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/drivers/crypto/caam/ |
| H A D | Kconfig | 81 Select number of descriptor completions to queue before 93 more descriptor completions are queued without reaching the count
|
| /linux/tools/power/cpupower/ |
| H A D | Makefile | 79 bash_completion_dir ?= /usr/share/bash-completion/completions
|
| /linux/Documentation/networking/ |
| H A D | driver.rst | 112 Timely 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 | 65 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()
|
| /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 | 11891 LIST_HEAD(completions); in lpfc_sli_mbox_sys_flush() 11903 list_splice_init(&phba->sli.mboxq, &completions); in lpfc_sli_mbox_sys_flush() 11906 list_add_tail(&psli->mbox_active->list, &completions); in lpfc_sli_mbox_sys_flush() 11911 list_splice_init(&phba->sli.mboxq_cmpl, &completions); in lpfc_sli_mbox_sys_flush() 11918 while (!list_empty(&completions)) { in lpfc_sli_mbox_sys_flush() 11919 list_remove_head(&completions, pmb, LPFC_MBOXQ_t, list); in lpfc_sli_mbox_sys_flush() 11946 LIST_HEAD(completions); in lpfc_sli_host_down() 11979 list_move_tail(&iocb->list, &completions); in lpfc_sli_host_down() 12006 list_move_tail(&iocb->list, &completions); in lpfc_sli_host_down() 12025 lpfc_sli_cancel_iocbs(phba, &completions, IOSTAT_LOCAL_REJECT, in lpfc_sli_host_down() [all …]
|
| H A D | lpfc_bsg.c | 5811 LIST_HEAD(completions); in lpfc_bsg_timeout() 5855 list_move_tail(&check_iocb->list, &completions); in lpfc_bsg_timeout() 5859 if (list_empty(&completions)) in lpfc_bsg_timeout() 5862 if (!list_empty(&completions)) { in lpfc_bsg_timeout() 5863 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.
|