Lines Matching refs:bps
123 uint64_t bps[2]; member
343 tg->bps[READ] = -1; in throtl_pd_alloc()
344 tg->bps[WRITE] = -1; in throtl_pd_alloc()
389 (tg->bps[rw] != -1 || tg->iops[rw] != -1); in tg_update_has_rules()
641 tmp = tg->bps[rw] * throtl_slice * nr_slices; in throtl_trim_slice()
733 tmp = tg->bps[rw] * jiffy_elapsed_rnd; in tg_with_in_bps_limit()
745 jiffy_wait = div64_u64(extra_bytes * HZ, tg->bps[rw]); in tg_with_in_bps_limit()
780 if (tg->bps[rw] == -1 && tg->iops[rw] == -1) { in tg_may_dispatch()
1155 tg->bps[READ], tg->bps[WRITE], in tg_conf_updated()
1233 .private = offsetof(struct throtl_grp, bps[READ]),
1239 .private = offsetof(struct throtl_grp, bps[WRITE]),
1277 if (tg->bps[READ] == -1 && tg->bps[WRITE] == -1 && in tg_prfill_max()
1281 if (tg->bps[READ] != -1) in tg_prfill_max()
1282 snprintf(bufs[0], sizeof(bufs[0]), "%llu", tg->bps[READ]); in tg_prfill_max()
1283 if (tg->bps[WRITE] != -1) in tg_prfill_max()
1284 snprintf(bufs[1], sizeof(bufs[1]), "%llu", tg->bps[WRITE]); in tg_prfill_max()
1317 v[0] = tg->bps[READ]; in tg_set_max()
1318 v[1] = tg->bps[WRITE]; in tg_set_max()
1357 tg->bps[READ] = v[0]; in tg_set_max()
1358 tg->bps[WRITE] = v[1]; in tg_set_max()
1458 tg->bytes_disp[rw], bio->bi_iter.bi_size, tg->bps[rw], in blk_throtl_bio()