Home
last modified time | relevance | path

Searched refs:HARDIRQ_OFFSET (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/include/linux/
H A Dhardirq.h36 preempt_count_add(HARDIRQ_OFFSET); \
48 preempt_count_add(HARDIRQ_OFFSET); \
68 preempt_count_sub(HARDIRQ_OFFSET); \
77 preempt_count_sub(HARDIRQ_OFFSET); \
112 __preempt_count_add(NMI_OFFSET + HARDIRQ_OFFSET); \
128 __preempt_count_sub(NMI_OFFSET + HARDIRQ_OFFSET); \
H A Dvtime.h152 vtime_account_irq(tsk, HARDIRQ_OFFSET); in account_hardirq_enter()
153 irqtime_account_irq(tsk, HARDIRQ_OFFSET); in account_hardirq_enter()
H A Dpreempt.h52 #define HARDIRQ_OFFSET (1UL << HARDIRQ_SHIFT) macro
/openbmc/linux/Documentation/core-api/
H A Dentry.rst180 preemption count has not yet been updated with the HARDIRQ_OFFSET state.
182 Note that irq_exit_rcu() must remove HARDIRQ_OFFSET from the preemption count
185 also requires that HARDIRQ_OFFSET has been removed from the preemption count.
/openbmc/linux/arch/sh/kernel/
H A Dirq.c130 irqctx->tinfo.preempt_count = HARDIRQ_OFFSET; in irq_ctx_init()
/openbmc/linux/kernel/sched/
H A Dcputime.c444 if (pc & HARDIRQ_OFFSET) { in vtime_account_irq()
509 else if ((p != this_rq()->idle) || (irq_count() != HARDIRQ_OFFSET)) in account_process_tick()
510 account_system_time(p, HARDIRQ_OFFSET, cputime); in account_process_tick()
/openbmc/linux/arch/powerpc/kexec/
H A Dcore_64.c337 current_thread_info()->preempt_count = HARDIRQ_OFFSET; in default_machine_kexec()
/openbmc/linux/kernel/
H A Dsoftirq.c598 (is_idle_task(current) && (irq_count() == HARDIRQ_OFFSET))) in irq_enter_rcu()
634 preempt_count_sub(HARDIRQ_OFFSET); in __irq_exit_rcu()