Searched refs:remaining (Results 1 – 4 of 4) sorted by relevance
647 ktime_t now, remaining, iv; in common_timer_get() local680 remaining = kc->timer_remaining(timr, now); in common_timer_get()682 if (remaining <= 0) { in common_timer_get()690 cur_setting->it_value = ktime_to_timespec64(remaining); in common_timer_get()
482 u32 remaining; in window_update() local484 remaining = win->size - elapsed; in window_update()485 growth += div64_u64(win->prev_growth * remaining, win->size); in window_update()
4616 static u64 distribute_cfs_runtime(struct cfs_bandwidth *cfs_b, u64 remaining) in distribute_cfs_runtime() argument4620 u64 starting_runtime = remaining; in distribute_cfs_runtime()4636 if (runtime > remaining) in distribute_cfs_runtime()4637 runtime = remaining; in distribute_cfs_runtime()4638 remaining -= runtime; in distribute_cfs_runtime()4649 if (!remaining) in distribute_cfs_runtime()4654 return starting_runtime - remaining; in distribute_cfs_runtime()4745 u64 remaining; in runtime_refresh_within() local4752 remaining = ktime_to_ns(hrtimer_expires_remaining(refresh_timer)); in runtime_refresh_within()4753 if (remaining < min_expire) in runtime_refresh_within()
9626 ktime_t remaining = hrtimer_get_remaining(&hwc->hrtimer); in perf_swevent_cancel_hrtimer() local9627 local64_set(&hwc->period_left, ktime_to_ns(remaining)); in perf_swevent_cancel_hrtimer()