/openbmc/linux/kernel/ |
H A D | softirq.c | 148 WARN_ON_ONCE(in_hardirq()); in __local_bh_disable_ip() 210 WARN_ON_ONCE(in_hardirq()); in __local_bh_enable_ip() 306 WARN_ON_ONCE(in_hardirq()); in __local_bh_disable_ip() 353 WARN_ON_ONCE(in_hardirq()); in _local_bh_enable() 360 WARN_ON_ONCE(in_hardirq()); in __local_bh_enable_ip() 486 bool in_hardirq = false; in lockdep_softirq_start() local 489 in_hardirq = true; in lockdep_softirq_start() 495 return in_hardirq; in lockdep_softirq_start() 502 if (in_hardirq) in lockdep_softirq_end() 516 bool in_hardirq; in handle_softirqs() local [all …]
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | simd.h | 7 return IS_ENABLED(CONFIG_KERNEL_MODE_NEON) && !in_hardirq(); in may_use_simd()
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | simd.h | 40 !in_hardirq() && !irqs_disabled() && !in_nmi() && in may_use_simd()
|
/openbmc/linux/include/linux/ |
H A D | preempt.h | 127 #define in_hardirq() (hardirq_count()) macro
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | irq_64.c | 218 WARN_ON_ONCE(in_hardirq()); in arch_local_irq_restore()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | process.c | 138 if (in_hardirq()) in common_shutdown_1()
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/tty/ |
H A D | sysrq.c | 262 if (in_hardirq()) in sysrq_handle_showallcpus() 290 if (in_hardirq()) in sysrq_handle_showregs()
|
/openbmc/linux/net/core/ |
H A D | bpf_sk_storage.c | 393 if (in_hardirq() || in_nmi()) in BPF_CALL_5() 404 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()
|
H A D | skbuff.c | 308 if (in_hardirq() || irqs_disabled()) { in __netdev_alloc_frag_align() 725 if (in_hardirq() || irqs_disabled()) { in __netdev_alloc_skb() 1038 DEBUG_NET_WARN_ON_ONCE(in_hardirq()); in skb_release_head_state()
|
/openbmc/linux/net/nfc/ |
H A D | rawsock.c | 144 BUG_ON(in_hardirq()); in rawsock_data_exchange_complete()
|
/openbmc/linux/drivers/char/ |
H A D | random.c | 1137 if (in_hardirq()) { in add_timer_randomness() 1187 if (in_hardirq()) in add_timer_randomness()
|
/openbmc/linux/mm/ |
H A D | highmem.c | 466 WARN_ON_ONCE(in_hardirq() && !irqs_disabled()); in kmap_local_idx_push()
|
H A D | kmemleak.c | 663 if (in_hardirq()) { in __create_object()
|
/openbmc/linux/arch/x86/kernel/fpu/ |
H A D | core.c | 76 if (!in_hardirq()) in irq_fpu_usable()
|
/openbmc/linux/arch/arm/vfp/ |
H A D | vfpmodule.c | 829 BUG_ON(in_hardirq()); in kernel_neon_begin()
|
/openbmc/linux/Documentation/translations/zh_CN/kernel-hacking/ |
H A D | hacking.rst | 71 您可以通过 in_hardirq() 返回真来判断您处于硬件中断状态。
|
/openbmc/linux/kernel/irq/ |
H A D | irqdesc.c | 672 if (WARN_ON_ONCE(!in_hardirq() && handle_enforce_irqctx(data))) in handle_irq_desc()
|
/openbmc/linux/kernel/rcu/ |
H A D | tree_plugin.h | 651 if (use_softirq && (in_hardirq() || (expboost && !irqs_were_disabled))) { in rcu_read_unlock_special()
|
/openbmc/linux/crypto/ |
H A D | skcipher.c | 452 if (WARN_ON_ONCE(in_hardirq())) in skcipher_walk_first()
|
/openbmc/linux/kernel/trace/ |
H A D | trace_functions_graph.c | 129 return in_hardirq(); in ftrace_graph_ignore_irqs()
|
H A D | trace.h | 927 if (in_hardirq()) in ftrace_graph_addr()
|
/openbmc/linux/kernel/time/ |
H A D | timer.c | 1563 WARN_ON(in_hardirq() && !(timer->flags & TIMER_IRQSAFE)); in __timer_delete_sync()
|
/openbmc/linux/Documentation/kernel-hacking/ |
H A D | locking.rst | 1415 Hardware interrupt request. in_hardirq() returns true in a 1427 Software interrupt handler. in_hardirq() returns false;
|