Home
last modified time | relevance | path

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

/Linux-v6.6/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()
776 if ((long long)tg->bytes_disp[rw] >= bytes_trim) in throtl_trim_slice()
777 tg->bytes_disp[rw] -= bytes_trim; in throtl_trim_slice()
779 tg->bytes_disp[rw] = 0; in throtl_trim_slice()
811 tg->bytes_disp[rw]; in __tg_update_carryover()
879 if (bytes_allowed > 0 && tg->bytes_disp[rw] + bio_size <= bytes_allowed) in tg_within_bps_limit()
883 extra_bytes = tg->bytes_disp[rw] + bio_size - bytes_allowed; in tg_within_bps_limit()
968 tg->bytes_disp[rw] += bio_size; in throtl_charge_bio()
2248 tg->bytes_disp[rw], bio->bi_iter.bi_size, in __blk_throtl_bio()