Lines Matching refs:current_thread_info
13 return READ_ONCE(current_thread_info()->preempt.count); in preempt_count()
19 WRITE_ONCE(current_thread_info()->preempt.count, pc); in preempt_count_set()
32 current_thread_info()->preempt.need_resched = 0; in set_preempt_need_resched()
37 current_thread_info()->preempt.need_resched = 1; in clear_preempt_need_resched()
42 return !current_thread_info()->preempt.need_resched; in test_preempt_need_resched()
47 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_add()
49 WRITE_ONCE(current_thread_info()->preempt.count, pc); in __preempt_count_add()
54 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_sub()
56 WRITE_ONCE(current_thread_info()->preempt.count, pc); in __preempt_count_sub()
61 struct thread_info *ti = current_thread_info(); in __preempt_count_dec_and_test()
79 u64 pc = READ_ONCE(current_thread_info()->preempt_count); in should_resched()