Home
last modified time | relevance | path

Searched refs:period_timer (Results 1 – 3 of 3) sorted by relevance

/kernel/sched/
Dsched.h123 struct hrtimer period_timer, slack_timer; member
1158 extern void start_bandwidth_timer(struct hrtimer *period_timer, ktime_t period);
Dfair.c2465 struct hrtimer *refresh_timer = &cfs_b->period_timer; in runtime_refresh_within()
2619 container_of(timer, struct cfs_bandwidth, period_timer); in sched_cfs_period_timer()
2645 hrtimer_init(&cfs_b->period_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in init_cfs_bandwidth()
2646 cfs_b->period_timer.function = sched_cfs_period_timer; in init_cfs_bandwidth()
2666 while (unlikely(hrtimer_active(&cfs_b->period_timer))) { in __start_cfs_bandwidth()
2669 hrtimer_cancel(&cfs_b->period_timer); in __start_cfs_bandwidth()
2678 start_bandwidth_timer(&cfs_b->period_timer, cfs_b->period); in __start_cfs_bandwidth()
2683 hrtimer_cancel(&cfs_b->period_timer); in destroy_cfs_bandwidth()
Dcore.c92 void start_bandwidth_timer(struct hrtimer *period_timer, ktime_t period) in start_bandwidth_timer() argument
98 if (hrtimer_active(period_timer)) in start_bandwidth_timer()
101 now = hrtimer_cb_get_time(period_timer); in start_bandwidth_timer()
102 hrtimer_forward(period_timer, now, period); in start_bandwidth_timer()
104 soft = hrtimer_get_softexpires(period_timer); in start_bandwidth_timer()
105 hard = hrtimer_get_expires(period_timer); in start_bandwidth_timer()
107 __hrtimer_start_range_ns(period_timer, soft, delta, in start_bandwidth_timer()