Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 3 of 3) sorted by relevance

/block/
Dblk-timeout.c154 unsigned long diff = q->timeout.expires - expiry; in blk_add_timer() local
163 if (!timer_pending(&q->timeout) || (diff >= HZ / 2)) in blk_add_timer()
Dblk-iolatency.c336 unsigned long diff = 0; in scale_cookie_change() local
339 diff = DEFAULT_SCALE_COOKIE - old; in scale_cookie_change()
345 else if (diff > qd) in scale_cookie_change()
356 if (diff > qd) { in scale_cookie_change()
357 if (diff < max_scale) in scale_cookie_change()
Dblk-wbt.c163 int diff = limit - inflight; in wbt_rqw_done() local
165 if (!inflight || diff >= rwb->wb_background / 2) in wbt_rqw_done()