Lines Matching refs:bytes_disp
512 tg->bytes_disp[rw] = 0; in throtl_start_new_slice_with_credit()
535 tg->bytes_disp[rw] = 0; in throtl_start_new_slice()
626 if (bytes_trim <= 0 || tg->bytes_disp[rw] < bytes_trim) { in throtl_trim_bps()
627 bytes_trim = tg->bytes_disp[rw]; in throtl_trim_bps()
628 tg->bytes_disp[rw] = 0; in throtl_trim_bps()
630 tg->bytes_disp[rw] -= bytes_trim; in throtl_trim_bps()
728 tg->bytes_disp[rw] = 0; in __tg_update_carryover()
743 *bytes = bytes_allowed - tg->bytes_disp[rw]; in __tg_update_carryover()
751 tg->bytes_disp[rw] = -*bytes; in __tg_update_carryover()
809 if ((bytes_allowed > 0 && tg->bytes_disp[rw] + bio_size <= bytes_allowed) in tg_within_bps_limit()
814 extra_bytes = tg->bytes_disp[rw] + bio_size - bytes_allowed; in tg_within_bps_limit()
836 tg->bytes_disp[bio_data_dir(bio)] += bio_size; in throtl_charge_bps_bio()
1857 tg->bytes_disp[rw], bio->bi_iter.bi_size, in __blk_throtl_bio()