Lines Matching refs:gpseq
522 unsigned long gpseq; in srcu_gp_end() local
538 gpseq = rcu_seq_current(&ssp->srcu_gp_seq); in srcu_gp_end()
539 if (ULONG_CMP_LT(ssp->srcu_gp_seq_needed_exp, gpseq)) in srcu_gp_end()
540 ssp->srcu_gp_seq_needed_exp = gpseq; in srcu_gp_end()
546 idx = rcu_seq_ctr(gpseq) % ARRAY_SIZE(snp->srcu_have_cbs); in srcu_gp_end()
552 cbs = snp->srcu_have_cbs[idx] == gpseq; in srcu_gp_end()
553 snp->srcu_have_cbs[idx] = gpseq; in srcu_gp_end()
555 if (ULONG_CMP_LT(snp->srcu_gp_seq_needed_exp, gpseq)) in srcu_gp_end()
556 snp->srcu_gp_seq_needed_exp = gpseq; in srcu_gp_end()
564 if (!(gpseq & counter_wrap_check) && last_lvl) in srcu_gp_end()
568 if (ULONG_CMP_GE(gpseq, in srcu_gp_end()
570 sdp->srcu_gp_seq_needed = gpseq; in srcu_gp_end()
571 if (ULONG_CMP_GE(gpseq, in srcu_gp_end()
573 sdp->srcu_gp_seq_needed_exp = gpseq; in srcu_gp_end()
583 gpseq = rcu_seq_current(&ssp->srcu_gp_seq); in srcu_gp_end()
584 if (!rcu_seq_state(gpseq) && in srcu_gp_end()
585 ULONG_CMP_LT(gpseq, ssp->srcu_gp_seq_needed)) { in srcu_gp_end()