Lines Matching refs:srcu_size_state

228 	smp_store_release(&ssp->srcu_size_state, SRCU_SIZE_WAIT_BARRIER);  in init_srcu_struct_nodes()
239 ssp->srcu_size_state = SRCU_SIZE_SMALL; in init_srcu_struct_fields()
257 if (READ_ONCE(ssp->srcu_size_state) == SRCU_SIZE_SMALL && SRCU_SIZING_IS_INIT()) { in init_srcu_struct_fields()
265 WRITE_ONCE(ssp->srcu_size_state, SRCU_SIZE_BIG); in init_srcu_struct_fields()
310 smp_store_release(&ssp->srcu_size_state, SRCU_SIZE_ALLOC); in __srcu_transition_to_big()
321 if (smp_load_acquire(&ssp->srcu_size_state) != SRCU_SIZE_SMALL) in srcu_transition_to_big()
324 if (smp_load_acquire(&ssp->srcu_size_state) != SRCU_SIZE_SMALL) { in srcu_transition_to_big()
340 if (!SRCU_SIZING_IS_CONTEND() || ssp->srcu_size_state) in spin_lock_irqsave_check_contention()
625 ssp->srcu_size_state = SRCU_SIZE_SMALL; in cleanup_srcu_struct()
665 if (smp_load_acquire(&ssp->srcu_size_state) < SRCU_SIZE_WAIT_BARRIER) in srcu_gp_start()
775 ss_state = smp_load_acquire(&ssp->srcu_size_state); in srcu_gp_end()
834 smp_store_release(&ssp->srcu_size_state, ss_state + 1); in srcu_gp_end()
893 if (smp_load_acquire(&ssp->srcu_size_state) < SRCU_SIZE_WAIT_BARRIER) in srcu_funnel_gp_start()
1094 ss_state = smp_load_acquire(&ssp->srcu_size_state); in srcu_gp_start_if_needed()
1431 if (smp_load_acquire(&ssp->srcu_size_state) < SRCU_SIZE_WAIT_BARRIER) in srcu_barrier()
1669 int ss_state = READ_ONCE(ssp->srcu_size_state); in srcu_torture_stats_print()
1756 if (SRCU_SIZING_IS(SRCU_SIZING_INIT) && ssp->srcu_size_state == SRCU_SIZE_SMALL) in srcu_init()
1757 ssp->srcu_size_state = SRCU_SIZE_ALLOC; in srcu_init()