Home
last modified time | relevance | path

Searched refs:hardirq_count (Results 1 – 10 of 10) sorted by relevance

/linux/include/linux/
H A Dpreempt.h109 #define hardirq_count() (preempt_count() & HARDIRQ_MASK) macro
127 #define in_hardirq() (hardirq_count())
141 #define in_irq() (hardirq_count())
/linux/arch/m68k/include/asm/
H A Dirqflags.h44 if (MACH_IS_Q40 || !hardirq_count()) in arch_local_irq_enable()
/linux/arch/sparc/include/asm/
H A Dthread_info_32.h36 int hardirq_count; member
/linux/mm/kmsan/
H A Dkmsan.h102 if ((hardirq_count() >> HARDIRQ_SHIFT) > 1) in kmsan_in_runtime()
/linux/arch/sparc/kernel/
H A Dtraps_32.c378 TI_HARDIRQ != offsetof(struct thread_info, hardirq_count) ||
/linux/arch/s390/kernel/
H A Dvtime.c134 if (hardirq_count()) in do_account_vtime()
/linux/kernel/sched/
H A Dcputime.c198 if (hardirq_count() - hardirq_offset) in account_system_time()
/linux/kernel/kcsan/
H A Dcore.c259 if ((hardirq_count() >> HARDIRQ_SHIFT) < 2) in is_atomic()
/linux/kernel/locking/
H A Dlockdep.c2571 lockdep_hardirq_context(), hardirq_count() >> HARDIRQ_SHIFT, in print_bad_irq_dependency()
4026 lockdep_hardirq_context(), hardirq_count() >> HARDIRQ_SHIFT, in print_usage_bug()
5715 if (!hardirq_count()) { in check_flags()
/linux/net/core/
H A Ddev.c5520 lockdep_assert_once(hardirq_count() | softirq_count()); in __netif_rx()
5550 bool need_bh_off = !(hardirq_count() | softirq_count()); in netif_rx()