Searched refs:should_resched (Results 1 – 4 of 4) sorted by relevance
130 ({ preempt_count_sub(1); should_resched(0); })178 if (should_resched(0)) \
74 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
90 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
4618 if (should_resched(0)) { in _cond_resched()4636 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_lock()4658 if (should_resched(SOFTIRQ_DISABLE_OFFSET)) { in __cond_resched_softirq()