Lines Matching refs:cpu
21 int cpu; member
115 static void print_cpu(struct seq_file *m, int cpu, u64 now) in print_cpu() argument
117 struct hrtimer_cpu_base *cpu_base = &per_cpu(hrtimer_bases, cpu); in print_cpu()
120 SEQ_printf(m, "cpu: %d\n", cpu); in print_cpu()
151 struct tick_sched *ts = tick_get_tick_sched(cpu); in print_cpu()
178 print_tickdevice(struct seq_file *m, struct tick_device *td, int cpu) in print_tickdevice() argument
185 if (cpu < 0) in print_tickdevice()
188 SEQ_printf(m, "Per CPU device: %d\n", cpu); in print_tickdevice()
233 if (cpu >= 0) { in print_tickdevice()
234 const struct clock_event_device *wd = tick_get_wakeup_device(cpu); in print_tickdevice()
268 int cpu; in sysrq_timer_list_show() local
272 for_each_online_cpu(cpu) in sysrq_timer_list_show()
273 print_cpu(NULL, cpu, now); in sysrq_timer_list_show()
277 for_each_online_cpu(cpu) in sysrq_timer_list_show()
278 print_tickdevice(NULL, tick_get_device(cpu), cpu); in sysrq_timer_list_show()
288 if (iter->cpu == -1 && !iter->second_pass) in timer_list_show()
291 print_cpu(m, iter->cpu, iter->now); in timer_list_show()
293 else if (iter->cpu == -1 && iter->second_pass) in timer_list_show()
296 print_tickdevice(m, tick_get_device(iter->cpu), iter->cpu); in timer_list_show()
304 iter->cpu = cpumask_next(iter->cpu, cpu_online_mask); in move_iter()
305 if (iter->cpu >= nr_cpu_ids) { in move_iter()
308 iter->cpu = -1; in move_iter()
326 iter->cpu = -1; in timer_list_start()