Home
last modified time | relevance | path

Searched refs:hrtimer (Results 1 – 20 of 20) 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()
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 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.c47 static struct hrtimer sched_clock_timer;
145 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()
Dalarmtimer.c199 static enum hrtimer_restart alarmtimer_fired(struct hrtimer *timer) in alarmtimer_fired()
Dtick-sched.c1375 static enum hrtimer_restart tick_sched_timer(struct hrtimer *timer) in tick_sched_timer()
/kernel/
Dwatchdog.c175 static DEFINE_PER_CPU(struct hrtimer, watchdog_hrtimer);
349 static enum hrtimer_restart watchdog_timer_fn(struct hrtimer *hrtimer) in watchdog_timer_fn() argument
371 hrtimer_forward_now(hrtimer, ns_to_ktime(sample_period)); in watchdog_timer_fn()
443 struct hrtimer *hrtimer = this_cpu_ptr(&watchdog_hrtimer); in watchdog_enable() local
455 hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_HARD); in watchdog_enable()
456 hrtimer->function = watchdog_timer_fn; in watchdog_enable()
457 hrtimer_start(hrtimer, ns_to_ktime(sample_period), in watchdog_enable()
469 struct hrtimer *hrtimer = this_cpu_ptr(&watchdog_hrtimer); in watchdog_disable() local
479 hrtimer_cancel(hrtimer); in watchdog_disable()
Dsignal.c659 struct hrtimer *tmr = &tsk->signal->real_timer; in dequeue_signal()
/kernel/sched/
Didle.c343 struct hrtimer timer;
347 static enum hrtimer_restart idle_inject_timer_fn(struct hrtimer *timer) in idle_inject_timer_fn()
Ddeadline.c302 struct hrtimer *timer = &dl_se->inactive_timer; in task_non_contending()
984 struct hrtimer *timer = &dl_se->dl_timer; in start_dl_timer()
1039 static enum hrtimer_restart dl_task_timer(struct hrtimer *timer) in dl_task_timer()
1148 struct hrtimer *timer = &dl_se->dl_timer; in init_dl_task_timer()
1343 static enum hrtimer_restart inactive_task_timer(struct hrtimer *timer) in inactive_task_timer()
1387 struct hrtimer *timer = &dl_se->inactive_timer; in init_dl_inactive_task_timer()
Dsched.h265 struct hrtimer rt_period_timer;
376 struct hrtimer period_timer;
377 struct hrtimer slack_timer;
1048 struct hrtimer hrtick_timer;
Dcore.c363 static enum hrtimer_restart hrtick(struct hrtimer *timer) in hrtick()
382 struct hrtimer *timer = &rq->hrtick_timer; in __hrtick_restart()
408 struct hrtimer *timer = &rq->hrtick_timer; in hrtick_start()
Drt.c21 static enum hrtimer_restart sched_rt_period_timer(struct hrtimer *timer) in sched_rt_period_timer()
Dfair.c5248 struct hrtimer *refresh_timer = &cfs_b->period_timer; in runtime_refresh_within()
5408 static enum hrtimer_restart sched_cfs_slack_timer(struct hrtimer *timer) in sched_cfs_slack_timer()
5420 static enum hrtimer_restart sched_cfs_period_timer(struct hrtimer *timer) in sched_cfs_period_timer()
/kernel/rcu/
Dtree.c3132 struct hrtimer hrtimer; member
3403 schedule_page_work_fn(struct hrtimer *t) in schedule_page_work_fn()
3406 container_of(t, struct kfree_rcu_cpu, hrtimer); in schedule_page_work_fn()
3447 hrtimer_init(&krcp->hrtimer, CLOCK_MONOTONIC, in run_page_cache_worker()
3449 krcp->hrtimer.function = schedule_page_work_fn; in run_page_cache_worker()
3450 hrtimer_start(&krcp->hrtimer, 0, HRTIMER_MODE_REL); in run_page_cache_worker()
/kernel/events/
Dcore.c1129 static enum hrtimer_restart perf_mux_hrtimer_handler(struct hrtimer *hr) in perf_mux_hrtimer_handler()
1136 cpuctx = container_of(hr, struct perf_cpu_context, hrtimer); in perf_mux_hrtimer_handler()
1151 struct hrtimer *timer = &cpuctx->hrtimer; in __perf_mux_hrtimer_init()
1176 struct hrtimer *timer = &cpuctx->hrtimer; in perf_mux_hrtimer_restart()
10373 static enum hrtimer_restart perf_swevent_hrtimer(struct hrtimer *hrtimer) in perf_swevent_hrtimer() argument
10381 event = container_of(hrtimer, struct perf_event, hw.hrtimer); in perf_swevent_hrtimer()
10398 hrtimer_forward_now(hrtimer, ns_to_ktime(period)); in perf_swevent_hrtimer()
10420 hrtimer_start(&hwc->hrtimer, ns_to_ktime(period), in perf_swevent_start_hrtimer()
10429 ktime_t remaining = hrtimer_get_remaining(&hwc->hrtimer); in perf_swevent_cancel_hrtimer()
10432 hrtimer_cancel(&hwc->hrtimer); in perf_swevent_cancel_hrtimer()
[all …]