Home
last modified time | relevance | path

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

/linux-6.14.4/kernel/rcu/
Dsrcutree.c190 BUILD_BUG_ON(ARRAY_SIZE(snp->srcu_have_cbs) != in init_srcu_struct_nodes()
192 for (i = 0; i < ARRAY_SIZE(snp->srcu_have_cbs); i++) { in init_srcu_struct_nodes()
193 snp->srcu_have_cbs[i] = SRCU_SNP_INIT_SEQ; in init_srcu_struct_nodes()
919 idx = rcu_seq_ctr(gpseq) % ARRAY_SIZE(snp->srcu_have_cbs); in srcu_gp_end()
925 cbs = ss_state < SRCU_SIZE_BIG || snp->srcu_have_cbs[idx] == gpseq; in srcu_gp_end()
926 snp->srcu_have_cbs[idx] = gpseq; in srcu_gp_end()
927 rcu_seq_set_state(&snp->srcu_have_cbs[idx], 1); in srcu_gp_end()
1029 int idx = rcu_seq_ctr(s) % ARRAY_SIZE(sdp->mynode->srcu_have_cbs); in srcu_funnel_gp_start()
1048 snp_seq = snp->srcu_have_cbs[idx]; in srcu_funnel_gp_start()
1061 snp->srcu_have_cbs[idx] = s; in srcu_funnel_gp_start()
/linux-6.14.4/include/linux/
Dsrcutree.h52 unsigned long srcu_have_cbs[4]; /* GP seq for children having CBs, but only */ member