Searched refs:diff (Results 1 – 3 of 3) sorted by relevance
154 unsigned long diff = q->timeout.expires - expiry; in blk_add_timer() local163 if (!timer_pending(&q->timeout) || (diff >= HZ / 2)) in blk_add_timer()
336 unsigned long diff = 0; in scale_cookie_change() local339 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()
163 int diff = limit - inflight; in wbt_rqw_done() local165 if (!inflight || diff >= rwb->wb_background / 2) in wbt_rqw_done()