Home
last modified time | relevance | path

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

123

/linux/kernel/trace/
A Dtrace_preemptirq.c31 if (!in_nmi()) in trace_hardirqs_on_prepare()
43 if (!in_nmi()) in trace_hardirqs_on()
66 if (!in_nmi()) in trace_hardirqs_off_finish()
81 if (!in_nmi()) in trace_hardirqs_off()
91 if (!in_nmi()) in trace_hardirqs_on_caller()
110 if (!in_nmi()) in trace_hardirqs_off_caller()
122 if (!in_nmi()) in trace_preempt_on()
129 if (!in_nmi()) in trace_preempt_off()
A Dtrace_clock.c126 if (unlikely(in_nmi())) in trace_clock_global()
/linux/arch/m68k/mac/
A Dmacints.c258 static volatile int in_nmi; variable
262 if (in_nmi) in mac_nmi_handler()
264 in_nmi = 1; in mac_nmi_handler()
269 in_nmi = 0; in mac_nmi_handler()
/linux/include/linux/
A Dhardirq.h119 BUG_ON(in_nmi() == NMI_MASK); \
135 BUG_ON(!in_nmi()); \
A Dpreempt.h118 #define in_nmi() (nmi_count()) macro
121 #define in_task() (!(in_nmi() | in_hardirq() | in_serving_softirq()))
A Drcutiny.h88 (is_idle_task(current) && !in_nmi() && !in_irq() && !in_serving_softirq())
/linux/arch/x86/hyperv/
A Divm.c66 WARN_ON(in_nmi()); in hv_ghcb_hypercall()
109 WARN_ON(in_nmi()); in hv_ghcb_msr_write()
144 WARN_ON(in_nmi()); in hv_ghcb_msr_read()
A Dhv_spinlock.c30 if (in_nmi()) in hv_qlock_wait()
/linux/arch/powerpc/kernel/
A Dirq.c233 WARN_ON_ONCE(in_nmi() || in_hardirq()); in arch_local_irq_restore()
328 WARN_ON_ONCE(in_nmi() || in_hardirq()); in arch_local_irq_restore()
503 get_paca()->in_nmi = 1; in replay_system_reset()
505 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/kernel/bpf/
A Dpercpu_freelist.c85 if (in_nmi()) in __pcpu_freelist_push()
195 if (in_nmi()) in __pcpu_freelist_pop()
A Dhelpers.c1103 if (in_nmi()) in BPF_CALL_3()
1159 if (in_nmi()) in BPF_CALL_3()
1210 if (in_nmi()) in BPF_CALL_3()
1251 if (in_nmi()) in BPF_CALL_1()
/linux/arch/arm64/include/asm/
A Dsimd.h40 !in_hardirq() && !irqs_disabled() && !in_nmi() && in may_use_simd()
A Dsdei.h57 if (in_nmi()) in on_sdei_stack()
/linux/kernel/printk/
A Dprintk_safe.c41 if (this_cpu_read(printk_context) || in_nmi()) { in vprintk()
/linux/arch/x86/platform/uv/
A Duv_nmi.c501 int first = atomic_add_unless(&hub_nmi->in_nmi, 1, 1); in uv_set_in_nmi()
524 nmi = atomic_read(&hub_nmi->in_nmi); in uv_check_nmi()
552 nmi = atomic_read(&hub_nmi->in_nmi); in uv_check_nmi()
586 atomic_set(&hub_nmi->in_nmi, 0); in uv_clear_nmi()
/linux/arch/x86/xen/
A Dspinlock.c43 if (irq == -1 || in_nmi()) in xen_qlock_wait()
/linux/kernel/debug/kdb/
A Dkdb_debugger.c75 else if (in_nmi()) in kdb_stub()
/linux/arch/powerpc/include/asm/
A Dpaca.h224 u16 in_nmi; /* In nmi handler */ member
/linux/arch/powerpc/kvm/
A Dbook3s_hv_builtin.c564 get_paca()->in_nmi++; in kvmppc_bad_interrupt()
566 get_paca()->in_nmi--; in kvmppc_bad_interrupt()
/linux/arch/x86/kernel/
A Dperf_regs.c139 if (!in_nmi()) { in perf_get_regs_user()
/linux/kernel/
A Dirq_work.c145 WARN_ON_ONCE(in_nmi()); in irq_work_queue_on()
/linux/fs/pstore/
A Dplatform.c154 if (in_nmi()) in pstore_cannot_wait()
400 in_nmi() ? "NMI" : why); in pstore_dump()
/linux/lib/
A Dgenalloc.c286 BUG_ON(in_nmi()); in gen_pool_alloc_algo_owner()
495 BUG_ON(in_nmi()); in gen_pool_free_owner()
/linux/arch/x86/events/amd/
A Dcore.c620 if (in_nmi()) in amd_pmu_disable_all()
648 if (in_nmi()) in amd_pmu_disable_event()

Completed in 37 milliseconds

123