Home
last modified time | relevance | path

Searched refs:should_resched (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/include/linux/
Dpreempt.h130 ({ preempt_count_sub(1); should_resched(0); })
178 if (should_resched(0)) \
/linux-4.4.14/include/asm-generic/
Dpreempt.h74 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
/linux-4.4.14/arch/x86/include/asm/
Dpreempt.h90 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
/linux-4.4.14/kernel/sched/
Dcore.c4618 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()