Lines Matching refs:old
334 unsigned long old = atomic_read(&lat_info->scale_cookie); in scale_cookie_change() local
338 if (old < DEFAULT_SCALE_COOKIE) in scale_cookie_change()
339 diff = DEFAULT_SCALE_COOKIE - old; in scale_cookie_change()
342 if (scale + old > DEFAULT_SCALE_COOKIE) in scale_cookie_change()
374 unsigned long old = iolat->rq_depth.max_depth; in scale_change() local
376 if (old > qd) in scale_change()
377 old = qd; in scale_change()
380 if (old == 1 && blkcg_unuse_delay(lat_to_blkg(iolat))) in scale_change()
383 if (old < qd) { in scale_change()
384 old += scale; in scale_change()
385 old = min(old, qd); in scale_change()
386 iolat->rq_depth.max_depth = old; in scale_change()
390 old >>= 1; in scale_change()
391 iolat->rq_depth.max_depth = max(old, 1UL); in scale_change()
403 unsigned int old; in check_scale_change() local
424 old = atomic_cmpxchg(&iolat->scale_cookie, our_cookie, cur_cookie); in check_scale_change()
427 if (old != our_cookie) in check_scale_change()