Searched refs:should_resched (Results 1 – 3 of 3) sorted by relevance
75 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
76 static inline bool should_resched(int preempt_offset) in should_resched() function
7377 if (should_resched(0) && !irqs_disabled()) { in __cond_resched()7444 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_lock()7462 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_rwlock_read()7480 int resched = should_resched(PREEMPT_LOCK_OFFSET); in __cond_resched_rwlock_write()