Home
last modified time | relevance | path

Searched refs:hrtimer (Results 1 – 19 of 19) sorted by relevance

/kernel/time/
Dhrtimer.c161 struct hrtimer_clock_base *lock_hrtimer_base(const struct hrtimer *timer, in lock_hrtimer_base()
189 hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base) in hrtimer_check_target()
221 switch_hrtimer_base(struct hrtimer *timer, struct hrtimer_clock_base *base, in switch_hrtimer_base()
278 lock_hrtimer_base(const struct hrtimer *timer, unsigned long *flags) in lock_hrtimer_base()
345 return ((struct hrtimer *) addr)->function; in hrtimer_debug_hint()
354 struct hrtimer *timer = addr; in hrtimer_fixup_init()
388 struct hrtimer *timer = addr; in hrtimer_fixup_free()
408 static inline void debug_hrtimer_init(struct hrtimer *timer) in debug_hrtimer_init()
413 static inline void debug_hrtimer_activate(struct hrtimer *timer, in debug_hrtimer_activate()
419 static inline void debug_hrtimer_deactivate(struct hrtimer *timer) in debug_hrtimer_deactivate()
[all …]
Dtick-broadcast-hrtimer.c18 static struct hrtimer bctimer;
99 static enum hrtimer_restart bc_handler(struct hrtimer *t) in bc_handler()
DMakefile2 obj-y += time.o timer.o hrtimer.o
15 obj-$(CONFIG_TICK_ONESHOT) += tick-broadcast-hrtimer.o
Dtimer_list.c56 print_timer(struct seq_file *m, struct hrtimer *taddr, struct hrtimer *timer, in print_timer()
76 struct hrtimer *timer, tmp; in print_active_timers()
100 timer = container_of(curr, struct hrtimer, node); in print_active_timers()
Ditimer.c29 static struct timeval itimer_get_remtime(struct hrtimer *timer) in itimer_get_remtime()
131 enum hrtimer_restart it_real_fn(struct hrtimer *timer) in it_real_fn()
188 struct hrtimer *timer; in do_setitimer()
Dsched_clock.c71 static struct hrtimer sched_clock_timer;
159 static enum hrtimer_restart sched_clock_poll(struct hrtimer *hrt) in sched_clock_poll()
Dtick-sched.h54 struct hrtimer sched_timer;
Dposix-timers.c269 struct hrtimer *timer = &timr->it.real.timer; in common_hrtimer_rearm()
340 static enum hrtimer_restart posix_timer_fn(struct hrtimer *timer) in posix_timer_fn()
616 struct hrtimer *timer = &timr->it.real.timer; in common_hrtimer_remaining()
623 struct hrtimer *timer = &timr->it.real.timer; in common_hrtimer_forward()
776 struct hrtimer *timer = &timr->it.real.timer; in common_hrtimer_arm()
Dalarmtimer.c197 static enum hrtimer_restart alarmtimer_fired(struct hrtimer *timer) in alarmtimer_fired()
Dtick-sched.c1289 static enum hrtimer_restart tick_sched_timer(struct hrtimer *timer) in tick_sched_timer()
/kernel/
Dwatchdog.c172 static DEFINE_PER_CPU(struct hrtimer, watchdog_hrtimer);
362 static enum hrtimer_restart watchdog_timer_fn(struct hrtimer *hrtimer) in watchdog_timer_fn() argument
384 hrtimer_forward_now(hrtimer, ns_to_ktime(sample_period)); in watchdog_timer_fn()
481 struct hrtimer *hrtimer = this_cpu_ptr(&watchdog_hrtimer); in watchdog_enable() local
493 hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_HARD); in watchdog_enable()
494 hrtimer->function = watchdog_timer_fn; in watchdog_enable()
495 hrtimer_start(hrtimer, ns_to_ktime(sample_period), in watchdog_enable()
507 struct hrtimer *hrtimer = this_cpu_ptr(&watchdog_hrtimer); in watchdog_disable() local
517 hrtimer_cancel(hrtimer); in watchdog_disable()
Dsignal.c650 struct hrtimer *tmr = &tsk->signal->real_timer; in dequeue_signal()
/kernel/sched/
Didle.c300 struct hrtimer timer;
304 static enum hrtimer_restart idle_inject_timer_fn(struct hrtimer *timer) in idle_inject_timer_fn()
Ddeadline.c240 struct hrtimer *timer = &dl_se->inactive_timer; in task_non_contending()
923 struct hrtimer *timer = &dl_se->dl_timer; in start_dl_timer()
978 static enum hrtimer_restart dl_task_timer(struct hrtimer *timer) in dl_task_timer()
1087 struct hrtimer *timer = &dl_se->dl_timer; in init_dl_task_timer()
1282 static enum hrtimer_restart inactive_task_timer(struct hrtimer *timer) in inactive_task_timer()
1326 struct hrtimer *timer = &dl_se->inactive_timer; in init_dl_inactive_task_timer()
Dsched.h238 struct hrtimer rt_period_timer;
343 struct hrtimer period_timer;
344 struct hrtimer slack_timer;
983 struct hrtimer hrtick_timer;
Dcore.c238 static enum hrtimer_restart hrtick(struct hrtimer *timer) in hrtick()
257 struct hrtimer *timer = &rq->hrtick_timer; in __hrtick_restart()
283 struct hrtimer *timer = &rq->hrtick_timer; in hrtick_start()
Drt.c17 static enum hrtimer_restart sched_rt_period_timer(struct hrtimer *timer) in sched_rt_period_timer()
Dfair.c4744 struct hrtimer *refresh_timer = &cfs_b->period_timer; in runtime_refresh_within()
4914 static enum hrtimer_restart sched_cfs_slack_timer(struct hrtimer *timer) in sched_cfs_slack_timer()
4926 static enum hrtimer_restart sched_cfs_period_timer(struct hrtimer *timer) in sched_cfs_period_timer()
/kernel/events/
Dcore.c1065 static enum hrtimer_restart perf_mux_hrtimer_handler(struct hrtimer *hr) in perf_mux_hrtimer_handler()
1072 cpuctx = container_of(hr, struct perf_cpu_context, hrtimer); in perf_mux_hrtimer_handler()
1087 struct hrtimer *timer = &cpuctx->hrtimer; in __perf_mux_hrtimer_init()
1112 struct hrtimer *timer = &cpuctx->hrtimer; in perf_mux_hrtimer_restart()
9570 static enum hrtimer_restart perf_swevent_hrtimer(struct hrtimer *hrtimer) in perf_swevent_hrtimer() argument
9578 event = container_of(hrtimer, struct perf_event, hw.hrtimer); in perf_swevent_hrtimer()
9595 hrtimer_forward_now(hrtimer, ns_to_ktime(period)); in perf_swevent_hrtimer()
9617 hrtimer_start(&hwc->hrtimer, ns_to_ktime(period), in perf_swevent_start_hrtimer()
9626 ktime_t remaining = hrtimer_get_remaining(&hwc->hrtimer); in perf_swevent_cancel_hrtimer()
9629 hrtimer_cancel(&hwc->hrtimer); in perf_swevent_cancel_hrtimer()
[all …]