Home
last modified time | relevance | path

Searched refs:in_nmi (Results 1 – 25 of 60) sorted by relevance

123

/linux-6.6.21/arch/m68k/mac/
Dmacints.c144 static volatile int in_nmi; in mac_nmi_handler() local
146 if (in_nmi) in mac_nmi_handler()
148 in_nmi = 1; in mac_nmi_handler()
153 in_nmi = 0; in mac_nmi_handler()
/linux-6.6.21/arch/m68k/virt/
Dints.c92 static int in_nmi; in virt_nmi_handler() local
94 if (READ_ONCE(in_nmi)) in virt_nmi_handler()
96 WRITE_ONCE(in_nmi, 1); in virt_nmi_handler()
101 WRITE_ONCE(in_nmi, 0); in virt_nmi_handler()
/linux-6.6.21/include/linux/
Dhardirq.h111 BUG_ON(in_nmi() == NMI_MASK); \
127 BUG_ON(!in_nmi()); \
Dsrcu.h270 WARN_ON_ONCE(in_nmi()); in srcu_down_read()
327 WARN_ON_ONCE(in_nmi()); in srcu_up_read()
Dpreempt.h126 #define in_nmi() (nmi_count()) macro
/linux-6.6.21/arch/powerpc/kernel/
Dirq_64.c217 WARN_ON_ONCE(in_nmi()); in arch_local_irq_restore()
446 get_paca()->in_nmi = 1; in replay_system_reset()
448 get_paca()->in_nmi = 0; in replay_system_reset()
Dstacktrace.c194 p->irq_soft_mask, p->in_mce, p->in_nmi); in raise_backtrace_ipi()
/linux-6.6.21/kernel/bpf/
Dqueue_stack_maps.c101 if (in_nmi()) { in __queue_map_get()
136 if (in_nmi()) { in __stack_map_get()
206 if (in_nmi()) { in queue_stack_map_push_elem()
Dpercpu_freelist.c83 if (in_nmi()) in __pcpu_freelist_push()
186 if (in_nmi()) in __pcpu_freelist_pop()
/linux-6.6.21/kernel/
Dcontext_tracking.c242 if (!in_nmi()) in ct_nmi_exit()
276 if (!in_nmi()) in ct_nmi_enter()
290 } else if (!in_nmi()) { in ct_nmi_enter()
Dirq_work.c155 WARN_ON_ONCE(in_nmi()); in irq_work_queue_on()
/linux-6.6.21/arch/arm64/include/asm/
Dsimd.h40 !in_hardirq() && !irqs_disabled() && !in_nmi() && in may_use_simd()
/linux-6.6.21/kernel/printk/
Dprintk_safe.c41 if (this_cpu_read(printk_context) || in_nmi()) in vprintk()
/linux-6.6.21/arch/x86/hyperv/
Dhv_spinlock.c30 if (in_nmi()) in hv_qlock_wait()
Divm.c78 WARN_ON(in_nmi()); in hv_ghcb_hypercall()
194 WARN_ON(in_nmi()); in hv_ghcb_msr_write()
226 WARN_ON(in_nmi()); in hv_ghcb_msr_read()
/linux-6.6.21/kernel/trace/
Dtrace_clock.c126 if (unlikely(in_nmi())) in trace_clock_global()
Dtrace_preemptirq.c29 #define trace(point) if (!in_nmi()) trace_##point##_rcuidle
/linux-6.6.21/arch/x86/platform/uv/
Duv_nmi.c498 int first = atomic_add_unless(&hub_nmi->in_nmi, 1, 1); in uv_set_in_nmi()
521 nmi = atomic_read(&hub_nmi->in_nmi); in uv_check_nmi()
549 nmi = atomic_read(&hub_nmi->in_nmi); in uv_check_nmi()
583 atomic_set(&hub_nmi->in_nmi, 0); in uv_clear_nmi()
/linux-6.6.21/arch/x86/xen/
Dspinlock.c43 if (irq == -1 || in_nmi()) in xen_qlock_wait()
/linux-6.6.21/mm/kmsan/
Dkmsan.h127 if (in_nmi()) in kmsan_in_runtime()
/linux-6.6.21/kernel/debug/kdb/
Dkdb_debugger.c75 else if (in_nmi()) in kdb_stub()
/linux-6.6.21/arch/powerpc/include/asm/
Dpaca.h223 u16 in_nmi; /* In nmi handler */ member
/linux-6.6.21/arch/arm64/kernel/
Dstacktrace.c163 ((task == current) && in_nmi()) \
/linux-6.6.21/arch/x86/kernel/
Dperf_regs.c139 if (!in_nmi()) { in perf_get_regs_user()
/linux-6.6.21/fs/pstore/
Dplatform.c156 if (in_nmi()) in pstore_cannot_block_path()
293 in_nmi() ? "NMI" : why); in pstore_dump()

123