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
186 ({ preempt_count_sub(1); should_resched(0); })234 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
101 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
8325 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()