Home
last modified time | relevance | path

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

/kernel/time/
Dhrtimer.c165 struct hrtimer_clock_base *lock_hrtimer_base(const struct hrtimer *timer, in lock_hrtimer_base()
193 hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base) in hrtimer_check_target()
225 switch_hrtimer_base(struct hrtimer *timer, struct hrtimer_clock_base *base, in switch_hrtimer_base()
282 lock_hrtimer_base(const struct hrtimer *timer, unsigned long *flags) in lock_hrtimer_base()
349 return ((struct hrtimer *) addr)->function; in hrtimer_debug_hint()
358 struct hrtimer *timer = addr; in hrtimer_fixup_init()
392 struct hrtimer *timer = addr; in hrtimer_fixup_free()
412 static inline void debug_hrtimer_init(struct hrtimer *timer) in debug_hrtimer_init()
417 static inline void debug_hrtimer_activate(struct hrtimer *timer, in debug_hrtimer_activate()
423 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()
Dtimer_list.c46 print_timer(struct seq_file *m, struct hrtimer *taddr, struct hrtimer *timer, in print_timer()
63 struct hrtimer *timer, tmp; in print_active_timers()
87 timer = container_of(curr, struct hrtimer, node); in print_active_timers()
DMakefile2 obj-y += time.o timer.o hrtimer.o
15 obj-$(CONFIG_TICK_ONESHOT) += tick-broadcast-hrtimer.o
Ditimer.c29 static struct timespec64 itimer_get_remtime(struct hrtimer *timer) in itimer_get_remtime()
156 enum hrtimer_restart it_real_fn(struct hrtimer *timer) in it_real_fn()
210 struct hrtimer *timer; in do_setitimer()
Dsched_clock.c48 static struct hrtimer sched_clock_timer;
146 static enum hrtimer_restart sched_clock_poll(struct hrtimer *hrt) in sched_clock_poll()
Dtick-sched.h56 struct hrtimer sched_timer;
Dposix-timers.c295 struct hrtimer *timer = &timr->it.real.timer; in common_hrtimer_rearm()
366 static enum hrtimer_restart posix_timer_fn(struct hrtimer *timer) in posix_timer_fn()
642 struct hrtimer *timer = &timr->it.real.timer; in common_hrtimer_remaining()
649 struct hrtimer *timer = &timr->it.real.timer; in common_hrtimer_forward()
796 struct hrtimer *timer = &timr->it.real.timer; in common_hrtimer_arm()
Dntp.c500 static struct hrtimer sync_hrtimer;
503 static enum hrtimer_restart sync_timer_callback(struct hrtimer *timer) in sync_timer_callback()
Dalarmtimer.c197 static enum hrtimer_restart alarmtimer_fired(struct hrtimer *timer) in alarmtimer_fired()
Dtick-sched.c1492 static enum hrtimer_restart tick_sched_timer(struct hrtimer *timer) in tick_sched_timer()
/kernel/
Dwatchdog.c182 static DEFINE_PER_CPU(struct hrtimer, watchdog_hrtimer);
363 static enum hrtimer_restart watchdog_timer_fn(struct hrtimer *hrtimer) in watchdog_timer_fn() argument
385 hrtimer_forward_now(hrtimer, ns_to_ktime(sample_period)); in watchdog_timer_fn()
462 struct hrtimer *hrtimer = this_cpu_ptr(&watchdog_hrtimer); in watchdog_enable() local
474 hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_HARD); in watchdog_enable()
475 hrtimer->function = watchdog_timer_fn; in watchdog_enable()
476 hrtimer_start(hrtimer, ns_to_ktime(sample_period), in watchdog_enable()
488 struct hrtimer *hrtimer = this_cpu_ptr(&watchdog_hrtimer); in watchdog_disable() local
498 hrtimer_cancel(hrtimer); in watchdog_disable()
Dsignal.c667 struct hrtimer *tmr = &tsk->signal->real_timer; in dequeue_signal()
/kernel/sched/
Didle.c344 struct hrtimer timer;
348 static enum hrtimer_restart idle_inject_timer_fn(struct hrtimer *timer) in idle_inject_timer_fn()
Ddeadline.c395 struct hrtimer *timer = &dl_se->inactive_timer; in task_non_contending()
1055 struct hrtimer *timer = &dl_se->dl_timer; in start_dl_timer()
1110 static enum hrtimer_restart dl_task_timer(struct hrtimer *timer) in dl_task_timer()
1219 struct hrtimer *timer = &dl_se->dl_timer; in init_dl_task_timer()
1410 static enum hrtimer_restart inactive_task_timer(struct hrtimer *timer) in inactive_task_timer()
1454 struct hrtimer *timer = &dl_se->inactive_timer; in init_dl_inactive_task_timer()
Dsched.h286 struct hrtimer rt_period_timer;
358 struct hrtimer period_timer;
359 struct hrtimer slack_timer;
1132 struct hrtimer hrtick_timer;
Drt.c72 static enum hrtimer_restart sched_rt_period_timer(struct hrtimer *timer) in sched_rt_period_timer()
Dcore.c786 static enum hrtimer_restart hrtick(struct hrtimer *timer) in hrtick()
805 struct hrtimer *timer = &rq->hrtick_timer; in __hrtick_restart()
831 struct hrtimer *timer = &rq->hrtick_timer; in hrtick_start()
Dfair.c5651 struct hrtimer *refresh_timer = &cfs_b->period_timer; in runtime_refresh_within()
5808 static enum hrtimer_restart sched_cfs_slack_timer(struct hrtimer *timer) in sched_cfs_slack_timer()
5820 static enum hrtimer_restart sched_cfs_period_timer(struct hrtimer *timer) in sched_cfs_period_timer()
/kernel/bpf/
Dhelpers.c1089 struct hrtimer timer;
1109 static enum hrtimer_restart bpf_timer_cb(struct hrtimer *hrtimer) in bpf_timer_cb() argument
1111 struct bpf_hrtimer *t = container_of(hrtimer, struct bpf_hrtimer, timer); in bpf_timer_cb()
/kernel/rcu/
Dtree.c3006 struct hrtimer hrtimer; member
3280 schedule_page_work_fn(struct hrtimer *t) in schedule_page_work_fn()
3283 container_of(t, struct kfree_rcu_cpu, hrtimer); in schedule_page_work_fn()
3334 hrtimer_init(&krcp->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in run_page_cache_worker()
3335 krcp->hrtimer.function = schedule_page_work_fn; in run_page_cache_worker()
3336 hrtimer_start(&krcp->hrtimer, 0, HRTIMER_MODE_REL); in run_page_cache_worker()
/kernel/events/
Dcore.c1070 static enum hrtimer_restart perf_mux_hrtimer_handler(struct hrtimer *hr) in perf_mux_hrtimer_handler()
1077 cpuctx = container_of(hr, struct perf_cpu_context, hrtimer); in perf_mux_hrtimer_handler()
1092 struct hrtimer *timer = &cpuctx->hrtimer; in __perf_mux_hrtimer_init()
1117 struct hrtimer *timer = &cpuctx->hrtimer; in perf_mux_hrtimer_restart()
10797 static enum hrtimer_restart perf_swevent_hrtimer(struct hrtimer *hrtimer) in perf_swevent_hrtimer() argument
10805 event = container_of(hrtimer, struct perf_event, hw.hrtimer); in perf_swevent_hrtimer()
10822 hrtimer_forward_now(hrtimer, ns_to_ktime(period)); in perf_swevent_hrtimer()
10844 hrtimer_start(&hwc->hrtimer, ns_to_ktime(period), in perf_swevent_start_hrtimer()
10853 ktime_t remaining = hrtimer_get_remaining(&hwc->hrtimer); in perf_swevent_cancel_hrtimer()
10856 hrtimer_cancel(&hwc->hrtimer); in perf_swevent_cancel_hrtimer()
[all …]
/kernel/trace/
Dtrace_osnoise.c214 struct hrtimer timer;
1512 static enum hrtimer_restart timerlat_irq(struct hrtimer *timer) in timerlat_irq()