Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/kernel/trace/
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()
Dtrace_clock.c126 if (unlikely(in_nmi())) in trace_clock_global()
Dtrace_stack.c175 if (in_nmi()) in check_stack()
/kernel/linux/linux-5.10/arch/m68k/mac/
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()
/kernel/linux/linux-5.10/include/linux/
Dhardirq.h119 BUG_ON(in_nmi() == NMI_MASK); \
135 BUG_ON(!in_nmi()); \
Dpreempt.h102 #define in_nmi() (preempt_count() & NMI_MASK) macro
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dsimd.h40 !in_irq() && !irqs_disabled() && !in_nmi() && in may_use_simd()
Dsdei.h53 if (in_nmi()) in on_sdei_stack()
/kernel/linux/linux-5.10/kernel/bpf/
Dpercpu_freelist.c85 if (in_nmi()) in __pcpu_freelist_push()
194 if (in_nmi()) in __pcpu_freelist_pop()
/kernel/linux/linux-5.10/arch/x86/hyperv/
Dhv_spinlock.c31 if (in_nmi()) in hv_qlock_wait()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/x86/xen/
Dspinlock.c43 if (irq == -1 || in_nmi()) in xen_qlock_wait()
/kernel/linux/linux-5.10/kernel/
Dirq_work.c104 WARN_ON_ONCE(in_nmi()); in irq_work_queue_on()
/kernel/linux/linux-5.10/fs/pstore/
Dplatform.c157 if (in_nmi()) in pstore_cannot_block_path()
452 in_nmi() ? "NMI" : why); in pstore_blackbox_dump()
512 in_nmi() ? "NMI" : why); in pstore_dump()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dirq.c478 get_paca()->in_nmi = 1; in replay_system_reset()
480 get_paca()->in_nmi = 0; in replay_system_reset()
Dstacktrace.c270 p->irq_soft_mask, p->in_mce, p->in_nmi); in raise_backtrace_ipi()
/kernel/linux/linux-5.10/kernel/debug/kdb/
Dkdb_debugger.c75 else if (in_nmi()) in kdb_stub()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dpaca.h219 u16 in_nmi; /* In nmi handler */ member
/kernel/linux/linux-5.10/arch/x86/kernel/
Dperf_regs.c139 if (!in_nmi()) { in perf_get_regs_user()
Dnmi.c200 WARN(in_nmi(), in unregister_nmi_handler()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_builtin.c659 get_paca()->in_nmi++; in kvmppc_bad_interrupt()
661 get_paca()->in_nmi--; in kvmppc_bad_interrupt()
/kernel/linux/linux-5.10/lib/
Dgenalloc.c285 BUG_ON(in_nmi()); in gen_pool_alloc_algo_owner()
494 BUG_ON(in_nmi()); in gen_pool_free_owner()
/kernel/linux/linux-5.10/arch/x86/events/amd/
Dcore.c620 if (in_nmi()) in amd_pmu_disable_all()
648 if (in_nmi()) in amd_pmu_disable_event()
/kernel/linux/linux-5.10/drivers/firmware/
Darm_sdei.c495 WARN_ON(in_nmi()); in sdei_event_unregister()
579 WARN_ON(in_nmi()); in sdei_event_register()
/kernel/linux/linux-5.10/kernel/rcu/
Dtree.c738 if (!in_nmi()) in rcu_nmi_exit()
749 if (!in_nmi()) in rcu_nmi_exit()
938 if (in_nmi()) in __rcu_irq_enter_check_tick()
999 if (!in_nmi()) in rcu_nmi_enter()
1006 if (!in_nmi()) { in rcu_nmi_enter()
1019 } else if (!in_nmi()) { in rcu_nmi_enter()
1155 if (in_nmi() || !rcu_scheduler_fully_active) in rcu_lockdep_current_cpu_online()

12