Lines Matching refs:tick_sched
39 static DEFINE_PER_CPU(struct tick_sched, tick_cpu_sched);
41 struct tick_sched *tick_get_tick_sched(int cpu) in tick_get_tick_sched()
174 static void tick_sched_do_timer(struct tick_sched *ts, ktime_t now) in tick_sched_do_timer()
220 static void tick_sched_handle(struct tick_sched *ts, struct pt_regs *regs) in tick_sched_handle()
287 static bool can_stop_full_tick(int cpu, struct tick_sched *ts) in can_stop_full_tick()
431 struct tick_sched *ts; in tick_nohz_dep_set_cpu()
453 struct tick_sched *ts = per_cpu_ptr(&tick_cpu_sched, cpu); in tick_nohz_dep_clear_cpu()
508 struct tick_sched *ts; in __tick_nohz_task_switch()
605 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_nohz_tick_stopped()
612 struct tick_sched *ts = per_cpu_ptr(&tick_cpu_sched, cpu); in tick_nohz_tick_stopped_cpu()
644 update_ts_time_stats(int cpu, struct tick_sched *ts, ktime_t now, u64 *last_update_time) in update_ts_time_stats()
662 static void tick_nohz_stop_idle(struct tick_sched *ts, ktime_t now) in tick_nohz_stop_idle()
670 static void tick_nohz_start_idle(struct tick_sched *ts) in tick_nohz_start_idle()
693 struct tick_sched *ts = &per_cpu(tick_cpu_sched, cpu); in get_cpu_idle_time_us()
734 struct tick_sched *ts = &per_cpu(tick_cpu_sched, cpu); in get_cpu_iowait_time_us()
758 static void tick_nohz_restart(struct tick_sched *ts, ktime_t now) in tick_nohz_restart()
785 static ktime_t tick_nohz_next_event(struct tick_sched *ts, int cpu) in tick_nohz_next_event()
868 static void tick_nohz_stop_tick(struct tick_sched *ts, int cpu) in tick_nohz_stop_tick()
944 static void tick_nohz_retain_tick(struct tick_sched *ts) in tick_nohz_retain_tick()
950 static void tick_nohz_stop_sched_tick(struct tick_sched *ts, int cpu) in tick_nohz_stop_sched_tick()
959 static void tick_nohz_restart_sched_tick(struct tick_sched *ts, ktime_t now) in tick_nohz_restart_sched_tick()
979 static void __tick_nohz_full_update_tick(struct tick_sched *ts, in __tick_nohz_full_update_tick()
992 static void tick_nohz_full_update_tick(struct tick_sched *ts) in tick_nohz_full_update_tick()
1042 static bool can_stop_idle_tick(int cpu, struct tick_sched *ts) in can_stop_idle_tick()
1087 static void __tick_nohz_idle_stop_tick(struct tick_sched *ts) in __tick_nohz_idle_stop_tick()
1149 struct tick_sched *ts; in tick_nohz_idle_enter()
1175 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_nohz_irq_exit()
1188 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_nohz_idle_got_tick()
1222 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_nohz_get_sleep_length()
1260 struct tick_sched *ts = tick_get_tick_sched(cpu); in tick_nohz_get_idle_calls_cpu()
1272 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_nohz_get_idle_calls()
1277 static void tick_nohz_account_idle_time(struct tick_sched *ts, in tick_nohz_account_idle_time()
1301 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_nohz_idle_restart_tick()
1310 static void tick_nohz_idle_update_tick(struct tick_sched *ts, ktime_t now) in tick_nohz_idle_update_tick()
1329 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_nohz_idle_exit()
1359 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_nohz_handler()
1382 static inline void tick_nohz_activate(struct tick_sched *ts, int mode) in tick_nohz_activate()
1397 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_nohz_switch_to_nohz()
1422 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_nohz_irq_enter()
1445 static inline void tick_nohz_activate(struct tick_sched *ts, int mode) { } in tick_nohz_activate()
1468 struct tick_sched *ts = in tick_sched_timer()
1469 container_of(timer, struct tick_sched, sched_timer); in tick_sched_timer()
1508 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_setup_sched_timer()
1537 struct tick_sched *ts = &per_cpu(tick_cpu_sched, cpu); in tick_cancel_sched_timer()
1564 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_oneshot_notify()
1579 struct tick_sched *ts = this_cpu_ptr(&tick_cpu_sched); in tick_check_oneshot_change()