Lines Matching refs:next_cpu
13 unsigned int next_cpu; in watchdog_next_cpu() local
15 next_cpu = cpumask_next(cpu, &watchdog_cpus); in watchdog_next_cpu()
16 if (next_cpu >= nr_cpu_ids) in watchdog_next_cpu()
17 next_cpu = cpumask_first(&watchdog_cpus); in watchdog_next_cpu()
19 if (next_cpu == cpu) in watchdog_next_cpu()
22 return next_cpu; in watchdog_next_cpu()
32 unsigned int next_cpu; in watchdog_hardlockup_enable() local
50 next_cpu = watchdog_next_cpu(cpu); in watchdog_hardlockup_enable()
51 if (next_cpu < nr_cpu_ids) in watchdog_hardlockup_enable()
52 watchdog_hardlockup_touch_cpu(next_cpu); in watchdog_hardlockup_enable()
66 unsigned int next_cpu = watchdog_next_cpu(cpu); in watchdog_hardlockup_disable() local
75 if (next_cpu < nr_cpu_ids) in watchdog_hardlockup_disable()
76 watchdog_hardlockup_touch_cpu(next_cpu); in watchdog_hardlockup_disable()
90 unsigned int next_cpu; in watchdog_buddy_check_hardlockup() local
101 next_cpu = watchdog_next_cpu(smp_processor_id()); in watchdog_buddy_check_hardlockup()
102 if (next_cpu >= nr_cpu_ids) in watchdog_buddy_check_hardlockup()
112 watchdog_hardlockup_check(next_cpu, NULL); in watchdog_buddy_check_hardlockup()