• Home
  • Raw
  • Download

Lines Matching refs:cpu

100 int __weak watchdog_nmi_enable(unsigned int cpu)  in watchdog_nmi_enable()  argument
106 void __weak watchdog_nmi_disable(unsigned int cpu) in watchdog_nmi_disable() argument
291 int cpu; in touch_all_softlockup_watchdogs() local
302 for_each_cpu(cpu, &watchdog_allowed_mask) { in touch_all_softlockup_watchdogs()
303 per_cpu(watchdog_report_ts, cpu) = SOFTLOCKUP_DELAY_REPORT; in touch_all_softlockup_watchdogs()
304 wq_watchdog_touch(cpu); in touch_all_softlockup_watchdogs()
460 static void watchdog_enable(unsigned int cpu) in watchdog_enable() argument
465 WARN_ON_ONCE(cpu != smp_processor_id()); in watchdog_enable()
483 watchdog_nmi_enable(cpu); in watchdog_enable()
486 static void watchdog_disable(unsigned int cpu) in watchdog_disable() argument
490 WARN_ON_ONCE(cpu != smp_processor_id()); in watchdog_disable()
497 watchdog_nmi_disable(cpu); in watchdog_disable()
510 int cpu; in softlockup_stop_all() local
515 for_each_cpu(cpu, &watchdog_allowed_mask) in softlockup_stop_all()
516 smp_call_on_cpu(cpu, softlockup_stop_fn, NULL, false); in softlockup_stop_all()
529 int cpu; in softlockup_start_all() local
532 for_each_cpu(cpu, &watchdog_allowed_mask) in softlockup_start_all()
533 smp_call_on_cpu(cpu, softlockup_start_fn, NULL, false); in softlockup_start_all()
536 int lockup_detector_online_cpu(unsigned int cpu) in lockup_detector_online_cpu() argument
538 if (cpumask_test_cpu(cpu, &watchdog_allowed_mask)) in lockup_detector_online_cpu()
539 watchdog_enable(cpu); in lockup_detector_online_cpu()
543 int lockup_detector_offline_cpu(unsigned int cpu) in lockup_detector_offline_cpu() argument
545 if (cpumask_test_cpu(cpu, &watchdog_allowed_mask)) in lockup_detector_offline_cpu()
546 watchdog_disable(cpu); in lockup_detector_offline_cpu()