Searched refs:preempt_offset (Results 1 – 6 of 6) sorted by relevance
75 static __always_inline bool should_resched(int preempt_offset) in should_resched() argument77 return unlikely(preempt_count() == preempt_offset && in should_resched()
96 static __always_inline bool should_resched(int preempt_offset) in should_resched() argument98 return unlikely(READ_ONCE(get_lowcore()->preempt_count) == preempt_offset); in should_resched()
77 static inline bool should_resched(int preempt_offset) in should_resched() argument80 return pc == preempt_offset; in should_resched()
102 static __always_inline bool should_resched(int preempt_offset) in should_resched() argument104 return unlikely(raw_cpu_read_4(__preempt_count) == preempt_offset); in should_resched()
90 extern void __cant_sleep(const char *file, int line, int preempt_offset);
8751 static void print_preempt_disable_ip(int preempt_offset, unsigned long ip) in print_preempt_disable_ip() argument8756 if (preempt_count() == preempt_offset) in print_preempt_disable_ip()8823 void __cant_sleep(const char *file, int line, int preempt_offset) in __cant_sleep() argument8833 if (preempt_count() > preempt_offset) in __cant_sleep()