Lines Matching refs:current_thread_info
12 return READ_ONCE(current_thread_info()->preempt.count); in preempt_count()
18 WRITE_ONCE(current_thread_info()->preempt.count, pc); in preempt_count_set()
31 current_thread_info()->preempt.need_resched = 0; in set_preempt_need_resched()
36 current_thread_info()->preempt.need_resched = 1; in clear_preempt_need_resched()
41 return !current_thread_info()->preempt.need_resched; in test_preempt_need_resched()
46 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_add()
48 WRITE_ONCE(current_thread_info()->preempt.count, pc); in __preempt_count_add()
53 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_sub()
55 WRITE_ONCE(current_thread_info()->preempt.count, pc); in __preempt_count_sub()
60 struct thread_info *ti = current_thread_info(); in __preempt_count_dec_and_test()
78 u64 pc = READ_ONCE(current_thread_info()->preempt_count); in should_resched()