Home
last modified time | relevance | path

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

/linux-6.6.21/arch/s390/include/asm/
Dpreempt.h72 static inline bool should_resched(int preempt_offset) in should_resched() argument
75 preempt_offset); in should_resched()
120 static inline bool should_resched(int preempt_offset) in should_resched() argument
122 return unlikely(preempt_count() == preempt_offset && in should_resched()
/linux-6.6.21/include/asm-generic/
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-6.6.21/arch/arm64/include/asm/
Dpreempt.h77 static inline bool should_resched(int preempt_offset) in should_resched() argument
80 return pc == preempt_offset; in should_resched()
/linux-6.6.21/arch/x86/include/asm/
Dpreempt.h102 static __always_inline bool should_resched(int preempt_offset) in should_resched() argument
104 return unlikely(raw_cpu_read_4(pcpu_hot.preempt_count) == preempt_offset); in should_resched()
/linux-6.6.21/include/linux/
Dkernel.h129 extern void __cant_sleep(const char *file, int line, int preempt_offset);
/linux-6.6.21/kernel/sched/
Dcore.c10123 static void print_preempt_disable_ip(int preempt_offset, unsigned long ip) in print_preempt_disable_ip() argument
10128 if (preempt_count() == preempt_offset) in print_preempt_disable_ip()
10195 void __cant_sleep(const char *file, int line, int preempt_offset) in __cant_sleep() argument
10205 if (preempt_count() > preempt_offset) in __cant_sleep()