Home
last modified time | relevance | path

Searched refs:mi (Results 1 – 1 of 1) sorted by relevance

/block/
Dblk-mq.c108 struct mq_inflight *mi = priv; in blk_mq_check_inflight() local
110 if ((!mi->part->bd_partno || rq->part == mi->part) && in blk_mq_check_inflight()
112 mi->inflight[rq_data_dir(rq)]++; in blk_mq_check_inflight()
120 struct mq_inflight mi = { .part = part }; in blk_mq_in_flight() local
122 blk_mq_queue_tag_busy_iter(q, blk_mq_check_inflight, &mi); in blk_mq_in_flight()
124 return mi.inflight[0] + mi.inflight[1]; in blk_mq_in_flight()
130 struct mq_inflight mi = { .part = part }; in blk_mq_in_flight_rw() local
132 blk_mq_queue_tag_busy_iter(q, blk_mq_check_inflight, &mi); in blk_mq_in_flight_rw()
133 inflight[0] = mi.inflight[0]; in blk_mq_in_flight_rw()
134 inflight[1] = mi.inflight[1]; in blk_mq_in_flight_rw()