Home
last modified time | relevance | path

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

/kernel/time/
Dhrtimer.c152 struct hrtimer_clock_base *lock_hrtimer_base(const struct hrtimer *timer, in lock_hrtimer_base()
178 hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base) in hrtimer_check_target()
197 switch_hrtimer_base(struct hrtimer *timer, struct hrtimer_clock_base *base, in switch_hrtimer_base()
248 lock_hrtimer_base(const struct hrtimer *timer, unsigned long *flags) in lock_hrtimer_base()
315 return ((struct hrtimer *) addr)->function; in hrtimer_debug_hint()
324 struct hrtimer *timer = addr; in hrtimer_fixup_init()
363 struct hrtimer *timer = addr; in hrtimer_fixup_free()
383 static inline void debug_hrtimer_init(struct hrtimer *timer) in debug_hrtimer_init()
388 static inline void debug_hrtimer_activate(struct hrtimer *timer) in debug_hrtimer_activate()
393 static inline void debug_hrtimer_deactivate(struct hrtimer *timer) in debug_hrtimer_deactivate()
[all …]
Dtick-broadcast-hrtimer.c19 static struct hrtimer bctimer;
98 static enum hrtimer_restart bc_handler(struct hrtimer *t) in bc_handler()
DMakefile1 obj-y += time.o timer.o hrtimer.o itimer.o posix-timers.o posix-cpu-timers.o
9 obj-$(CONFIG_TICK_ONESHOT) += tick-broadcast-hrtimer.o
Dtimer_list.c57 print_timer(struct seq_file *m, struct hrtimer *taddr, struct hrtimer *timer, in print_timer()
87 struct hrtimer *timer, tmp; in print_active_timers()
108 timer = container_of(curr, struct hrtimer, node); in print_active_timers()
Ditimer.c27 static struct timeval itimer_get_remtime(struct hrtimer *timer) in itimer_get_remtime()
121 enum hrtimer_restart it_real_fn(struct hrtimer *timer) in it_real_fn()
193 struct hrtimer *timer; in do_setitimer()
Dsched_clock.c32 static struct hrtimer sched_clock_timer;
102 static enum hrtimer_restart sched_clock_poll(struct hrtimer *hrt) in sched_clock_poll()
Dposix-timers.c140 static enum hrtimer_restart posix_timer_fn(struct hrtimer *data);
353 struct hrtimer *timer = &timr->it.real.timer; in schedule_next_timer()
435 static enum hrtimer_restart posix_timer_fn(struct hrtimer *timer) in posix_timer_fn()
732 struct hrtimer *timer = &timr->it.real.timer; in common_timer_get()
828 struct hrtimer *timer = &timr->it.real.timer; in common_timer_set()
Dalarmtimer.c175 static enum hrtimer_restart alarmtimer_fired(struct hrtimer *timer) in alarmtimer_fired()
Dtick-sched.c1112 static enum hrtimer_restart tick_sched_timer(struct hrtimer *timer) in tick_sched_timer()
/kernel/
Dwatchdog.c40 static DEFINE_PER_CPU(struct hrtimer, watchdog_hrtimer);
385 static enum hrtimer_restart watchdog_timer_fn(struct hrtimer *hrtimer) in watchdog_timer_fn() argument
402 hrtimer_forward_now(hrtimer, ns_to_ktime(sample_period)); in watchdog_timer_fn()
506 struct hrtimer *hrtimer = raw_cpu_ptr(&watchdog_hrtimer); in watchdog_enable() local
509 hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in watchdog_enable()
510 hrtimer->function = watchdog_timer_fn; in watchdog_enable()
516 hrtimer_start(hrtimer, ns_to_ktime(sample_period), in watchdog_enable()
526 struct hrtimer *hrtimer = raw_cpu_ptr(&watchdog_hrtimer); in watchdog_disable() local
529 hrtimer_cancel(hrtimer); in watchdog_disable()
701 struct hrtimer *hrtimer = raw_cpu_ptr(&watchdog_hrtimer); in restart_watchdog_hrtimer() local
[all …]
Dsoftirq.c588 static enum hrtimer_restart __hrtimer_tasklet_trampoline(struct hrtimer *timer) in __hrtimer_tasklet_trampoline()
619 enum hrtimer_restart (*function)(struct hrtimer *), in tasklet_hrtimer_init() argument
Dsignal.c645 struct hrtimer *tmr = &tsk->signal->real_timer; in dequeue_signal()
/kernel/sched/
Dsched.h138 struct hrtimer rt_period_timer;
205 struct hrtimer period_timer, slack_timer;
687 struct hrtimer hrtick_timer;
1618 extern void start_bandwidth_timer(struct hrtimer *period_timer, ktime_t period);
Ddeadline.c530 struct hrtimer *timer = &dl_se->dl_timer; in start_dl_timer()
585 static enum hrtimer_restart dl_task_timer(struct hrtimer *timer) in dl_task_timer()
699 struct hrtimer *timer = &dl_se->dl_timer; in init_dl_task_timer()
Dcore.c94 void start_bandwidth_timer(struct hrtimer *period_timer, ktime_t period) in start_bandwidth_timer()
410 static enum hrtimer_restart hrtick(struct hrtimer *timer) in hrtick()
428 struct hrtimer *timer = &rq->hrtick_timer; in __hrtick_restart()
454 struct hrtimer *timer = &rq->hrtick_timer; in hrtick_start()
Drt.c18 static enum hrtimer_restart sched_rt_period_timer(struct hrtimer *timer) in sched_rt_period_timer()
Dfair.c3650 struct hrtimer *refresh_timer = &cfs_b->period_timer; in runtime_refresh_within()
3790 static enum hrtimer_restart sched_cfs_slack_timer(struct hrtimer *timer) in sched_cfs_slack_timer()
3799 static enum hrtimer_restart sched_cfs_period_timer(struct hrtimer *timer) in sched_cfs_period_timer()
/kernel/events/
Dcore.c774 static enum hrtimer_restart perf_cpu_hrtimer_handler(struct hrtimer *hr) in perf_cpu_hrtimer_handler()
782 cpuctx = container_of(hr, struct perf_cpu_context, hrtimer); in perf_cpu_hrtimer_handler()
817 hrtimer_cancel(&cpuctx->hrtimer); in perf_cpu_hrtimer_cancel()
827 struct hrtimer *hr = &cpuctx->hrtimer; in __perf_cpu_hrtimer_init()
851 struct hrtimer *hr = &cpuctx->hrtimer; in perf_cpu_hrtimer_restart()
6469 static enum hrtimer_restart perf_swevent_hrtimer(struct hrtimer *hrtimer) in perf_swevent_hrtimer() argument
6477 event = container_of(hrtimer, struct perf_event, hw.hrtimer); in perf_swevent_hrtimer()
6494 hrtimer_forward_now(hrtimer, ns_to_ktime(period)); in perf_swevent_hrtimer()
6516 __hrtimer_start_range_ns(&hwc->hrtimer, in perf_swevent_start_hrtimer()
6526 ktime_t remaining = hrtimer_get_remaining(&hwc->hrtimer); in perf_swevent_cancel_hrtimer()
[all …]