Home
last modified time | relevance | path

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

12

/linux-6.6.21/kernel/
Dsoftirq.c148 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()
498 static inline void lockdep_softirq_end(bool in_hardirq) in lockdep_softirq_end() argument
502 if (in_hardirq) in lockdep_softirq_end()
[all …]
/linux-6.6.21/arch/arm/include/asm/
Dsimd.h7 return IS_ENABLED(CONFIG_KERNEL_MODE_NEON) && !in_hardirq(); in may_use_simd()
/linux-6.6.21/arch/arm64/include/asm/
Dsimd.h40 !in_hardirq() && !irqs_disabled() && !in_nmi() && in may_use_simd()
/linux-6.6.21/include/linux/
Dpreempt.h127 #define in_hardirq() (hardirq_count()) macro
/linux-6.6.21/arch/powerpc/kernel/
Dirq_64.c218 WARN_ON_ONCE(in_hardirq()); in arch_local_irq_restore()
/linux-6.6.21/arch/alpha/kernel/
Dprocess.c138 if (in_hardirq()) in common_shutdown_1()
/linux-6.6.21/Documentation/core-api/
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.6.21/drivers/tty/
Dsysrq.c262 if (in_hardirq()) in sysrq_handle_showallcpus()
290 if (in_hardirq()) in sysrq_handle_showregs()
/linux-6.6.21/net/core/
Dbpf_sk_storage.c393 if (in_hardirq() || in_nmi()) in BPF_CALL_5()
404 if (in_hardirq() || in_nmi()) in BPF_CALL_2()
Dgen_stats.c157 WARN_ON_ONCE((cpu || running) && in_hardirq()); in gnet_stats_add_basic()
Dskbuff.c308 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()
/linux-6.6.21/net/nfc/
Drawsock.c144 BUG_ON(in_hardirq()); in rawsock_data_exchange_complete()
/linux-6.6.21/drivers/char/
Drandom.c1137 if (in_hardirq()) { in add_timer_randomness()
1187 if (in_hardirq()) in add_timer_randomness()
/linux-6.6.21/arch/x86/kernel/fpu/
Dcore.c76 if (!in_hardirq()) in irq_fpu_usable()
/linux-6.6.21/mm/
Dhighmem.c466 WARN_ON_ONCE(in_hardirq() && !irqs_disabled()); in kmap_local_idx_push()
Dkmemleak.c663 if (in_hardirq()) { in __create_object()
/linux-6.6.21/arch/arm/vfp/
Dvfpmodule.c829 BUG_ON(in_hardirq()); in kernel_neon_begin()
/linux-6.6.21/Documentation/translations/zh_CN/kernel-hacking/
Dhacking.rst71 您可以通过 in_hardirq() 返回真来判断您处于硬件中断状态。
/linux-6.6.21/kernel/irq/
Dirqdesc.c669 if (WARN_ON_ONCE(!in_hardirq() && handle_enforce_irqctx(data))) in handle_irq_desc()
/linux-6.6.21/kernel/rcu/
Dtree_plugin.h651 if (use_softirq && (in_hardirq() || (expboost && !irqs_were_disabled))) { in rcu_read_unlock_special()
/linux-6.6.21/crypto/
Dskcipher.c452 if (WARN_ON_ONCE(in_hardirq())) in skcipher_walk_first()
/linux-6.6.21/kernel/trace/
Dtrace_functions_graph.c129 return in_hardirq(); in ftrace_graph_ignore_irqs()
Dtrace.h927 if (in_hardirq()) in ftrace_graph_addr()
/linux-6.6.21/kernel/time/
Dtimer.c1563 WARN_ON(in_hardirq() && !(timer->flags & TIMER_IRQSAFE)); in __timer_delete_sync()
/linux-6.6.21/Documentation/kernel-hacking/
Dlocking.rst1415 Hardware interrupt request. in_hardirq() returns true in a
1427 Software interrupt handler. in_hardirq() returns false;

12