Searched refs:preempt_offset (Results 1 – 5 of 5) 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()
77 static inline bool should_resched(int preempt_offset) in should_resched() argument80 return pc == preempt_offset; in should_resched()
101 static __always_inline bool should_resched(int preempt_offset) in should_resched() argument103 return unlikely(raw_cpu_read_4(pcpu_hot.preempt_count) == preempt_offset); in should_resched()
90 extern void __cant_sleep(const char *file, int line, int preempt_offset);
8700 static void print_preempt_disable_ip(int preempt_offset, unsigned long ip) in print_preempt_disable_ip() argument8705 if (preempt_count() == preempt_offset) in print_preempt_disable_ip()8772 void __cant_sleep(const char *file, int line, int preempt_offset) in __cant_sleep() argument8782 if (preempt_count() > preempt_offset) in __cant_sleep()