Lines Matching refs:srcu_have_cbs
105 WARN_ON_ONCE(ARRAY_SIZE(snp->srcu_have_cbs) != in init_srcu_struct_nodes()
107 for (i = 0; i < ARRAY_SIZE(snp->srcu_have_cbs); i++) { in init_srcu_struct_nodes()
108 snp->srcu_have_cbs[i] = 0; in init_srcu_struct_nodes()
540 idx = rcu_seq_ctr(gpseq) % ARRAY_SIZE(snp->srcu_have_cbs); in srcu_gp_end()
546 cbs = snp->srcu_have_cbs[idx] == gpseq; in srcu_gp_end()
547 snp->srcu_have_cbs[idx] = gpseq; in srcu_gp_end()
548 rcu_seq_set_state(&snp->srcu_have_cbs[idx], 1); in srcu_gp_end()
632 int idx = rcu_seq_ctr(s) % ARRAY_SIZE(sdp->mynode->srcu_have_cbs); in srcu_funnel_gp_start()
641 if (ULONG_CMP_GE(snp->srcu_have_cbs[idx], s)) { in srcu_funnel_gp_start()
642 snp_seq = snp->srcu_have_cbs[idx]; in srcu_funnel_gp_start()
656 snp->srcu_have_cbs[idx] = s; in srcu_funnel_gp_start()