Lines Matching refs:index
1658 int index = of_cft(of)->private; in tg_set_limit() local
1666 v[0] = tg->bps_conf[READ][index]; in tg_set_limit()
1667 v[1] = tg->bps_conf[WRITE][index]; in tg_set_limit()
1668 v[2] = tg->iops_conf[READ][index]; in tg_set_limit()
1669 v[3] = tg->iops_conf[WRITE][index]; in tg_set_limit()
1712 tg->bps_conf[READ][index] = v[0]; in tg_set_limit()
1713 tg->bps_conf[WRITE][index] = v[1]; in tg_set_limit()
1714 tg->iops_conf[READ][index] = v[2]; in tg_set_limit()
1715 tg->iops_conf[WRITE][index] = v[3]; in tg_set_limit()
1717 if (index == LIMIT_MAX) { in tg_set_limit()
1718 tg->bps[READ][index] = v[0]; in tg_set_limit()
1719 tg->bps[WRITE][index] = v[1]; in tg_set_limit()
1720 tg->iops[READ][index] = v[2]; in tg_set_limit()
1721 tg->iops[WRITE][index] = v[3]; in tg_set_limit()
1745 } else if (index == LIMIT_LOW) { in tg_set_limit()
1752 if (index == LIMIT_LOW) in tg_set_limit()
1756 tg_conf_updated(tg, index == LIMIT_LOW && in tg_set_limit()
2330 int index; in throtl_track_latency() local
2337 index = request_bucket_index(size); in throtl_track_latency()
2340 latency[index].total_latency += time; in throtl_track_latency()
2341 latency[index].samples++; in throtl_track_latency()