Home
last modified time | relevance | path

Searched refs:rcu_seq_state (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/kernel/rcu/
Dsrcutree.c157 return rcu_seq_state(s) == SRCU_SNP_INIT_SEQ; in srcu_invl_snp_seq()
397 if (!rcu_seq_state(smp_load_acquire(&ssp->srcu_gp_seq_needed))) /*^^^*/ in check_init_srcu_struct()
400 if (!rcu_seq_state(ssp->srcu_gp_seq_needed)) { in check_init_srcu_struct()
573 if (rcu_seq_state(READ_ONCE(ssp->srcu_gp_seq))) { in srcu_get_delay()
611 if (WARN_ON(rcu_seq_state(READ_ONCE(ssp->srcu_gp_seq)) != SRCU_STATE_IDLE) || in cleanup_srcu_struct()
615 __func__, ssp, rcu_seq_state(READ_ONCE(ssp->srcu_gp_seq)), in cleanup_srcu_struct()
681 state = rcu_seq_state(ssp->srcu_gp_seq); in srcu_gp_start()
760 idx = rcu_seq_state(ssp->srcu_gp_seq); in srcu_gp_end()
820 if (!rcu_seq_state(gpseq) && in srcu_gp_end()
940 rcu_seq_state(ssp->srcu_gp_seq) == SRCU_STATE_IDLE) { in srcu_funnel_gp_start()
[all …]
Drcu.h40 static inline int rcu_seq_state(unsigned long s) in rcu_seq_state() function
60 WARN_ON_ONCE(rcu_seq_state(*sp) != 1); in rcu_seq_start()
73 WARN_ON_ONCE(!rcu_seq_state(*sp)); in rcu_seq_end()
Dtree.c245 return rcu_seq_state(rcu_seq_current(&rcu_state.gp_seq)); in rcu_gp_in_progress()
987 rcu_seq_state(rcu_seq_current(&rnp->gp_seq)))) { in rcu_start_this_gp()
993 if (rcu_seq_state(rcu_seq_current(&rnp->gp_seq))) { in rcu_start_this_gp()
1194 if (!rcu_seq_state(rcu_seq_current(&rnp->gp_seq)) || !raw_spin_trylock_rcu_node(rnp)) in rcu_advance_cbs_nowake()
1197 if (rcu_seq_state(rcu_seq_current(&rnp->gp_seq))) in rcu_advance_cbs_nowake()
1375 if (!rcu_seq_state(rcu_state.gp_seq_polled)) in rcu_poll_gp_seq_start()
3901 if (rcu_seq_state(lseq) || !rcu_seq_state(gseq) || rcu_seq_ctr(lseq) != rcu_seq_ctr(gseq)) in rcu_barrier_entrain()