Searched refs:scale (Results 1 – 2 of 2) sorted by relevance
/block/ |
D | blk-iolatency.c | 333 unsigned long scale = scale_amount(qd, up); in scale_cookie_change() local 342 if (scale + old > DEFAULT_SCALE_COOKIE) in scale_cookie_change() 348 atomic_add(scale, &lat_info->scale_cookie); in scale_cookie_change() 360 atomic_sub(scale, &lat_info->scale_cookie); in scale_cookie_change() 373 unsigned long scale = scale_amount(qd, up); in scale_change() local 384 old += scale; in scale_change()
|
D | blk-throttle.c | 221 unsigned int scale; member 292 if (td->scale < 4096 && time_after_eq(jiffies, in throtl_adjusted_limit() 293 td->low_upgrade_time + td->scale * td->throtl_slice)) in throtl_adjusted_limit() 294 td->scale = (jiffies - td->low_upgrade_time) / td->throtl_slice; in throtl_adjusted_limit() 296 return low + (low >> 1) * td->scale; in throtl_adjusted_limit() 1863 tg->bio_cnt, ret, tg->td->scale); in throtl_tg_is_idle() 1963 td->scale = 0; in throtl_upgrade_state() 1981 td->scale /= 2; in throtl_downgrade_state() 1983 throtl_log(&td->service_queue, "downgrade, scale %d", td->scale); in throtl_downgrade_state() 1984 if (td->scale) { in throtl_downgrade_state() [all …]
|