Lines Matching refs:limit_index
208 unsigned int limit_index; member
302 ret = tg->bps[rw][td->limit_index]; in tg_bps_limit()
303 if (ret == 0 && td->limit_index == LIMIT_LOW) { in tg_bps_limit()
306 tg->iops[rw][td->limit_index]) in tg_bps_limit()
312 if (td->limit_index == LIMIT_MAX && tg->bps[rw][LIMIT_LOW] && in tg_bps_limit()
332 ret = tg->iops[rw][td->limit_index]; in tg_iops_limit()
333 if (ret == 0 && tg->td->limit_index == LIMIT_LOW) { in tg_iops_limit()
336 tg->bps[rw][td->limit_index]) in tg_iops_limit()
342 if (td->limit_index == LIMIT_MAX && tg->iops[rw][LIMIT_LOW] && in tg_iops_limit()
557 (td->limit_valid[td->limit_index] && in tg_update_has_rules()
605 if (!tg->td->limit_valid[tg->td->limit_index]) in throtl_pd_offline()
1690 tg->td->limit_index = LIMIT_LOW; in tg_set_limit()
1692 tg->td->limit_index = LIMIT_MAX; in tg_set_limit()
1849 if (td->limit_index != LIMIT_LOW) in throtl_can_upgrade()
1876 if (tg->td->limit_index != LIMIT_LOW) in throtl_upgrade_check()
1898 td->limit_index = LIMIT_MAX; in throtl_upgrade_state()
1926 td->limit_index = new; in throtl_downgrade_state()
1967 if (tg->td->limit_index != LIMIT_MAX || in throtl_downgrade_check()
2233 if (!td || td->limit_index != LIMIT_LOW || in throtl_track_latency()
2400 td->limit_index = LIMIT_MAX; in blk_throtl_init()