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

/linux-master/include/linux/
H A Dsrcutree.h51 unsigned long srcu_have_cbs[4]; /* GP seq for children having CBs, but only */ member in struct:srcu_node
120 #define SRCU_SIZE_WAIT_CBS1 4 // Don't trust the ->srcu_have_cbs[] grace-period
/linux-master/kernel/rcu/
H A Dsrcutree.c189 WARN_ON_ONCE(ARRAY_SIZE(snp->srcu_have_cbs) !=
191 for (i = 0; i < ARRAY_SIZE(snp->srcu_have_cbs); i++) {
192 snp->srcu_have_cbs[i] = SRCU_SNP_INIT_SEQ;
839 * are initiating callback invocation. This allows the ->srcu_have_cbs[]
883 idx = rcu_seq_ctr(gpseq) % ARRAY_SIZE(snp->srcu_have_cbs);
889 cbs = ss_state < SRCU_SIZE_BIG || snp->srcu_have_cbs[idx] == gpseq;
890 snp->srcu_have_cbs[idx] = gpseq;
891 rcu_seq_set_state(&snp->srcu_have_cbs[idx], 1);
993 int idx = rcu_seq_ctr(s) % ARRAY_SIZE(sdp->mynode->srcu_have_cbs);
1012 snp_seq = snp->srcu_have_cbs[id
[all...]

Completed in 92 milliseconds