Searched refs:inflight (Results 1 – 8 of 8) sorted by relevance
/block/ |
D | genhd.c | 123 unsigned int inflight = 0; in part_in_flight() local 127 inflight += part_stat_local_read_cpu(part, in_flight[0], cpu) + in part_in_flight() 130 if ((int)inflight < 0) in part_in_flight() 131 inflight = 0; in part_in_flight() 133 return inflight; in part_in_flight() 137 unsigned int inflight[2]) in part_in_flight_rw() 141 inflight[0] = 0; in part_in_flight_rw() 142 inflight[1] = 0; in part_in_flight_rw() 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() [all …]
|
D | blk-wbt.c | 199 int inflight, limit; in wbt_rqw_done() local 201 inflight = atomic_dec_return(&rqw->inflight); in wbt_rqw_done() 218 if (inflight && inflight >= limit) in wbt_rqw_done() 222 int diff = limit - inflight; in wbt_rqw_done() 224 if (!inflight || diff >= rwb->wb_background / 2) in wbt_rqw_done() 292 ret += atomic_read(&rwb->rq_wait[i].inflight); in wbt_inflight() 426 unsigned int inflight = wbt_inflight(rwb); in wb_timer_fn() local 434 trace_wbt_timer(rwb->rqos.disk->bdi, status, rqd->scale_step, inflight); in wb_timer_fn() 476 if (rqd->scale_step || inflight) in wb_timer_fn() 831 atomic_read(&rwb->rq_wait[i].inflight)); in wbt_inflight_show()
|
D | blk-iolatency.c | 276 atomic_dec(&rqw->inflight); in iolat_cleanup_cb() 305 atomic_inc(&rqw->inflight); in __blkcg_iolatency_throttle() 599 int inflight = 0; in blkcg_iolatency_done_bio() local 621 inflight = atomic_dec_return(&rqw->inflight); in blkcg_iolatency_done_bio() 622 WARN_ON_ONCE(inflight < 0); in blkcg_iolatency_done_bio()
|
D | blk-rq-qos.h | 24 atomic_t inflight; member 84 atomic_set(&rq_wait->inflight, 0); in rq_wait_init()
|
D | blk-rq-qos.c | 23 return atomic_inc_below(&rq_wait->inflight, limit); in rq_wait_inc_below()
|
D | blk-mq.c | 88 unsigned int inflight[2]; member 98 mi->inflight[rq_data_dir(rq)]++; in blk_mq_check_inflight() 110 return mi.inflight[0] + mi.inflight[1]; in blk_mq_in_flight() 114 unsigned int inflight[2]) in blk_mq_in_flight_rw() 119 inflight[0] = mi.inflight[0]; in blk_mq_in_flight_rw() 120 inflight[1] = mi.inflight[1]; in blk_mq_in_flight_rw()
|
D | blk-mq.h | 242 unsigned int inflight[2]);
|
/block/partitions/ |
D | core.c | 210 static DEVICE_ATTR(inflight, 0444, part_inflight_show, NULL);
|