Searched refs:sub (Results 1 – 2 of 2) sorted by relevance
1625 u64 sub = min_t(u64, blkg->last_delay, now - old); in blkcg_scale_delay() local1633 sub = max_t(u64, sub, blkg->last_delay >> 1); in blkcg_scale_delay()1641 if (unlikely(cur < sub)) { in blkcg_scale_delay()1645 atomic64_sub(sub, &blkg->delay_nsec); in blkcg_scale_delay()1646 blkg->last_delay = cur - sub; in blkcg_scale_delay()
513 u64 sub = iolat->min_lat_nsec; in iolatency_record_time() local514 if (req_time < sub) in iolatency_record_time()515 blkcg_add_delay(lat_to_blkg(iolat), now, sub - req_time); in iolatency_record_time()