Home
last modified time | relevance | path

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

/linux/kernel/rcu/
H A Dsrcutree.c854 unsigned long gpseq; in srcu_gp_end() local
875 gpseq = rcu_seq_current(&sup->srcu_gp_seq); in srcu_gp_end()
876 if (ULONG_CMP_LT(sup->srcu_gp_seq_needed_exp, gpseq)) in srcu_gp_end()
877 WRITE_ONCE(sup->srcu_gp_seq_needed_exp, gpseq); in srcu_gp_end()
888 idx = rcu_seq_ctr(gpseq) % ARRAY_SIZE(snp->srcu_have_cbs); in srcu_gp_end()
894 cbs = ss_state < SRCU_SIZE_BIG || snp->srcu_have_cbs[idx] == gpseq; in srcu_gp_end()
895 snp->srcu_have_cbs[idx] = gpseq; in srcu_gp_end()
898 if (srcu_invl_snp_seq(sgsne) || ULONG_CMP_LT(sgsne, gpseq)) in srcu_gp_end()
899 WRITE_ONCE(snp->srcu_gp_seq_needed_exp, gpseq); in srcu_gp_end()
912 if (!(gpseq & counter_wrap_check)) in srcu_gp_end()
[all …]
/linux/include/trace/events/
H A 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)