Lines Matching defs:nmi_active
37 /* nmi_active:
43 atomic_t nmi_active = ATOMIC_INIT(0); /* oprofile uses this */
91 if (!atomic_read(&nmi_active))
119 atomic_dec(&nmi_active);
122 if (!atomic_read(&nmi_active)) {
124 atomic_set(&nmi_active, -1);
174 if (atomic_read(&nmi_active) && nmi_watchdog == NMI_IO_APIC)
188 if (atomic_read(&nmi_active) && nmi_watchdog == NMI_IO_APIC)
193 static int nmi_pm_active; /* nmi_active before suspend */
198 nmi_pm_active = atomic_read(&nmi_active);
200 BUG_ON(atomic_read(&nmi_active) != 0);
235 if ( atomic_read(&nmi_active) < 0 )
255 if ((smp_processor_id() != 0) && (atomic_read(&nmi_active) <= 0))
268 atomic_inc(&nmi_active);
283 atomic_dec(&nmi_active);
422 nmi_watchdog_enabled = (atomic_read(&nmi_active) > 0) ? 1 : 0;
428 if (atomic_read(&nmi_active) < 0) {
464 EXPORT_SYMBOL(nmi_active);