Lines Matching refs:READ_ONCE

143 	int j = READ_ONCE(i); // Prevent the compiler from reading twice  in tasks_gp_state_getname()
166 if (needwake && READ_ONCE(rtp->kthread_ptr)) in call_rcu_tasks_generic()
213 READ_ONCE(rtp->cbs_head)); in rcu_tasks_kthread()
350 rtst = READ_ONCE(rcu_task_stall_timeout); in rcu_tasks_wait_gp()
442 if (t != current && READ_ONCE(t->on_rq) && !is_idle_task(t)) { in rcu_tasks_pertask()
444 t->rcu_tasks_nvcsw = READ_ONCE(t->nvcsw); in rcu_tasks_pertask()
469 if (!READ_ONCE(t->rcu_tasks_holdout) || in check_holdout_task()
470 t->rcu_tasks_nvcsw != READ_ONCE(t->nvcsw) || in check_holdout_task()
471 !READ_ONCE(t->on_rq) || in check_holdout_task()
852 int nq = READ_ONCE(t->trc_reader_special.b.need_qs); in rcu_read_unlock_trace_special()
897 if (likely(!READ_ONCE(t->trc_reader_nesting))) { in trc_read_check_handler()
902 if (unlikely(READ_ONCE(t->trc_reader_nesting) < 0)) in trc_read_check_handler()
910 WARN_ON_ONCE(READ_ONCE(t->trc_reader_special.b.need_qs)); in trc_read_check_handler()
962 WARN_ON_ONCE(READ_ONCE(t->trc_reader_special.b.need_qs)); in trc_inspect_reader()
980 WARN_ON_ONCE(READ_ONCE(t->trc_reader_nesting)); in trc_wait_for_one_reader()
1089 ".I"[READ_ONCE(t->trc_ipi_to_cpu) >= 0], in show_stalled_task_trace()
1092 READ_ONCE(t->trc_reader_nesting), in show_stalled_task_trace()
1093 " N"[!!READ_ONCE(t->trc_reader_special.b.need_qs)], in show_stalled_task_trace()
1119 if (READ_ONCE(t->trc_ipi_to_cpu) == -1 && in check_all_holdout_tasks_trace()
1120 !READ_ONCE(t->trc_reader_checked)) in check_all_holdout_tasks_trace()
1124 if (READ_ONCE(t->trc_reader_checked)) in check_all_holdout_tasks_trace()
1173 READ_ONCE(rcu_task_stall_timeout)); in rcu_tasks_trace_postgp()
1179 if (READ_ONCE(t->trc_reader_special.b.need_qs)) in rcu_tasks_trace_postgp()
1184 if (READ_ONCE(t->trc_reader_special.b.need_qs)) in rcu_tasks_trace_postgp()
1201 WARN_ON_ONCE(READ_ONCE(t->trc_reader_nesting)); in exit_tasks_rcu_finish_trace()
1203 if (WARN_ON_ONCE(READ_ONCE(t->trc_reader_special.b.need_qs))) in exit_tasks_rcu_finish_trace()