Searched refs:remaining (Results 1 – 6 of 6) sorted by relevance
130 int remaining = nr_exclusive; in __wake_up_common_lock() local139 remaining = __wake_up_common(wq_head, mode, remaining, in __wake_up_common_lock()144 return nr_exclusive - remaining; in __wake_up_common_lock()
486 u32 remaining; in window_update() local488 remaining = win->size - elapsed; in window_update()489 growth += div64_u64(win->prev_growth * remaining, win->size); in window_update()
5535 u64 runtime, remaining = 1; in distribute_cfs_runtime() local5555 remaining = cfs_b->runtime; in distribute_cfs_runtime()5567 if (!remaining) in distribute_cfs_runtime()5652 s64 remaining; in runtime_refresh_within() local5659 remaining = ktime_to_ns(hrtimer_expires_remaining(refresh_timer)); in runtime_refresh_within()5660 if (remaining < (s64)min_expire) in runtime_refresh_within()
3379 int remaining = timeout_ms; in __pr_flush() local3411 remaining = 0; in __pr_flush()3413 remaining = timeout_ms; in __pr_flush()3417 if (diff == 0 || remaining == 0) in __pr_flush()3420 if (remaining < 0) { in __pr_flush()3423 } else if (remaining < 100) { in __pr_flush()3424 msleep(remaining); in __pr_flush()3425 remaining = 0; in __pr_flush()3428 remaining -= 100; in __pr_flush()
673 ktime_t now, remaining, iv; in common_timer_get() local700 remaining = kc->timer_remaining(timr, now); in common_timer_get()702 if (remaining <= 0) { in common_timer_get()710 cur_setting->it_value = ktime_to_timespec64(remaining); in common_timer_get()
10853 ktime_t remaining = hrtimer_get_remaining(&hwc->hrtimer); in perf_swevent_cancel_hrtimer() local10854 local64_set(&hwc->period_left, ktime_to_ns(remaining)); in perf_swevent_cancel_hrtimer()