Searched refs:should_resched (Results 1 – 4 of 4) sorted by relevance
24 ({ preempt_count_sub(1); should_resched(0); })63 if (should_resched(0)) \
74 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
93 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
4235 if (should_resched(0)) { in _cond_resched()4253 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_lock()4275 if (should_resched(SOFTIRQ_DISABLE_OFFSET)) { in __cond_resched_softirq()