Home
last modified time | relevance | path

Searched refs:inflight (Results 1 – 25 of 53) sorted by relevance

123

/Linux-v5.15/include/trace/events/
Dpage_pool.h17 s32 inflight, u32 hold, u32 release),
19 TP_ARGS(pool, inflight, hold, release),
23 __field(s32, inflight)
31 __entry->inflight = inflight;
38 __entry->pool, __entry->inflight, __entry->hold,
Dwbt.h132 int step, unsigned int inflight),
134 TP_ARGS(bdi, status, step, inflight),
140 __field(unsigned int, inflight)
148 __entry->inflight = inflight;
152 __entry->status, __entry->step, __entry->inflight)
/Linux-v5.15/block/
Dgenhd.c145 unsigned int inflight = 0; in part_in_flight() local
149 inflight += part_stat_local_read_cpu(part, in_flight[0], cpu) + in part_in_flight()
152 if ((int)inflight < 0) in part_in_flight()
153 inflight = 0; in part_in_flight()
155 return inflight; in part_in_flight()
159 unsigned int inflight[2]) in part_in_flight_rw()
163 inflight[0] = 0; in part_in_flight_rw()
164 inflight[1] = 0; in part_in_flight_rw()
166 inflight[0] += part_stat_local_read_cpu(part, in_flight[0], cpu); in part_in_flight_rw()
167 inflight[1] += part_stat_local_read_cpu(part, in_flight[1], cpu); in part_in_flight_rw()
[all …]
Dblk-wbt.c131 int inflight, limit; in wbt_rqw_done() local
133 inflight = atomic_dec_return(&rqw->inflight); in wbt_rqw_done()
159 if (inflight && inflight >= limit) in wbt_rqw_done()
163 int diff = limit - inflight; in wbt_rqw_done()
165 if (!inflight || diff >= rwb->wb_background / 2) in wbt_rqw_done()
357 unsigned int inflight = wbt_inflight(rwb); in wb_timer_fn() local
363 inflight); in wb_timer_fn()
405 if (rqd->scale_step || inflight) in wb_timer_fn()
749 atomic_read(&rwb->rq_wait[i].inflight)); in wbt_inflight_show()
Dblk-iolatency.c270 atomic_dec(&rqw->inflight); in iolat_cleanup_cb()
299 atomic_inc(&rqw->inflight); in __blkcg_iolatency_throttle()
597 int inflight = 0; in blkcg_iolatency_done_bio() local
620 inflight = atomic_dec_return(&rqw->inflight); in blkcg_iolatency_done_bio()
621 WARN_ON_ONCE(inflight < 0); in blkcg_iolatency_done_bio()
Dblk-rq-qos.h25 atomic_t inflight; member
85 atomic_set(&rq_wait->inflight, 0); in rq_wait_init()
Dblk-wbt.h83 ret += atomic_read(&rwb->rq_wait[i].inflight); in wbt_inflight()
/Linux-v5.15/net/core/
Dpage_pool.c334 s32 inflight; in page_pool_inflight() local
336 inflight = _distance(hold_cnt, release_cnt); in page_pool_inflight()
338 trace_page_pool_release(pool, inflight, hold_cnt, release_cnt); in page_pool_inflight()
339 WARN(inflight < 0, "Negative(%d) inflight packet-pages", inflight); in page_pool_inflight()
341 return inflight; in page_pool_inflight()
661 int inflight; in page_pool_release() local
664 inflight = page_pool_inflight(pool); in page_pool_release()
665 if (!inflight) in page_pool_release()
668 return inflight; in page_pool_release()
675 int inflight; in page_pool_release_retry() local
[all …]
/Linux-v5.15/net/unix/
Dgarbage.c169 atomic_long_dec(&usk->inflight); in dec_inflight()
174 atomic_long_inc(&usk->inflight); in inc_inflight()
179 atomic_long_inc(&u->inflight); in inc_inflight_move_tail()
237 inflight_refs = atomic_long_read(&u->inflight); in unix_gc()
268 if (atomic_long_read(&u->inflight) > 0) { in unix_gc()
Dscm.c57 if (atomic_long_inc_return(&u->inflight) == 1) { in unix_inflight()
78 BUG_ON(!atomic_long_read(&u->inflight)); in unix_notinflight()
81 if (atomic_long_dec_and_test(&u->inflight)) in unix_notinflight()
/Linux-v5.15/drivers/crypto/chelsio/
Dchcr_core.c56 if (atomic_read(&dev->inflight)) { in detach_work_fn()
60 atomic_read(&dev->inflight)); in detach_work_fn()
65 atomic_read(&dev->inflight)); in detach_work_fn()
103 atomic_set(&dev->inflight, 0); in chcr_dev_add()
122 atomic_set(&dev->inflight, 0); in chcr_dev_init()
232 if (atomic_read(&dev->inflight) != 0) { in chcr_detach_device()
Dchcr_core.h99 atomic_t inflight; member
/Linux-v5.15/tools/io_uring/
Dio_uring-bench.c80 int inflight; member
272 s->inflight -= reaped; in reap_events()
292 if (!prepped && s->inflight < DEPTH) { in submitter_fn()
293 to_prep = min(DEPTH - s->inflight, BATCH_SUBMIT); in submitter_fn()
296 s->inflight += prepped; in submitter_fn()
300 if (to_submit && (s->inflight + to_submit <= DEPTH)) in submitter_fn()
303 to_wait = min(s->inflight + to_submit, BATCH_COMPLETE); in submitter_fn()
341 if (s->inflight) in submitter_fn()
581 this_done - done, rpc, ipc, s->inflight, in main()
/Linux-v5.15/drivers/gpu/drm/i915/gt/
Dintel_context_types.h78 struct intel_engine_cs *inflight; member
82 __intel_context_inflight(READ_ONCE((ce)->inflight))
84 __intel_context_inflight_count(READ_ONCE((ce)->inflight))
Dintel_execlists_submission.c533 old = ce->inflight; in execlists_schedule_in()
536 WRITE_ONCE(ce->inflight, ptr_inc(old)); in execlists_schedule_in()
597 GEM_BUG_ON(ce->inflight != engine); in __execlists_schedule_out()
644 WRITE_ONCE(ce->inflight, NULL); in __execlists_schedule_out()
654 GEM_BUG_ON(!ce->inflight); in execlists_schedule_out()
655 ce->inflight = ptr_dec(ce->inflight); in execlists_schedule_out()
656 if (!__intel_context_inflight_count(ce->inflight)) in execlists_schedule_out()
983 const struct intel_engine_cs *inflight; in virtual_matches() local
1000 inflight = intel_context_inflight(&ve->context); in virtual_matches()
1001 if (inflight && inflight != engine) in virtual_matches()
[all …]
Dintel_timeline.c420 unsigned long count, ready, inflight; in intel_gt_show_timelines() local
437 inflight = 0; in intel_gt_show_timelines()
446 inflight++; in intel_gt_show_timelines()
451 count, ready, inflight); in intel_gt_show_timelines()
/Linux-v5.15/net/atm/
Dpppoatm.c64 atomic_t inflight; member
139 atomic_dec(&pvcc->inflight); in pppoatm_pop()
244 atomic_inc_not_zero(&pvcc->inflight)) in pppoatm_may_send()
274 atomic_inc_not_zero(&pvcc->inflight)) in pppoatm_may_send()
406 atomic_set(&pvcc->inflight, NONE_INFLIGHT); in pppoatm_assign_vcc()
/Linux-v5.15/drivers/infiniband/ulp/rtrs/
Drtrs-clt-stats.c100 atomic_read(&stats->inflight), sum.failover_cnt); in rtrs_clt_stats_rdma_to_str()
157 atomic_set(&s->inflight, 0); in rtrs_clt_reset_all_stats()
184 atomic_inc(&stats->inflight); in rtrs_clt_update_all_stats()
DREADME100 corresponding path is disconnected, all the inflight IO are failed over to a
131 inflight IO and for the error code.
149 inflight IO and for the error code. The new rkey is sent back using
171 outstanding inflight IO and the error code.
192 outstanding inflight IO and the error code. The new rkey is sent back using
/Linux-v5.15/net/ipv4/
Dtcp_bbr.c412 u32 inflight; in bbr_inflight() local
414 inflight = bbr_bdp(sk, bw, gain); in bbr_inflight()
415 inflight = bbr_quantization_budget(sk, inflight); in bbr_inflight()
417 return inflight; in bbr_inflight()
559 u32 inflight, bw; in bbr_is_next_cycle_phase() local
567 inflight = bbr_packets_in_net_at_edt(sk, rs->prior_in_flight); in bbr_is_next_cycle_phase()
578 inflight >= bbr_inflight(sk, bw, bbr->pacing_gain)); in bbr_is_next_cycle_phase()
585 inflight <= bbr_inflight(sk, bw, BBR_UNIT); in bbr_is_next_cycle_phase()
/Linux-v5.15/drivers/vhost/
Dscsi.c99 struct vhost_scsi_inflight *inflight; member
210 struct vhost_scsi_inflight *inflight; member
235 struct vhost_scsi_inflight *inflight; in vhost_scsi_done_inflight() local
237 inflight = container_of(kref, struct vhost_scsi_inflight, kref); in vhost_scsi_done_inflight()
238 complete(&inflight->comp); in vhost_scsi_done_inflight()
271 struct vhost_scsi_inflight *inflight; in vhost_scsi_get_inflight() local
275 inflight = &svq->inflights[svq->inflight_idx]; in vhost_scsi_get_inflight()
276 kref_get(&inflight->kref); in vhost_scsi_get_inflight()
278 return inflight; in vhost_scsi_get_inflight()
281 static void vhost_scsi_put_inflight(struct vhost_scsi_inflight *inflight) in vhost_scsi_put_inflight() argument
[all …]
/Linux-v5.15/Documentation/networking/
Dpage_pool.rst14 API keeps track of inflight pages, in order to let API user know
22 release the DMA mapping and inflight state accounting.
91 inflight counters.
/Linux-v5.15/drivers/crypto/cavium/cpt/
Dcpt_hw_types.h443 u64 inflight:8; member
445 u64 inflight:8;
/Linux-v5.15/Documentation/devicetree/bindings/net/
Dbrcm,bcm7445-switch-v4.0.txt34 brcm,acb-packets-inflight;
/Linux-v5.15/net/sctp/
Doutput.c671 size_t datasize, rwnd, inflight, flight_size; in sctp_packet_can_append_data() local
690 inflight = q->outstanding_bytes; in sctp_packet_can_append_data()
695 if (datasize > rwnd && inflight > 0) in sctp_packet_can_append_data()
723 if ((sctp_sk(asoc->base.sk)->nodelay || inflight == 0) && in sctp_packet_can_append_data()

123