Home
last modified time | relevance | path

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

/linux-6.12.1/block/
Dblk-throttle.c479 tg->bytes_disp[rw] = 0; in throtl_start_new_slice_with_credit()
503 tg->bytes_disp[rw] = 0; in throtl_start_new_slice()
619 if ((long long)tg->bytes_disp[rw] >= bytes_trim) in throtl_trim_slice()
620 tg->bytes_disp[rw] -= bytes_trim; in throtl_trim_slice()
622 tg->bytes_disp[rw] = 0; in throtl_trim_slice()
654 tg->bytes_disp[rw]; in __tg_update_carryover()
725 if (bytes_allowed > 0 && tg->bytes_disp[rw] + bio_size <= bytes_allowed) in tg_within_bps_limit()
729 extra_bytes = tg->bytes_disp[rw] + bio_size - bytes_allowed; in tg_within_bps_limit()
814 tg->bytes_disp[rw] += bio_size; in throtl_charge_bio()
1665 tg->bytes_disp[rw], bio->bi_iter.bi_size, in __blk_throtl_bio()
Dblk-throttle.h105 uint64_t bytes_disp[2]; member