Home
last modified time | relevance | path

Searched refs:in_flight (Results 1 – 25 of 46) sorted by relevance

12

/Linux-v6.6/drivers/md/
Ddm-io-tracker.h19 sector_t in_flight; member
32 iot->in_flight = 0ul; in dm_iot_init()
42 if (!iot->in_flight) in dm_iot_idle_for()
54 if (!iot->in_flight) in dm_iot_idle_time()
64 iot->in_flight += len; in dm_iot_io_begin()
76 iot->in_flight -= len; in dm_iot_io_end()
77 if (!iot->in_flight) in dm_iot_io_end()
Ddm-stats.c37 atomic_t in_flight[2]; member
187 return atomic_read(&shared->in_flight[READ]) + in dm_stat_in_flight()
188 atomic_read(&shared->in_flight[WRITE]); in dm_stat_in_flight()
230 atomic_read(&shared->in_flight[READ]), in dm_stats_cleanup()
231 atomic_read(&shared->in_flight[WRITE])); in dm_stats_cleanup()
337 atomic_set(&s->stat_shared[ni].in_flight[READ], 0); in dm_stats_create()
338 atomic_set(&s->stat_shared[ni].in_flight[WRITE], 0); in dm_stats_create()
540 in_flight_read = (unsigned int)atomic_read(&shared->in_flight[READ]); in dm_stat_round()
541 in_flight_write = (unsigned int)atomic_read(&shared->in_flight[WRITE]); in dm_stat_round()
587 atomic_inc(&shared->in_flight[idx]); in dm_stat_for_entry()
[all …]
Ddm-integrity.c309 atomic_t in_flight; member
319 atomic_t in_flight; member
886 BUG_ON(!atomic_read(&comp->in_flight)); in complete_journal_op()
887 if (likely(atomic_dec_and_test(&comp->in_flight))) in complete_journal_op()
909 atomic_add(roundup(pl_offset + n_bytes, PAGE_SIZE) >> PAGE_SHIFT, &comp->in_flight); in xor_journal()
992 atomic_add(2, &comp->in_flight); in crypt_journal()
1020 atomic_inc(&comp->in_flight); in crypt_journal()
1026 atomic_dec(&comp->in_flight); in crypt_journal()
1118 io_comp.in_flight = (atomic_t)ATOMIC_INIT(1); in write_journal()
1122 crypt_comp_1.in_flight = (atomic_t)ATOMIC_INIT(0); in write_journal()
[all …]
/Linux-v6.6/drivers/mmc/core/
Dqueue.h81 int in_flight[MMC_ISSUE_MAX]; member
111 return mq->in_flight[MMC_ISSUE_SYNC] + in mmc_tot_in_flight()
112 mq->in_flight[MMC_ISSUE_DCMD] + in mmc_tot_in_flight()
113 mq->in_flight[MMC_ISSUE_ASYNC]; in mmc_tot_in_flight()
118 return mq->in_flight[MMC_ISSUE_DCMD] + in mmc_cqe_qcnt()
119 mq->in_flight[MMC_ISSUE_ASYNC]; in mmc_cqe_qcnt()
Dqueue.c29 return mq->in_flight[MMC_ISSUE_DCMD]; in mmc_cqe_dcmd_busy()
267 if (host->hsq_enabled && mq->in_flight[issue_type] > 2) { in mmc_mq_queue_rq()
287 mq->in_flight[issue_type] += 1; in mmc_mq_queue_rq()
326 mq->in_flight[issue_type] -= 1; in mmc_mq_queue_rq()
/Linux-v6.6/fs/smb/client/
Dtransport.c496 int scredits, in_flight; in wait_for_free_credits() local
515 server->in_flight++; in wait_for_free_credits()
516 if (server->in_flight > server->max_in_flight) in wait_for_free_credits()
517 server->max_in_flight = server->in_flight; in wait_for_free_credits()
521 in_flight = server->in_flight; in wait_for_free_credits()
525 server->conn_id, server->hostname, scredits, -1, in_flight); in wait_for_free_credits()
554 in_flight = server->in_flight; in wait_for_free_credits()
559 num_credits, in_flight); in wait_for_free_credits()
582 server->in_flight > 2 * MAX_COMPOUND && in wait_for_free_credits()
596 in_flight = server->in_flight; in wait_for_free_credits()
[all …]
Dsmb2ops.c71 int scredits, in_flight; in smb2_add_credits() local
94 add, server->in_flight); in smb2_add_credits()
96 WARN_ON_ONCE(server->in_flight == 0); in smb2_add_credits()
97 server->in_flight--; in smb2_add_credits()
98 if (server->in_flight == 0 && in smb2_add_credits()
106 else if (server->in_flight > 0 && server->oplock_credits == 0 && in smb2_add_credits()
112 } else if ((server->in_flight > 0) && (server->oplock_credits > 3) && in smb2_add_credits()
118 in_flight = server->in_flight; in smb2_add_credits()
124 server->conn_id, server->hostname, scredits, add, in_flight); in smb2_add_credits()
132 server->conn_id, server->hostname, scredits, add, in_flight); in smb2_add_credits()
[all …]
Dtrace.h1034 int in_flight),
1035 TP_ARGS(currmid, conn_id, hostname, credits, credits_to_add, in_flight),
1042 __field(int, in_flight)
1050 __entry->in_flight = in_flight;
1059 __entry->in_flight)
1069 int in_flight), \
1070 TP_ARGS(currmid, conn_id, hostname, credits, credits_to_add, in_flight))
/Linux-v6.6/fs/fuse/
Dvirtio_fs.c51 long in_flight; member
90 struct fuse_req *req, bool in_flight);
152 fsvq->in_flight++; in inc_in_flight_req()
158 WARN_ON(fsvq->in_flight <= 0); in dec_in_flight_req()
159 fsvq->in_flight--; in dec_in_flight_req()
160 if (!fsvq->in_flight) in dec_in_flight_req()
189 WARN_ON(fsvq->in_flight < 0); in virtio_fs_drain_queue()
193 if (fsvq->in_flight) { in virtio_fs_drain_queue()
413 bool in_flight) in send_forget_request() argument
423 if (in_flight) in send_forget_request()
[all …]
/Linux-v6.6/drivers/usb/serial/
Dusb_wwan.c185 intfdata->in_flight++; in usb_wwan_write()
194 intfdata->in_flight--; in usb_wwan_write()
270 intfdata->in_flight--; in usb_wwan_outdat_callback()
551 if (intfdata->in_flight) { in usb_wwan_suspend()
591 data->in_flight++; in usb_wwan_submit_delayed_urbs()
Dsierra.c56 int in_flight; member
408 --intfdata->in_flight; in sierra_outdat_callback()
496 intfdata->in_flight++; in sierra_write()
936 if (intfdata->in_flight) { in sierra_suspend()
966 intfdata->in_flight++; in sierra_submit_delayed_urbs()
972 intfdata->in_flight--; in sierra_submit_delayed_urbs()
Dusb-wwan.h38 int in_flight; member
/Linux-v6.6/drivers/block/drbd/
Ddrbd_bitmap.c970 if (atomic_dec_and_test(&ctx->in_flight)) { in drbd_bm_endio()
1022 if (atomic_dec_and_test(&ctx->in_flight)) { in bm_page_io_async()
1088 .in_flight = ATOMIC_INIT(1), in bm_rw()
1118 atomic_inc(&ctx->in_flight); in bm_rw()
1137 atomic_inc(&ctx->in_flight); in bm_rw()
1158 atomic_inc(&ctx->in_flight); in bm_rw()
1173 if (!atomic_dec_and_test(&ctx->in_flight)) in bm_rw()
1194 if (atomic_read(&ctx->in_flight)) in bm_rw()
Ddrbd_debugfs.c195 unsigned int in_flight; in seq_print_device_bitmap_io() local
203 in_flight = atomic_read(&ctx->in_flight); in seq_print_device_bitmap_io()
212 in_flight); in seq_print_device_bitmap_io()
/Linux-v6.6/include/linux/
Dpart_stat.h14 local_t in_flight[2]; member
/Linux-v6.6/drivers/firmware/arm_scmi/
Dnotify.c302 void *in_flight; member
475 pd->in_flight = NULL; in scmi_process_event_payload()
552 if (!pd->in_flight) { in scmi_events_dispatcher()
556 pd->in_flight = r_evt; in scmi_events_dispatcher()
558 r_evt = pd->in_flight; in scmi_events_dispatcher()
/Linux-v6.6/net/ipv4/
Dtcp_nv.c268 if (sample->in_flight == 0) in tcpnv_acked()
287 rate64 = ((u64)sample->in_flight) * 80000; in tcpnv_acked()
/Linux-v6.6/Documentation/block/
Dstat.rst37 in_flight requests number of I/Os currently in flight
84 in_flight chapter
/Linux-v6.6/drivers/scsi/
Dst.h99 atomic64_t in_flight; /* Number of I/Os in flight */ member
/Linux-v6.6/drivers/misc/genwqe/
Dcard_ddcb.c1344 int i, rc = 0, in_flight; in genwqe_finish_queue() local
1362 in_flight = genwqe_ddcbs_in_flight(cd); in genwqe_finish_queue()
1364 if (in_flight == 0) in genwqe_finish_queue()
1369 i, waitmax, in_flight); in genwqe_finish_queue()
/Linux-v6.6/drivers/usb/host/
Dxen-hcd.c54 bool in_flight; member
722 if (!shadow->in_flight) { in xenhcd_gnttab_done()
726 shadow->in_flight = false; in xenhcd_gnttab_done()
811 info->shadow[id].in_flight = true; in xenhcd_do_request()
1492 info->shadow[i].in_flight = false; in xenhcd_create_hcd()
/Linux-v6.6/drivers/thunderbolt/
Dnhi.c246 list_move_tail(&frame->list, &ring->in_flight); in ring_write_descriptors()
285 list_splice_tail_init(&ring->in_flight, &done); in ring_work()
295 frame = list_first_entry(&ring->in_flight, typeof(*frame), in ring_work()
361 frame = list_first_entry(&ring->in_flight, typeof(*frame), in tb_ring_poll()
593 INIT_LIST_HEAD(&ring->in_flight); in tb_ring_alloc()
/Linux-v6.6/drivers/scsi/fnic/
Dfnic_scsi.c207 while (atomic_read(&fnic->in_flight)) in fnic_fw_reset_handler()
480 atomic_inc(&fnic->in_flight); in fnic_queuecommand_lck()
571 atomic_dec(&fnic->in_flight); in fnic_queuecommand_lck()
600 atomic_dec(&fnic->in_flight); in fnic_queuecommand_lck()
1516 atomic_inc(&fnic->in_flight); in fnic_queue_abort_io_req()
1526 atomic_dec(&fnic->in_flight); in fnic_queue_abort_io_req()
1543 atomic_dec(&fnic->in_flight); in fnic_queue_abort_io_req()
1968 atomic_inc(&fnic->in_flight); in fnic_queue_dr_io_req()
2001 atomic_dec(&fnic->in_flight); in fnic_queue_dr_io_req()
/Linux-v6.6/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h137 __u32 in_flight; member
/Linux-v6.6/block/
Dgenhd.c127 inflight += part_stat_local_read_cpu(part, in_flight[0], cpu) + in part_in_flight()
128 part_stat_local_read_cpu(part, in_flight[1], cpu); in part_in_flight()
144 inflight[0] += part_stat_local_read_cpu(part, in_flight[0], cpu); in part_in_flight_rw()
145 inflight[1] += part_stat_local_read_cpu(part, in_flight[1], cpu); in part_in_flight_rw()

12