Searched refs:in_hardirq (Results 1 – 25 of 35) sorted by relevance
12
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() local489 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() argument502 if (in_hardirq) in lockdep_softirq_end()[all …]
7 return IS_ENABLED(CONFIG_KERNEL_MODE_NEON) && !in_hardirq(); in may_use_simd()
40 !in_hardirq() && !irqs_disabled() && !in_nmi() && in may_use_simd()
127 #define in_hardirq() (hardirq_count()) macro
218 WARN_ON_ONCE(in_hardirq()); in arch_local_irq_restore()
138 if (in_hardirq()) in common_shutdown_1()
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()
262 if (in_hardirq()) in sysrq_handle_showallcpus()290 if (in_hardirq()) in sysrq_handle_showregs()
393 if (in_hardirq() || in_nmi()) in BPF_CALL_5()404 if (in_hardirq() || in_nmi()) in BPF_CALL_2()
157 WARN_ON_ONCE((cpu || running) && in_hardirq()); in gnet_stats_add_basic()
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()
144 BUG_ON(in_hardirq()); in rawsock_data_exchange_complete()
1137 if (in_hardirq()) { in add_timer_randomness()1187 if (in_hardirq()) in add_timer_randomness()
76 if (!in_hardirq()) in irq_fpu_usable()
466 WARN_ON_ONCE(in_hardirq() && !irqs_disabled()); in kmap_local_idx_push()
663 if (in_hardirq()) { in __create_object()
829 BUG_ON(in_hardirq()); in kernel_neon_begin()
71 您可以通过 in_hardirq() 返回真来判断您处于硬件中断状态。
669 if (WARN_ON_ONCE(!in_hardirq() && handle_enforce_irqctx(data))) in handle_irq_desc()
651 if (use_softirq && (in_hardirq() || (expboost && !irqs_were_disabled))) { in rcu_read_unlock_special()
452 if (WARN_ON_ONCE(in_hardirq())) in skcipher_walk_first()
129 return in_hardirq(); in ftrace_graph_ignore_irqs()
927 if (in_hardirq()) in ftrace_graph_addr()
1563 WARN_ON(in_hardirq() && !(timer->flags & TIMER_IRQSAFE)); in __timer_delete_sync()
1415 Hardware interrupt request. in_hardirq() returns true in a1427 Software interrupt handler. in_hardirq() returns false;