Home
last modified time | relevance | path

Searched refs:SOFTIRQ_OFFSET (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/include/linux/
H A Dpreempt.h51 #define SOFTIRQ_OFFSET (1UL << SOFTIRQ_SHIFT) macro
55 #define SOFTIRQ_DISABLE_OFFSET (2 * SOFTIRQ_OFFSET)
97 level += !!(pc & (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_OFFSET)); in interrupt_context_level()
128 #define in_serving_softirq() (softirq_count() & SOFTIRQ_OFFSET)
132 # define in_task() (!(preempt_count() & (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_OFFSET)))
H A Dvtime.h140 vtime_account_irq(tsk, SOFTIRQ_OFFSET); in account_softirq_enter()
141 irqtime_account_irq(tsk, SOFTIRQ_OFFSET); in account_softirq_enter()
/openbmc/linux/kernel/
H A Dsoftirq.c240 cnt = SOFTIRQ_OFFSET; in __local_bh_enable_ip()
256 __local_bh_disable_ip(_RET_IP_, SOFTIRQ_OFFSET); in ksoftirqd_run_begin()
263 __local_bh_enable(SOFTIRQ_OFFSET, true); in ksoftirqd_run_end()
394 __local_bh_disable_ip(_RET_IP_, SOFTIRQ_OFFSET); in softirq_handle_begin()
399 __local_bh_enable(SOFTIRQ_OFFSET); in softirq_handle_end()
/openbmc/linux/kernel/sched/
H A Dcputime.c76 else if ((pc & SOFTIRQ_OFFSET) && curr != this_cpu_ksoftirqd()) in irqtime_account_irq()
446 } else if (pc & SOFTIRQ_OFFSET) { in vtime_account_irq()