Home
last modified time | relevance | path

Searched refs:remaining (Results 1 – 6 of 6) sorted by relevance

/kernel/sched/
Dwait.c130 int remaining = nr_exclusive; in __wake_up_common_lock() local
139 remaining = __wake_up_common(wq_head, mode, remaining, in __wake_up_common_lock()
144 return nr_exclusive - remaining; in __wake_up_common_lock()
Dpsi.c486 u32 remaining; in window_update() local
488 remaining = win->size - elapsed; in window_update()
489 growth += div64_u64(win->prev_growth * remaining, win->size); in window_update()
Dfair.c5535 u64 runtime, remaining = 1; in distribute_cfs_runtime() local
5555 remaining = cfs_b->runtime; in distribute_cfs_runtime()
5567 if (!remaining) in distribute_cfs_runtime()
5652 s64 remaining; in runtime_refresh_within() local
5659 remaining = ktime_to_ns(hrtimer_expires_remaining(refresh_timer)); in runtime_refresh_within()
5660 if (remaining < (s64)min_expire) in runtime_refresh_within()
/kernel/printk/
Dprintk.c3379 int remaining = timeout_ms; in __pr_flush() local
3411 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()
/kernel/time/
Dposix-timers.c673 ktime_t now, remaining, iv; in common_timer_get() local
700 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()
/kernel/events/
Dcore.c10853 ktime_t remaining = hrtimer_get_remaining(&hwc->hrtimer); in perf_swevent_cancel_hrtimer() local
10854 local64_set(&hwc->period_left, ktime_to_ns(remaining)); in perf_swevent_cancel_hrtimer()