Home
last modified time | relevance | path

Searched refs:PREEMPT_LOCK_OFFSET (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/include/linux/
Dpreempt.h146 #define PREEMPT_LOCK_OFFSET PREEMPT_DISABLE_OFFSET macro
149 #define PREEMPT_LOCK_OFFSET 0 macro
165 #define SOFTIRQ_LOCK_OFFSET (SOFTIRQ_DISABLE_OFFSET + PREEMPT_LOCK_OFFSET)
Dsched.h2120 # define PREEMPT_LOCK_RESCHED_OFFSETS PREEMPT_LOCK_OFFSET
2128 (PREEMPT_LOCK_OFFSET + (1U << MIGHT_RESCHED_RCU_SHIFT))
/linux-6.1.9/kernel/sched/
Dcore.c8420 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_lock()
8438 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_rwlock_read()
8456 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_rwlock_write()