Searched refs:prev_nmi_count (Results 1 – 1 of 1) sorted by relevance
141 static void report_broken_nmi(int cpu, int *prev_nmi_count) in report_broken_nmi() argument147 cpu, prev_nmi_count[cpu], get_nmi_count(cpu)); in report_broken_nmi()169 unsigned int *prev_nmi_count; in check_nmi_watchdog() local175 prev_nmi_count = kmalloc_array(nr_cpu_ids, sizeof(unsigned int), in check_nmi_watchdog()177 if (!prev_nmi_count) { in check_nmi_watchdog()187 prev_nmi_count[cpu] = get_nmi_count(cpu); in check_nmi_watchdog()194 if (get_nmi_count(cpu) - prev_nmi_count[cpu] <= 5) in check_nmi_watchdog()195 report_broken_nmi(cpu, prev_nmi_count); in check_nmi_watchdog()199 kfree(prev_nmi_count); in check_nmi_watchdog()208 kfree(prev_nmi_count); in check_nmi_watchdog()