Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/
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)))
Dvtime.h135 vtime_account_irq(tsk, SOFTIRQ_OFFSET); in account_softirq_enter()
136 irqtime_account_irq(tsk, SOFTIRQ_OFFSET); in account_softirq_enter()
/linux-6.12.1/kernel/
Dsoftirq.c241 cnt = SOFTIRQ_OFFSET; in __local_bh_enable_ip()
257 __local_bh_disable_ip(_RET_IP_, SOFTIRQ_OFFSET); in ksoftirqd_run_begin()
264 __local_bh_enable(SOFTIRQ_OFFSET, true); in ksoftirqd_run_end()
395 __local_bh_disable_ip(_RET_IP_, SOFTIRQ_OFFSET); in softirq_handle_begin()
400 __local_bh_enable(SOFTIRQ_OFFSET); in softirq_handle_end()
/linux-6.12.1/kernel/sched/
Dcputime.c76 else if ((pc & SOFTIRQ_OFFSET) && curr != this_cpu_ksoftirqd()) in irqtime_account_irq()
433 } else if (pc & SOFTIRQ_OFFSET) { in vtime_account_irq()
/linux-6.12.1/kernel/trace/
Dring_buffer.c4054 if (pc & SOFTIRQ_OFFSET) in show_interrupt_level()