Home
last modified time | relevance | path

Searched refs:preempt_count_ptr (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/include/asm-generic/
H A Dpreempt.h14 static __always_inline volatile int *preempt_count_ptr(void) in preempt_count_ptr() function
21 *preempt_count_ptr() = pc; in preempt_count_set()
54 *preempt_count_ptr() += val; in __preempt_count_add()
59 *preempt_count_ptr() -= val; in __preempt_count_sub()
69 return !--*preempt_count_ptr() && tif_need_resched(); in __preempt_count_dec_and_test()
/kernel/linux/linux-6.6/include/asm-generic/
H A Dpreempt.h14 static __always_inline volatile int *preempt_count_ptr(void) in preempt_count_ptr() function
21 *preempt_count_ptr() = pc; in preempt_count_set()
54 *preempt_count_ptr() += val; in __preempt_count_add()
59 *preempt_count_ptr() -= val; in __preempt_count_sub()
69 return !--*preempt_count_ptr() && tif_need_resched(); in __preempt_count_dec_and_test()

Completed in 1 milliseconds