Home
last modified time | relevance | path

Searched refs:in_hardirq (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.15/kernel/
H A Dsoftirq.c161 WARN_ON_ONCE(in_hardirq()); in __local_bh_disable_ip()
225 WARN_ON_ONCE(in_hardirq()); in __local_bh_enable_ip()
332 WARN_ON_ONCE(in_hardirq()); in __local_bh_disable_ip()
379 WARN_ON_ONCE(in_hardirq()); in _local_bh_enable()
386 WARN_ON_ONCE(in_hardirq()); in __local_bh_enable_ip()
512 bool in_hardirq = false; in lockdep_softirq_start() local
515 in_hardirq = true; in lockdep_softirq_start()
521 return in_hardirq; in lockdep_softirq_start()
528 if (in_hardirq) in lockdep_softirq_end()
542 bool in_hardirq; in handle_softirqs() local
[all …]
H A Dkcov.c171 return in_serving_softirq() && !in_hardirq() && !in_nmi(); in in_softirq_really()
/linux-6.15/arch/arm/include/asm/
H A Dsimd.h7 return IS_ENABLED(CONFIG_KERNEL_MODE_NEON) && !in_hardirq(); in may_use_simd()
/linux-6.15/arch/arm64/include/asm/
H A Dsimd.h32 !in_hardirq() && !irqs_disabled() && !in_nmi(); in may_use_simd()
/linux-6.15/arch/riscv/include/asm/
H A Dsimd.h33 if (in_hardirq() || in_nmi()) in may_use_simd()
/linux-6.15/arch/powerpc/kernel/
H A Dirq_64.c218 WARN_ON_ONCE(in_hardirq()); in arch_local_irq_restore()
/linux-6.15/include/linux/
H A Dpreempt.h127 #define in_hardirq() (hardirq_count()) macro
H A Dlocal_lock_internal.h267 if (in_nmi() | in_hardirq()) { \
/linux-6.15/arch/x86/kernel/fpu/
H A Dcore.c70 WARN_ON_FPU(!in_hardirq()); in irq_fpu_usable()
83 if (!in_hardirq()) in irq_fpu_usable()
/linux-6.15/arch/alpha/kernel/
H A Dprocess.c138 if (in_hardirq()) in common_shutdown_1()
/linux-6.15/drivers/tty/
H A Dsysrq.c262 if (in_hardirq()) in sysrq_handle_showallcpus()
290 if (in_hardirq()) in sysrq_handle_showregs()
/linux-6.15/Documentation/core-api/
H A Dentry.rst167 irq_enter_rcu() updates the preemption count which makes in_hardirq()
169 means that up to the point where irq_enter_rcu() is invoked in_hardirq()
/linux-6.15/net/core/
H A Dbpf_sk_storage.c386 if (in_hardirq() || in_nmi()) in BPF_CALL_5()
397 if (in_hardirq() || in_nmi()) in BPF_CALL_2()
H A Dgen_stats.c157 WARN_ON_ONCE((cpu || running) && in_hardirq()); in gnet_stats_add_basic()
/linux-6.15/net/nfc/
H A Drawsock.c144 BUG_ON(in_hardirq()); in rawsock_data_exchange_complete()
/linux-6.15/drivers/char/
H A Drandom.c1161 if (in_hardirq()) { in add_timer_randomness()
1211 if (in_hardirq()) in add_timer_randomness()
/linux-6.15/mm/
H A Dhighmem.c477 WARN_ON_ONCE(in_hardirq() && !irqs_disabled()); in kmap_local_idx_push()
H A Dkmemleak.c679 if (in_hardirq()) { in __alloc_object()
/linux-6.15/arch/arm/vfp/
H A Dvfpmodule.c879 BUG_ON(in_hardirq()); in kernel_neon_begin()
/linux-6.15/Documentation/translations/zh_CN/kernel-hacking/
H A Dhacking.rst71 您可以通过 in_hardirq() 返回真来判断您处于硬件中断状态。
/linux-6.15/kernel/irq/
H A Dirqdesc.c711 if (WARN_ON_ONCE(!in_hardirq() && irqd_is_handle_enforce_irqctx(data))) in handle_irq_desc()
/linux-6.15/crypto/
H A Dskcipher.c268 if (WARN_ON_ONCE(in_hardirq())) in skcipher_walk_first()
/linux-6.15/kernel/rcu/
H A Dtree_plugin.h663 if (use_softirq && (in_hardirq() || (expboost && !irqs_were_disabled))) { in rcu_read_unlock_special()
/linux-6.15/kernel/trace/
H A Dtrace_functions_graph.c191 return in_hardirq(); in ftrace_graph_ignore_irqs()
/linux-6.15/block/
H A Dbio.c786 } else if (in_hardirq()) { in bio_put_percpu_cache()

12