/linux-6.6.21/arch/m68k/mac/ |
D | macints.c | 144 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/ |
D | ints.c | 92 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/ |
D | hardirq.h | 111 BUG_ON(in_nmi() == NMI_MASK); \ 127 BUG_ON(!in_nmi()); \
|
D | srcu.h | 270 WARN_ON_ONCE(in_nmi()); in srcu_down_read() 327 WARN_ON_ONCE(in_nmi()); in srcu_up_read()
|
D | preempt.h | 126 #define in_nmi() (nmi_count()) macro
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | irq_64.c | 217 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()
|
D | stacktrace.c | 194 p->irq_soft_mask, p->in_mce, p->in_nmi); in raise_backtrace_ipi()
|
/linux-6.6.21/kernel/bpf/ |
D | queue_stack_maps.c | 101 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()
|
D | percpu_freelist.c | 83 if (in_nmi()) in __pcpu_freelist_push() 186 if (in_nmi()) in __pcpu_freelist_pop()
|
/linux-6.6.21/kernel/ |
D | context_tracking.c | 242 if (!in_nmi()) in ct_nmi_exit() 276 if (!in_nmi()) in ct_nmi_enter() 290 } else if (!in_nmi()) { in ct_nmi_enter()
|
D | irq_work.c | 155 WARN_ON_ONCE(in_nmi()); in irq_work_queue_on()
|
/linux-6.6.21/arch/arm64/include/asm/ |
D | simd.h | 40 !in_hardirq() && !irqs_disabled() && !in_nmi() && in may_use_simd()
|
/linux-6.6.21/kernel/printk/ |
D | printk_safe.c | 41 if (this_cpu_read(printk_context) || in_nmi()) in vprintk()
|
/linux-6.6.21/arch/x86/hyperv/ |
D | hv_spinlock.c | 30 if (in_nmi()) in hv_qlock_wait()
|
D | ivm.c | 78 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/ |
D | trace_clock.c | 126 if (unlikely(in_nmi())) in trace_clock_global()
|
D | trace_preemptirq.c | 29 #define trace(point) if (!in_nmi()) trace_##point##_rcuidle
|
/linux-6.6.21/arch/x86/platform/uv/ |
D | uv_nmi.c | 498 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/ |
D | spinlock.c | 43 if (irq == -1 || in_nmi()) in xen_qlock_wait()
|
/linux-6.6.21/mm/kmsan/ |
D | kmsan.h | 127 if (in_nmi()) in kmsan_in_runtime()
|
/linux-6.6.21/kernel/debug/kdb/ |
D | kdb_debugger.c | 75 else if (in_nmi()) in kdb_stub()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | paca.h | 223 u16 in_nmi; /* In nmi handler */ member
|
/linux-6.6.21/arch/arm64/kernel/ |
D | stacktrace.c | 163 ((task == current) && in_nmi()) \
|
/linux-6.6.21/arch/x86/kernel/ |
D | perf_regs.c | 139 if (!in_nmi()) { in perf_get_regs_user()
|
/linux-6.6.21/fs/pstore/ |
D | platform.c | 156 if (in_nmi()) in pstore_cannot_block_path() 293 in_nmi() ? "NMI" : why); in pstore_dump()
|