Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dpreempt.h24 ({ preempt_count_sub(1); should_resched(0); })
63 if (should_resched(0)) \
/linux-4.1.27/include/asm-generic/
Dpreempt.h74 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
/linux-4.1.27/arch/x86/include/asm/
Dpreempt.h93 static __always_inline bool should_resched(int preempt_offset) in should_resched() function
/linux-4.1.27/kernel/sched/
Dcore.c4235 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()