Searched refs:hardirq_count (Results 1 – 12 of 12) sorted by relevance
80 #define hardirq_count() (preempt_count() & HARDIRQ_MASK) macro98 #define in_irq() (hardirq_count())
9 #define hardirq_count() 0UL macro
44 if (MACH_IS_Q40 || !hardirq_count()) in arch_local_irq_enable()
36 int hardirq_count; member
144 if (hardirq_count()) in do_account_vtime()240 else if (hardirq_count()) in vtime_account_irq_enter()
143 else if (hardirq_count()) in vtime_account_kernel()
379 TI_HARDIRQ != offsetof(struct thread_info, hardirq_count) ||
77 if (hardirq_count()) in irqtime_account_irq()208 if (hardirq_count() - hardirq_offset) in account_system_time()
621 kgdb_info[cpu].irq_depth = hardirq_count() >> HARDIRQ_SHIFT; in kgdb_cpu_enter()
351 if (hardirq_count()) in vtime_account_kernel()
245 if ((hardirq_count() >> HARDIRQ_SHIFT) < 2) in is_atomic()
2514 lockdep_hardirq_context(), hardirq_count() >> HARDIRQ_SHIFT, in print_bad_irq_dependency()3844 lockdep_hardirq_context(), hardirq_count() >> HARDIRQ_SHIFT, in print_usage_bug()5421 if (!hardirq_count()) { in check_flags()