Lines Matching refs:READ_ONCE

209 	int j = READ_ONCE(i); // Prevent the compiler from reading twice  in tasks_gp_state_getname()
288 ideal_cpu = smp_processor_id() >> READ_ONCE(rtp->percpu_enqueue_shift); in call_rcu_tasks_generic()
299 READ_ONCE(rtp->percpu_enqueue_lim) != nr_cpu_ids) in call_rcu_tasks_generic()
322 if (needwake && READ_ONCE(rtp->kthread_ptr)) in call_rcu_tasks_generic()
657 rtsi = READ_ONCE(rcu_task_stall_info); in rcu_tasks_wait_gp()
681 rtst = READ_ONCE(rcu_task_stall_timeout); in rcu_tasks_wait_gp()
784 if (t != current && READ_ONCE(t->on_rq) && !is_idle_task(t)) { in rcu_tasks_pertask()
786 t->rcu_tasks_nvcsw = READ_ONCE(t->nvcsw); in rcu_tasks_pertask()
811 if (!READ_ONCE(t->rcu_tasks_holdout) || in check_holdout_task()
812 t->rcu_tasks_nvcsw != READ_ONCE(t->nvcsw) || in check_holdout_task()
813 !READ_ONCE(t->on_rq) || in check_holdout_task()
1197 int nq = READ_ONCE(t->trc_reader_special.b.need_qs); in rcu_read_unlock_trace_special()
1242 if (likely(!READ_ONCE(t->trc_reader_nesting))) { in trc_read_check_handler()
1247 if (unlikely(READ_ONCE(t->trc_reader_nesting) < 0)) in trc_read_check_handler()
1255 WARN_ON_ONCE(READ_ONCE(t->trc_reader_special.b.need_qs)); in trc_read_check_handler()
1307 WARN_ON_ONCE(READ_ONCE(t->trc_reader_special.b.need_qs)); in trc_inspect_reader()
1325 WARN_ON_ONCE(READ_ONCE(t->trc_reader_nesting)); in trc_wait_for_one_reader()
1434 trc_rdrp->nesting = READ_ONCE(t->trc_reader_nesting); in trc_check_slow_task()
1435 trc_rdrp->ipi_to_cpu = READ_ONCE(t->trc_ipi_to_cpu); in trc_check_slow_task()
1436 trc_rdrp->needqs = READ_ONCE(t->trc_reader_special.b.need_qs); in trc_check_slow_task()
1489 if (READ_ONCE(t->trc_ipi_to_cpu) == -1 && in check_all_holdout_tasks_trace()
1490 !READ_ONCE(t->trc_reader_checked)) in check_all_holdout_tasks_trace()
1495 READ_ONCE(t->trc_reader_checked)) in check_all_holdout_tasks_trace()
1544 READ_ONCE(rcu_task_stall_timeout)); in rcu_tasks_trace_postgp()
1550 if (READ_ONCE(t->trc_reader_special.b.need_qs)) in rcu_tasks_trace_postgp()
1555 if (READ_ONCE(t->trc_reader_special.b.need_qs)) in rcu_tasks_trace_postgp()
1572 WARN_ON_ONCE(READ_ONCE(t->trc_reader_nesting)); in exit_tasks_rcu_finish_trace()
1574 if (WARN_ON_ONCE(READ_ONCE(t->trc_reader_special.b.need_qs))) in exit_tasks_rcu_finish_trace()