Searched refs:td (Results 1 – 1 of 1) sorted by relevance
117 struct throtl_data *td; member272 return tg->td; in sq_to_td()285 static uint64_t throtl_adjusted_limit(uint64_t low, struct throtl_data *td) in throtl_adjusted_limit() argument288 if (td->scale < 4096 && time_after_eq(jiffies, in throtl_adjusted_limit()289 td->low_upgrade_time + td->scale * td->throtl_slice)) in throtl_adjusted_limit()290 td->scale = (jiffies - td->low_upgrade_time) / td->throtl_slice; in throtl_adjusted_limit()292 return low + (low >> 1) * td->scale; in throtl_adjusted_limit()298 struct throtl_data *td; in tg_bps_limit() local304 td = tg->td; in tg_bps_limit()305 ret = tg->bps[rw][td->limit_index]; in tg_bps_limit()[all …]