Home
last modified time | relevance | path

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

/Linux-v5.15/arch/s390/include/asm/
Dpreempt.h65 static inline bool should_resched(int preempt_offset) in should_resched() function
113 static inline bool should_resched(int preempt_offset) in should_resched() function
/Linux-v5.15/include/linux/
Dpreempt.h164 ({ preempt_count_sub(1); should_resched(0); })
212 if (should_resched(0)) \
/Linux-v5.15/include/asm-generic/
Dpreempt.h75 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
/Linux-v5.15/arch/arm64/include/asm/
Dpreempt.h76 static inline bool should_resched(int preempt_offset) in should_resched() function
/Linux-v5.15/arch/x86/include/asm/
Dpreempt.h101 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
/Linux-v5.15/kernel/sched/
Dcore.c8150 if (should_resched(0)) { in __cond_resched()
8191 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_lock()
8211 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_rwlock_read()
8231 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_rwlock_write()