Home
last modified time | relevance | path

Searched refs:should_resched (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/include/linux/
H A Dpreempt.h198 ({ preempt_count_sub(1); should_resched(0); })
246 if (should_resched(0)) \
/linux-6.15/include/asm-generic/
H A Dpreempt.h75 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
/linux-6.15/arch/s390/include/asm/
H A Dpreempt.h96 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
/linux-6.15/arch/arm64/include/asm/
H A Dpreempt.h77 static inline bool should_resched(int preempt_offset) in should_resched() function
/linux-6.15/arch/x86/include/asm/
H A Dpreempt.h102 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
/linux-6.15/kernel/sched/
H A Dcore.c7291 if (should_resched(0) && !irqs_disabled()) { in __cond_resched()
7359 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_lock()
7377 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_rwlock_read()
7395 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_rwlock_write()