Lines Matching refs:LIMIT_MAX
103 LIMIT_MAX, enumerator
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()
324 ret = min(tg->bps[rw][LIMIT_MAX], adjusted); in tg_bps_limit()
349 if (td->limit_index == LIMIT_MAX && tg->iops[rw][LIMIT_LOW] && in tg_iops_limit()
350 tg->iops[rw][LIMIT_LOW] != tg->iops[rw][LIMIT_MAX]) { in tg_iops_limit()
356 ret = min_t(unsigned int, tg->iops[rw][LIMIT_MAX], adjusted); 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()
517 tg->iops[READ][LIMIT_MAX] = UINT_MAX; in throtl_pd_alloc()
518 tg->iops[WRITE][LIMIT_MAX] = UINT_MAX; in throtl_pd_alloc()
519 tg->bps_conf[READ][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc()
520 tg->bps_conf[WRITE][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc()
521 tg->iops_conf[READ][LIMIT_MAX] = UINT_MAX; in throtl_pd_alloc()
522 tg->iops_conf[WRITE][LIMIT_MAX] = UINT_MAX; in throtl_pd_alloc()
1533 .private = offsetof(struct throtl_grp, bps[READ][LIMIT_MAX]),
1539 .private = offsetof(struct throtl_grp, bps[WRITE][LIMIT_MAX]),
1545 .private = offsetof(struct throtl_grp, iops[READ][LIMIT_MAX]),
1551 .private = offsetof(struct throtl_grp, iops[WRITE][LIMIT_MAX]),
1717 if (index == LIMIT_MAX) { in tg_set_limit()
1724 tg->bps_conf[READ][LIMIT_MAX]); in tg_set_limit()
1726 tg->bps_conf[WRITE][LIMIT_MAX]); in tg_set_limit()
1728 tg->iops_conf[READ][LIMIT_MAX]); in tg_set_limit()
1730 tg->iops_conf[WRITE][LIMIT_MAX]); in tg_set_limit()
1755 tg->td->limit_index = LIMIT_MAX; in tg_set_limit()
1779 .private = LIMIT_MAX,
1961 td->limit_index = LIMIT_MAX; in throtl_upgrade_state()
2030 if (tg->td->limit_index != LIMIT_MAX || in throtl_downgrade_check()
2437 td->limit_valid[LIMIT_MAX] = true; in blk_throtl_init()
2438 td->limit_index = LIMIT_MAX; in blk_throtl_init()