Home
last modified time | relevance | path

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

/linux/arch/s390/include/asm/
H A Dpreempt.h72 static __always_inline bool should_resched(int preempt_offset) in should_resched() argument
75 preempt_offset); in should_resched()
120 static __always_inline bool should_resched(int preempt_offset) in should_resched() argument
122 return unlikely(preempt_count() == preempt_offset && in should_resched()
/linux/include/asm-generic/
H A Dpreempt.h75 static __always_inline bool should_resched(int preempt_offset) in should_resched() argument
77 return unlikely(preempt_count() == preempt_offset && in should_resched()
/linux/arch/arm64/include/asm/
H A Dpreempt.h77 static inline bool should_resched(int preempt_offset) in should_resched() argument
80 return pc == preempt_offset; in should_resched()
/linux/arch/x86/include/asm/
H A Dpreempt.h101 static __always_inline bool should_resched(int preempt_offset) in should_resched() argument
103 return unlikely(raw_cpu_read_4(pcpu_hot.preempt_count) == preempt_offset); in should_resched()
/linux/include/linux/
H A Dkernel.h90 extern void __cant_sleep(const char *file, int line, int preempt_offset);
/linux/kernel/sched/
H A Dcore.c10129 static void print_preempt_disable_ip(int preempt_offset, unsigned long ip) in print_preempt_disable_ip() argument
10134 if (preempt_count() == preempt_offset) in print_preempt_disable_ip()
10201 void __cant_sleep(const char *file, int line, int preempt_offset) in __cant_sleep() argument
10211 if (preempt_count() > preempt_offset) in __cant_sleep()