Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/rcu/
Dsrcutree.c519 unsigned long gpseq; in srcu_gp_end() local
535 gpseq = rcu_seq_current(&ssp->srcu_gp_seq); in srcu_gp_end()
536 if (ULONG_CMP_LT(ssp->srcu_gp_seq_needed_exp, gpseq)) in srcu_gp_end()
537 ssp->srcu_gp_seq_needed_exp = gpseq; in srcu_gp_end()
543 idx = rcu_seq_ctr(gpseq) % ARRAY_SIZE(snp->srcu_have_cbs); in srcu_gp_end()
549 cbs = snp->srcu_have_cbs[idx] == gpseq; in srcu_gp_end()
550 snp->srcu_have_cbs[idx] = gpseq; in srcu_gp_end()
552 if (ULONG_CMP_LT(snp->srcu_gp_seq_needed_exp, gpseq)) in srcu_gp_end()
553 snp->srcu_gp_seq_needed_exp = gpseq; in srcu_gp_end()
561 if (!(gpseq & counter_wrap_check) && last_lvl) in srcu_gp_end()
[all …]
/Linux-v5.4/include/trace/events/
Drcu.h194 TP_PROTO(const char *rcuname, unsigned long gpseq, const char *gpevent),
196 TP_ARGS(rcuname, gpseq, gpevent),
200 __field(unsigned long, gpseq)
206 __entry->gpseq = gpseq;
211 __entry->rcuname, __entry->gpseq, __entry->gpevent)