Lines Matching refs:bps
131 uint64_t bps[2]; member
442 tg->bps[READ] = -1; in throtl_pd_init()
443 tg->bps[WRITE] = -1; in throtl_pd_init()
470 (tg->bps[rw] != -1 || tg->iops[rw] != -1); in tg_update_has_rules()
784 tmp = tg->bps[rw] * throtl_slice * nr_slices; in throtl_trim_slice()
876 tmp = tg->bps[rw] * jiffy_elapsed_rnd; in tg_with_in_bps_limit()
888 jiffy_wait = div64_u64(extra_bytes * HZ, tg->bps[rw]); in tg_with_in_bps_limit()
923 if (tg->bps[rw] == -1 && tg->iops[rw] == -1) { in tg_may_dispatch()
1380 tg->bps[READ], tg->bps[WRITE], in tg_set_conf()
1428 .private = offsetof(struct throtl_grp, bps[READ]),
1434 .private = offsetof(struct throtl_grp, bps[WRITE]),
1561 tg->bytes_disp[rw], bio->bi_iter.bi_size, tg->bps[rw], in blk_throtl_bio()