Searched refs:old (Results 1 – 3 of 3) sorted by relevance
334 unsigned long old = atomic_read(&lat_info->scale_cookie); in scale_cookie_change() local338 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() local376 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()[all …]
14 unsigned int old; in atomic_inc_below() local18 old = atomic_cmpxchg(v, cur, cur + 1); in atomic_inc_below()19 if (old == cur) in atomic_inc_below()21 cur = old; in atomic_inc_below()
1602 u64 old = atomic64_read(&blkg->delay_start); in blkcg_scale_delay() local1621 if (time_before64(old + NSEC_PER_SEC, now) && in blkcg_scale_delay()1622 atomic64_cmpxchg(&blkg->delay_start, old, now) == old) { in blkcg_scale_delay()1624 u64 sub = min_t(u64, blkg->last_delay, now - old); in blkcg_scale_delay()