Lines Matching refs:get_lowcore
18 return READ_ONCE(get_lowcore()->preempt_count) & ~PREEMPT_NEED_RESCHED; in preempt_count()
26 old = READ_ONCE(get_lowcore()->preempt_count); in preempt_count_set()
29 } while (__atomic_cmpxchg(&get_lowcore()->preempt_count, in preempt_count_set()
35 __atomic_and(~PREEMPT_NEED_RESCHED, &get_lowcore()->preempt_count); in set_preempt_need_resched()
40 __atomic_or(PREEMPT_NEED_RESCHED, &get_lowcore()->preempt_count); in clear_preempt_need_resched()
45 return !(READ_ONCE(get_lowcore()->preempt_count) & PREEMPT_NEED_RESCHED); in test_preempt_need_resched()
56 __atomic_add_const(val, &get_lowcore()->preempt_count); in __preempt_count_add()
60 __atomic_add(val, &get_lowcore()->preempt_count); in __preempt_count_add()
70 return __atomic_add(-1, &get_lowcore()->preempt_count) == 1; in __preempt_count_dec_and_test()
75 return unlikely(READ_ONCE(get_lowcore()->preempt_count) == in should_resched()
85 return READ_ONCE(get_lowcore()->preempt_count); in preempt_count()
90 get_lowcore()->preempt_count = pc; in preempt_count_set()
108 get_lowcore()->preempt_count += val; in __preempt_count_add()
113 get_lowcore()->preempt_count -= val; in __preempt_count_sub()
118 return !--get_lowcore()->preempt_count && tif_need_resched(); in __preempt_count_dec_and_test()