Home
last modified time | relevance | path

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

/Linux-v6.1/block/
Dblk-throttle.h115 uint64_t bytes_disp[2]; member
Dblk-throttle.c636 tg->bytes_disp[rw] = 0; in throtl_start_new_slice_with_credit()
660 tg->bytes_disp[rw] = 0; in throtl_start_new_slice()
742 if (tg->bytes_disp[rw] >= bytes_trim) in throtl_trim_slice()
743 tg->bytes_disp[rw] -= bytes_trim; in throtl_trim_slice()
745 tg->bytes_disp[rw] = 0; in throtl_trim_slice()
804 tg->bytes_disp[rw]; in __tg_update_carryover()
881 if (tg->bytes_disp[rw] + bio_size <= bytes_allowed) { in tg_within_bps_limit()
888 extra_bytes = tg->bytes_disp[rw] + bio_size - bytes_allowed; in tg_within_bps_limit()
974 tg->bytes_disp[rw] += bio_size; in throtl_charge_bio()
2237 tg->bytes_disp[rw], bio->bi_iter.bi_size, in __blk_throtl_bio()