Home
last modified time | relevance | path

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

/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.h76 static inline bool should_resched(int preempt_offset) in should_resched() argument
79 return pc == preempt_offset; in should_resched()
/linux/include/linux/
H A Dkernel.h78 extern void __cant_sleep(const char *file, int line, int preempt_offset);
/linux/kernel/sched/
H A Dcore.c8760 static void print_preempt_disable_ip(int preempt_offset, unsigned long ip) in print_preempt_disable_ip() argument
8765 if (preempt_count() == preempt_offset) in print_preempt_disable_ip()
8832 void __cant_sleep(const char *file, int line, int preempt_offset) in __cant_sleep() argument
8842 if (preempt_count() > preempt_offset) in __cant_sleep()