Home
last modified time | relevance | path

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

/Linux-v6.1/arch/s390/include/asm/
Dpreempt.h72 static inline bool should_resched(int preempt_offset) in should_resched() function
120 static inline bool should_resched(int preempt_offset) in should_resched() function
/Linux-v6.1/include/linux/
Dpreempt.h186 ({ preempt_count_sub(1); should_resched(0); })
234 if (should_resched(0)) \
/Linux-v6.1/include/asm-generic/
Dpreempt.h75 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
/Linux-v6.1/arch/arm64/include/asm/
Dpreempt.h77 static inline bool should_resched(int preempt_offset) in should_resched() function
/Linux-v6.1/arch/x86/include/asm/
Dpreempt.h101 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
/Linux-v6.1/kernel/sched/
Dcore.c8325 if (should_resched(0)) { in __cond_resched()
8390 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_lock()
8408 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_rwlock_read()
8426 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_rwlock_write()