Home
last modified time | relevance | path

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

/block/
Dblk-throttle.c80 uint64_t bytes_disp[2]; member
430 tg->bytes_disp[rw] = 0; in throtl_start_new_slice()
506 if (tg->bytes_disp[rw] >= bytes_trim) in throtl_trim_slice()
507 tg->bytes_disp[rw] -= bytes_trim; in throtl_trim_slice()
509 tg->bytes_disp[rw] = 0; in throtl_trim_slice()
593 if (tg->bytes_disp[rw] + bio->bi_size <= bytes_allowed) { in tg_with_in_bps_limit()
600 extra_bytes = tg->bytes_disp[rw] + bio->bi_size - bytes_allowed; in tg_with_in_bps_limit()
708 tg->bytes_disp[rw] += bio->bi_size; in throtl_charge_bio()
1178 tg->bytes_disp[rw], bio->bi_size, tg->bps[rw], in blk_throtl_bio()