Home
last modified time | relevance | path

Searched refs:preempt_offset (Results 1 – 5 of 5) sorted by relevance

/linux/include/asm-generic/
H A Dpreempt.h89 static __always_inline bool should_resched(int preempt_offset) in should_resched() argument
91 return unlikely(preempt_count() == preempt_offset && in should_resched()
/linux/arch/arm64/include/asm/
H A Dpreempt.h78 static inline bool should_resched(int preempt_offset) in should_resched() argument
81 return unlikely(pc == preempt_offset); in should_resched()
/linux/arch/x86/include/asm/
H A Dpreempt.h130 static __always_inline bool should_resched(int preempt_offset) in should_resched() argument
132 return unlikely(__pc_op(read, __preempt_count) == preempt_offset); in should_resched()
/linux/arch/s390/include/asm/
H A Dpreempt.h134 static __always_inline bool should_resched(int preempt_offset) in should_resched() argument
136 return unlikely(READ_ONCE(get_lowcore()->preempt_count) == preempt_offset); in should_resched()
/linux/kernel/sched/
H A Dcore.c9128 static void print_preempt_disable_ip(int preempt_offset, unsigned long ip) in print_preempt_disable_ip() argument
9133 if (preempt_count() == preempt_offset) in print_preempt_disable_ip()