Searched refs:in_hardirq (Results 1 – 25 of 39) sorted by relevance
12
149 WARN_ON_ONCE(in_hardirq()); in __local_bh_disable_ip()211 WARN_ON_ONCE(in_hardirq()); in __local_bh_enable_ip()307 WARN_ON_ONCE(in_hardirq()); in __local_bh_disable_ip()354 WARN_ON_ONCE(in_hardirq()); in _local_bh_enable()361 WARN_ON_ONCE(in_hardirq()); in __local_bh_enable_ip()487 bool in_hardirq = false; in lockdep_softirq_start() local490 in_hardirq = true; in lockdep_softirq_start()496 return in_hardirq; in lockdep_softirq_start()499 static inline void lockdep_softirq_end(bool in_hardirq) in lockdep_softirq_end() argument503 if (in_hardirq) in lockdep_softirq_end()[all …]
171 return in_serving_softirq() && !in_hardirq() && !in_nmi(); in in_softirq_really()
7 return IS_ENABLED(CONFIG_KERNEL_MODE_NEON) && !in_hardirq(); in may_use_simd()
32 !in_hardirq() && !irqs_disabled() && !in_nmi(); in may_use_simd()
33 if (in_hardirq() || in_nmi()) in may_use_simd()
218 WARN_ON_ONCE(in_hardirq()); in arch_local_irq_restore()
127 #define in_hardirq() (hardirq_count()) macro
138 if (in_hardirq()) in common_shutdown_1()
262 if (in_hardirq()) in sysrq_handle_showallcpus()290 if (in_hardirq()) in sysrq_handle_showregs()
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()
394 if (in_hardirq() || in_nmi()) in BPF_CALL_5()405 if (in_hardirq() || in_nmi()) in BPF_CALL_2()
157 WARN_ON_ONCE((cpu || running) && in_hardirq()); in gnet_stats_add_basic()
144 BUG_ON(in_hardirq()); in rawsock_data_exchange_complete()
1161 if (in_hardirq()) { in add_timer_randomness()1211 if (in_hardirq()) in add_timer_randomness()
477 WARN_ON_ONCE(in_hardirq() && !irqs_disabled()); in kmap_local_idx_push()
669 if (in_hardirq()) { in __alloc_object()
76 if (!in_hardirq()) in irq_fpu_usable()
847 BUG_ON(in_hardirq()); in kernel_neon_begin()
71 您可以通过 in_hardirq() 返回真来判断您处于硬件中断状态。
689 if (WARN_ON_ONCE(!in_hardirq() && handle_enforce_irqctx(data))) in handle_irq_desc()
662 if (use_softirq && (in_hardirq() || (expboost && !irqs_were_disabled))) { in rcu_read_unlock_special()
432 if (WARN_ON_ONCE(in_hardirq())) in skcipher_walk_first()
127 return in_hardirq(); in ftrace_graph_ignore_irqs()
786 } else if (in_hardirq()) { in bio_put_percpu_cache()
1657 WARN_ON(in_hardirq() && !(timer->flags & TIMER_IRQSAFE)); in __timer_delete_sync()