Searched refs:should_resched (Results 1 – 6 of 6) sorted by relevance
198 ({ preempt_count_sub(1); should_resched(0); })246 if (should_resched(0)) \
75 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
96 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
7291 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()