Lines Matching refs:pc
16 static inline void preempt_count_set(u64 pc)
19 WRITE_ONCE(current_thread_info()->preempt.count, pc);
47 u32 pc = READ_ONCE(current_thread_info()->preempt.count);
48 pc += val;
49 WRITE_ONCE(current_thread_info()->preempt.count, pc);
54 u32 pc = READ_ONCE(current_thread_info()->preempt.count);
55 pc -= val;
56 WRITE_ONCE(current_thread_info()->preempt.count, pc);
62 u64 pc = READ_ONCE(ti->preempt_count);
65 WRITE_ONCE(ti->preempt.count, --pc);
74 return !pc || !READ_ONCE(ti->preempt_count);
79 u64 pc = READ_ONCE(current_thread_info()->preempt_count);
80 return pc == preempt_offset;