Home
last modified time | relevance | path

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

/linux-5.19.10/kernel/rcu/
Dsrcutree.c747 unsigned long gpseq; in srcu_gp_end() local
767 gpseq = rcu_seq_current(&ssp->srcu_gp_seq); in srcu_gp_end()
768 if (ULONG_CMP_LT(ssp->srcu_gp_seq_needed_exp, gpseq)) in srcu_gp_end()
769 WRITE_ONCE(ssp->srcu_gp_seq_needed_exp, gpseq); in srcu_gp_end()
779 idx = rcu_seq_ctr(gpseq) % ARRAY_SIZE(snp->srcu_have_cbs); in srcu_gp_end()
785 cbs = ss_state < SRCU_SIZE_BIG || snp->srcu_have_cbs[idx] == gpseq; in srcu_gp_end()
786 snp->srcu_have_cbs[idx] = gpseq; in srcu_gp_end()
789 if (srcu_invl_snp_seq(sgsne) || ULONG_CMP_LT(sgsne, gpseq)) in srcu_gp_end()
790 WRITE_ONCE(snp->srcu_gp_seq_needed_exp, gpseq); in srcu_gp_end()
803 if (!(gpseq & counter_wrap_check)) in srcu_gp_end()
[all …]
/linux-5.19.10/include/trace/events/
Drcu.h194 TP_PROTO(const char *rcuname, unsigned long gpseq, const char *gpevent),
196 TP_ARGS(rcuname, gpseq, gpevent),
200 __field(long, gpseq)
206 __entry->gpseq = (long)gpseq;
211 __entry->rcuname, __entry->gpseq, __entry->gpevent)