| /linux-6.15/kernel/ |
| H A D | softirq.c | 161 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 D | kcov.c | 171 return in_serving_softirq() && !in_hardirq() && !in_nmi(); in in_softirq_really()
|
| /linux-6.15/arch/arm/include/asm/ |
| H A D | simd.h | 7 return IS_ENABLED(CONFIG_KERNEL_MODE_NEON) && !in_hardirq(); in may_use_simd()
|
| /linux-6.15/arch/arm64/include/asm/ |
| H A D | simd.h | 32 !in_hardirq() && !irqs_disabled() && !in_nmi(); in may_use_simd()
|
| /linux-6.15/arch/riscv/include/asm/ |
| H A D | simd.h | 33 if (in_hardirq() || in_nmi()) in may_use_simd()
|
| /linux-6.15/arch/powerpc/kernel/ |
| H A D | irq_64.c | 218 WARN_ON_ONCE(in_hardirq()); in arch_local_irq_restore()
|
| /linux-6.15/include/linux/ |
| H A D | preempt.h | 127 #define in_hardirq() (hardirq_count()) macro
|
| H A D | local_lock_internal.h | 267 if (in_nmi() | in_hardirq()) { \
|
| /linux-6.15/arch/x86/kernel/fpu/ |
| H A D | core.c | 70 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 D | process.c | 138 if (in_hardirq()) in common_shutdown_1()
|
| /linux-6.15/drivers/tty/ |
| H A D | sysrq.c | 262 if (in_hardirq()) in sysrq_handle_showallcpus() 290 if (in_hardirq()) in sysrq_handle_showregs()
|
| /linux-6.15/Documentation/core-api/ |
| H A D | entry.rst | 167 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 D | bpf_sk_storage.c | 386 if (in_hardirq() || in_nmi()) in BPF_CALL_5() 397 if (in_hardirq() || in_nmi()) in BPF_CALL_2()
|
| H A D | gen_stats.c | 157 WARN_ON_ONCE((cpu || running) && in_hardirq()); in gnet_stats_add_basic()
|
| /linux-6.15/net/nfc/ |
| H A D | rawsock.c | 144 BUG_ON(in_hardirq()); in rawsock_data_exchange_complete()
|
| /linux-6.15/drivers/char/ |
| H A D | random.c | 1161 if (in_hardirq()) { in add_timer_randomness() 1211 if (in_hardirq()) in add_timer_randomness()
|
| /linux-6.15/mm/ |
| H A D | highmem.c | 477 WARN_ON_ONCE(in_hardirq() && !irqs_disabled()); in kmap_local_idx_push()
|
| H A D | kmemleak.c | 679 if (in_hardirq()) { in __alloc_object()
|
| /linux-6.15/arch/arm/vfp/ |
| H A D | vfpmodule.c | 879 BUG_ON(in_hardirq()); in kernel_neon_begin()
|
| /linux-6.15/Documentation/translations/zh_CN/kernel-hacking/ |
| H A D | hacking.rst | 71 您可以通过 in_hardirq() 返回真来判断您处于硬件中断状态。
|
| /linux-6.15/kernel/irq/ |
| H A D | irqdesc.c | 711 if (WARN_ON_ONCE(!in_hardirq() && irqd_is_handle_enforce_irqctx(data))) in handle_irq_desc()
|
| /linux-6.15/crypto/ |
| H A D | skcipher.c | 268 if (WARN_ON_ONCE(in_hardirq())) in skcipher_walk_first()
|
| /linux-6.15/kernel/rcu/ |
| H A D | tree_plugin.h | 663 if (use_softirq && (in_hardirq() || (expboost && !irqs_were_disabled))) { in rcu_read_unlock_special()
|
| /linux-6.15/kernel/trace/ |
| H A D | trace_functions_graph.c | 191 return in_hardirq(); in ftrace_graph_ignore_irqs()
|
| /linux-6.15/block/ |
| H A D | bio.c | 786 } else if (in_hardirq()) { in bio_put_percpu_cache()
|