Searched refs:should_resched (Results 1 – 6 of 6) sorted by relevance
72 static inline bool should_resched(int preempt_offset) in should_resched() function120 static inline bool should_resched(int preempt_offset) in should_resched() function
187 ({ preempt_count_sub(1); should_resched(0); })235 if (should_resched(0)) \
75 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
77 static inline bool should_resched(int preempt_offset) in should_resched() function
102 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
8562 if (should_resched(0)) { in __cond_resched()8628 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_lock()8646 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_rwlock_read()8664 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_rwlock_write()