Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/arch/m68k/mac/
A 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.3-rc2/arch/m68k/virt/
A 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.3-rc2/include/linux/
A Dhardirq.h111 BUG_ON(in_nmi() == NMI_MASK); \
127 BUG_ON(!in_nmi()); \
A Dsrcu.h240 WARN_ON_ONCE(in_nmi()); in srcu_down_read()
297 WARN_ON_ONCE(in_nmi()); in srcu_up_read()
A Dpreempt.h118 #define in_nmi() (nmi_count()) macro
121 #define in_task() (!(in_nmi() | in_hardirq() | in_serving_softirq()))
/linux-6.3-rc2/arch/powerpc/kernel/
A Dirq_64.c217 WARN_ON_ONCE(in_nmi()); in arch_local_irq_restore()
450 get_paca()->in_nmi = 1; in replay_system_reset()
452 get_paca()->in_nmi = 0; in replay_system_reset()
A Dstacktrace.c211 p->irq_soft_mask, p->in_mce, p->in_nmi); in raise_backtrace_ipi()
/linux-6.3-rc2/arch/x86/hyperv/
A Divm.c68 WARN_ON(in_nmi()); in hv_ghcb_hypercall()
184 WARN_ON(in_nmi()); in hv_ghcb_msr_write()
217 WARN_ON(in_nmi()); in hv_ghcb_msr_read()
A Dhv_spinlock.c30 if (in_nmi()) in hv_qlock_wait()
/linux-6.3-rc2/kernel/
A 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()
A Dirq_work.c145 WARN_ON_ONCE(in_nmi()); in irq_work_queue_on()
/linux-6.3-rc2/arch/arm64/include/asm/
A Dsimd.h40 !in_hardirq() && !irqs_disabled() && !in_nmi() && in may_use_simd()
/linux-6.3-rc2/kernel/printk/
A Dprintk_safe.c41 if (this_cpu_read(printk_context) || in_nmi()) { in vprintk()
/linux-6.3-rc2/kernel/bpf/
A Dpercpu_freelist.c83 if (in_nmi()) in __pcpu_freelist_push()
186 if (in_nmi()) in __pcpu_freelist_pop()
/linux-6.3-rc2/kernel/trace/
A Dtrace_clock.c126 if (unlikely(in_nmi())) in trace_clock_global()
A Dtrace_preemptirq.c29 #define trace(point) if (!in_nmi()) trace_##point##_rcuidle
/linux-6.3-rc2/arch/x86/platform/uv/
A Duv_nmi.c502 int first = atomic_add_unless(&hub_nmi->in_nmi, 1, 1); in uv_set_in_nmi()
525 nmi = atomic_read(&hub_nmi->in_nmi); in uv_check_nmi()
553 nmi = atomic_read(&hub_nmi->in_nmi); in uv_check_nmi()
587 atomic_set(&hub_nmi->in_nmi, 0); in uv_clear_nmi()
/linux-6.3-rc2/arch/x86/xen/
A Dspinlock.c43 if (irq == -1 || in_nmi()) in xen_qlock_wait()
/linux-6.3-rc2/mm/kmsan/
A Dkmsan.h127 if (in_nmi()) in kmsan_in_runtime()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dpaca.h224 u16 in_nmi; /* In nmi handler */ member
/linux-6.3-rc2/arch/arm64/kernel/
A Dstacktrace.c186 ((task == current) && in_nmi()) \
/linux-6.3-rc2/kernel/debug/kdb/
A Dkdb_debugger.c75 else if (in_nmi()) in kdb_stub()
/linux-6.3-rc2/arch/x86/kernel/
A Dperf_regs.c139 if (!in_nmi()) { in perf_get_regs_user()
/linux-6.3-rc2/fs/pstore/
A Dplatform.c154 if (in_nmi()) in pstore_cannot_block_path()
404 in_nmi() ? "NMI" : why); in pstore_dump()
/linux-6.3-rc2/lib/
A Dgenalloc.c284 BUG_ON(in_nmi()); in gen_pool_alloc_algo_owner()
493 BUG_ON(in_nmi()); in gen_pool_free_owner()

Completed in 42 milliseconds

123