Searched refs:preempt_offset (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | preempt.h | 65 static inline bool should_resched(int preempt_offset) in should_resched() argument 68 preempt_offset); in should_resched() 113 static inline bool should_resched(int preempt_offset) in should_resched() argument 115 return unlikely(preempt_count() == preempt_offset && in should_resched()
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | preempt.h | 75 static __always_inline bool should_resched(int preempt_offset) in should_resched() argument 77 return unlikely(preempt_count() == preempt_offset && in should_resched()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | preempt.h | 100 static __always_inline bool should_resched(int preempt_offset) in should_resched() argument 102 return unlikely(raw_cpu_read_4(__preempt_count) == preempt_offset); in should_resched()
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | preempt.h | 76 static inline bool should_resched(int preempt_offset) in should_resched() argument 79 return pc == preempt_offset; in should_resched()
|
/kernel/linux/linux-5.10/include/linux/ |
D | kernel.h | 204 extern void ___might_sleep(const char *file, int line, int preempt_offset); 205 extern void __might_sleep(const char *file, int line, int preempt_offset); 206 extern void __cant_sleep(const char *file, int line, int preempt_offset); 249 int preempt_offset) { } in ___might_sleep() argument 251 int preempt_offset) { } in __might_sleep() argument
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | core.c | 7810 static inline int preempt_count_equals(int preempt_offset) in preempt_count_equals() argument 7814 return (nested == preempt_offset); in preempt_count_equals() 7817 void __might_sleep(const char *file, int line, int preempt_offset) in __might_sleep() argument 7831 ___might_sleep(file, line, preempt_offset); in __might_sleep() 7835 void ___might_sleep(const char *file, int line, int preempt_offset) in ___might_sleep() argument 7845 if ((preempt_count_equals(preempt_offset) && !irqs_disabled() && in ___might_sleep() 7873 && !preempt_count_equals(preempt_offset)) { in ___might_sleep() 7882 void __cant_sleep(const char *file, int line, int preempt_offset) in __cant_sleep() argument 7892 if (preempt_count() > preempt_offset) in __cant_sleep()
|