Home
last modified time | relevance | path

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

/linux/kernel/rcu/
H A Dsrcutree.c195 smp_store_release(&ssp->srcu_sup->srcu_size_state, SRCU_SIZE_WAIT_BARRIER); in init_srcu_struct_nodes()
212 ssp->srcu_sup->srcu_size_state = SRCU_SIZE_SMALL; in init_srcu_struct_fields()
232 if (READ_ONCE(ssp->srcu_sup->srcu_size_state) == SRCU_SIZE_SMALL && SRCU_SIZING_IS_INIT()) { in init_srcu_struct_fields()
234 WRITE_ONCE(ssp->srcu_sup->srcu_size_state, SRCU_SIZE_ALLOC); in init_srcu_struct_fields()
236 WRITE_ONCE(ssp->srcu_sup->srcu_size_state, SRCU_SIZE_BIG); in init_srcu_struct_fields()
354 smp_store_release(&ssp->srcu_sup->srcu_size_state, SRCU_SIZE_ALLOC); in __srcu_transition_to_big()
365 if (smp_load_acquire(&ssp->srcu_sup->srcu_size_state) != SRCU_SIZE_SMALL) in srcu_transition_to_big()
368 if (smp_load_acquire(&ssp->srcu_sup->srcu_size_state) != SRCU_SIZE_SMALL) { in srcu_transition_to_big()
384 if (!SRCU_SIZING_IS_CONTEND() || ssp->srcu_sup->srcu_size_state) in raw_spin_lock_irqsave_check_contention()
746 sup->srcu_size_state = SRCU_SIZE_SMALL; in cleanup_srcu_struct()
[all …]
/linux/include/linux/
H A Dsrcutree.h75 int srcu_size_state; /* Small-to-big transition state. */ member