Searched refs:bps (Results 1 – 2 of 2) sorted by relevance
144 uint64_t bps[2][LIMIT_CNT]; member309 ret = tg->bps[rw][td->limit_index]; in tg_bps_limit()319 if (td->limit_index == LIMIT_MAX && tg->bps[rw][LIMIT_LOW] && in tg_bps_limit()320 tg->bps[rw][LIMIT_LOW] != tg->bps[rw][LIMIT_MAX]) { in tg_bps_limit()323 adjusted = throtl_adjusted_limit(tg->bps[rw][LIMIT_LOW], td); in tg_bps_limit()324 ret = min(tg->bps[rw][LIMIT_MAX], adjusted); in tg_bps_limit()343 tg->bps[rw][td->limit_index]) in tg_iops_limit()515 tg->bps[READ][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc()516 tg->bps[WRITE][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc()604 if (tg->bps[READ][LIMIT_LOW] || tg->bps[WRITE][LIMIT_LOW] || in blk_throtl_update_limit_valid()[all …]
870 static void calc_lcoefs(u64 bps, u64 seqiops, u64 randiops, in calc_lcoefs() argument877 if (bps) { in calc_lcoefs()878 u64 bps_pages = DIV_ROUND_UP_ULL(bps, IOC_PAGE_SIZE); in calc_lcoefs()