/kernel/time/ |
D | hrtimer.c | 165 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 …]
|
D | tick-broadcast-hrtimer.c | 18 static struct hrtimer bctimer; 99 static enum hrtimer_restart bc_handler(struct hrtimer *t) in bc_handler()
|
D | Makefile | 2 obj-y += time.o timer.o hrtimer.o 15 obj-$(CONFIG_TICK_ONESHOT) += tick-broadcast-hrtimer.o
|
D | timer_list.c | 56 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()
|
D | itimer.c | 29 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()
|
D | sched_clock.c | 47 static struct hrtimer sched_clock_timer; 145 static enum hrtimer_restart sched_clock_poll(struct hrtimer *hrt) in sched_clock_poll()
|
D | tick-sched.h | 56 struct hrtimer sched_timer;
|
D | posix-timers.c | 295 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()
|
D | alarmtimer.c | 199 static enum hrtimer_restart alarmtimer_fired(struct hrtimer *timer) in alarmtimer_fired()
|
D | tick-sched.c | 1375 static enum hrtimer_restart tick_sched_timer(struct hrtimer *timer) in tick_sched_timer()
|
/kernel/ |
D | watchdog.c | 175 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()
|
D | signal.c | 659 struct hrtimer *tmr = &tsk->signal->real_timer; in dequeue_signal()
|
/kernel/sched/ |
D | idle.c | 343 struct hrtimer timer; 347 static enum hrtimer_restart idle_inject_timer_fn(struct hrtimer *timer) in idle_inject_timer_fn()
|
D | deadline.c | 302 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()
|
D | sched.h | 265 struct hrtimer rt_period_timer; 376 struct hrtimer period_timer; 377 struct hrtimer slack_timer; 1048 struct hrtimer hrtick_timer;
|
D | core.c | 363 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()
|
D | rt.c | 21 static enum hrtimer_restart sched_rt_period_timer(struct hrtimer *timer) in sched_rt_period_timer()
|
D | fair.c | 5248 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/ |
D | tree.c | 3132 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/ |
D | core.c | 1129 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 …]
|