| /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 | 330 u32 completions; in iomap_finish_ioends() local 335 completions = iomap_finish_ioend(ioend, error); in iomap_finish_ioends() 338 if (completions > IOEND_BATCH_SIZE * 8) { in iomap_finish_ioends() 340 completions = 0; in iomap_finish_ioends() 344 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 | 1755 struct gdma_comp *completions = cq->gdma_comp_buf; in mana_poll_tx_cq() local 1777 comp_read = mana_gd_poll_cq(cq->gdma_cq, completions, in mana_poll_tx_cq() 1788 if (WARN_ON_ONCE(!completions[i].is_sq)) in mana_poll_tx_cq() 1791 cqe_oob = (struct mana_tx_comp_oob *)completions[i].cqe_data; in mana_poll_tx_cq() 1828 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 in wb_min_max_ratio() 551 struct fprop_local_percpu *completions, in wp_next_time() 554 __fprop_add_percpu_max(&dom->completions, completions, in wp_next_time() 578 wb_domain_writeout_add(&global_wb_domain, &wb->completions, 607 if (fprop_new_period(&dom->completions, miss_periods + 1)) { 630 return fprop_global_init(&dom->completions, gfp); in wb_domain_init() 637 fprop_global_destroy(&dom->completions); in wb_domain_init() 905 fprop_fraction_percpu(&dom->completions, dt in __wb_calc_thresh() 559 wb_domain_writeout_add(struct wb_domain * dom,struct fprop_local_percpu * completions,unsigned int max_prop_frac,long nr) wb_domain_writeout_add() argument [all...] |
| H A D | backing-dev.c | 542 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 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/include/linux/ |
| H A D | writeback.h | 127 * on page writeback completions [end_page_writeback()]. Those 131 * We use page writeout completions because we are interested in 137 * of this period itself is measured in page writeback completions. 139 struct fprop_global completions; member 140 struct timer_list period_timer; /* timer for aging of 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.
|
| /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/drivers/scsi/lpfc/ |
| H A D | lpfc_hbadisc.c | 5135 LIST_HEAD(completions); in lpfc_no_rpi() 5145 lpfc_sli3_dequeue_nport_iocbs(phba, ndlp, &completions); in lpfc_no_rpi() 5147 lpfc_sli4_dequeue_nport_iocbs(phba, ndlp, &completions); in lpfc_no_rpi() 5151 lpfc_sli_cancel_iocbs(phba, &completions, IOSTAT_LOCAL_REJECT, in lpfc_no_rpi() 5952 LIST_HEAD(completions); in lpfc_free_tx() 5974 list_move_tail(&iocb->list, &completions); in lpfc_free_tx() 5996 lpfc_sli_cancel_iocbs(phba, &completions, IOSTAT_LOCAL_REJECT, in lpfc_free_tx()
|
| H A D | lpfc_sli.c | 11924 LIST_HEAD(completions); in lpfc_sli_mbox_sys_flush() 11936 list_splice_init(&phba->sli.mboxq, &completions); in lpfc_sli_mbox_sys_flush() 11939 list_add_tail(&psli->mbox_active->list, &completions); in lpfc_sli_mbox_sys_flush() 11944 list_splice_init(&phba->sli.mboxq_cmpl, &completions); in lpfc_sli_mbox_sys_flush() 11951 while (!list_empty(&completions)) { in lpfc_sli_mbox_sys_flush() 11952 list_remove_head(&completions, pmb, LPFC_MBOXQ_t, list); in lpfc_sli_mbox_sys_flush() 11979 LIST_HEAD(completions); in lpfc_sli_host_down() 12012 list_move_tail(&iocb->list, &completions); in lpfc_sli_host_down() 12039 list_move_tail(&iocb->list, &completions); in lpfc_sli_host_down() 12058 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_els.c | 12018 LIST_HEAD(completions); in lpfc_fabric_abort_vport() 12029 list_move_tail(&piocb->list, &completions); in lpfc_fabric_abort_vport() 12034 lpfc_sli_cancel_iocbs(phba, &completions, IOSTAT_LOCAL_REJECT, in lpfc_fabric_abort_vport() 12051 LIST_HEAD(completions); in lpfc_fabric_abort_nport() 12066 list_move_tail(&piocb->list, &completions); in lpfc_fabric_abort_nport() 12072 lpfc_sli_cancel_iocbs(phba, &completions, IOSTAT_LOCAL_REJECT, in lpfc_fabric_abort_nport() 12089 LIST_HEAD(completions); in lpfc_fabric_abort_hba() 12092 list_splice_init(&phba->fabric_iocb_list, &completions); in lpfc_fabric_abort_hba() 12096 lpfc_sli_cancel_iocbs(phba, &completions, IOSTAT_LOCAL_REJECT, in lpfc_fabric_abort_hba()
|
| /linux/Documentation/timers/ |
| H A D | hrtimers.rst | 54 evil to guarantee the processing of actual timeout completions
|