Home
last modified time | relevance | path

Searched refs:srcu_size_state (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/kernel/rcu/
Dsrcutree.c228 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()
[all …]
/linux-5.19.10/include/linux/
Dsrcutree.h66 int srcu_size_state; /* Small-to-big transition state. */ member