Home
last modified time | relevance | path

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

/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.h147 vtime_account_irq(tsk, HARDIRQ_OFFSET); in account_hardirq_enter()
148 irqtime_account_irq(tsk, HARDIRQ_OFFSET); in account_hardirq_enter()
H A Dpreempt.h52 #define HARDIRQ_OFFSET (1UL << HARDIRQ_SHIFT) macro
/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.
/linux/arch/sh/kernel/
H A Dirq.c130 irqctx->tinfo.preempt_count = HARDIRQ_OFFSET; in irq_ctx_init()
/linux/kernel/sched/
H A Dcputime.c431 if (pc & HARDIRQ_OFFSET) { in vtime_account_irq()
496 else if ((p != this_rq()->idle) || (irq_count() != HARDIRQ_OFFSET)) in account_process_tick()
497 account_system_time(p, HARDIRQ_OFFSET, cputime); in account_process_tick()
/linux/kernel/
H A Dsoftirq.c599 (is_idle_task(current) && (irq_count() == HARDIRQ_OFFSET))) in irq_enter_rcu()
635 preempt_count_sub(HARDIRQ_OFFSET); in __irq_exit_rcu()
/linux/arch/powerpc/kexec/
H A Dcore_64.c327 current_thread_info()->preempt_count = HARDIRQ_OFFSET; in default_machine_kexec()