Home
last modified time | relevance | path

Searched refs:ULONG_CMP_LT (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/kernel/rcu/
Dsrcutree.c365 if (ULONG_CMP_LT(READ_ONCE(sp->srcu_gp_seq), in srcu_get_delay()
556 if (ULONG_CMP_LT(sp->srcu_gp_seq_needed_exp, gpseq)) in srcu_gp_end()
572 if (ULONG_CMP_LT(snp->srcu_gp_seq_needed_exp, gpseq)) in srcu_gp_end()
602 ULONG_CMP_LT(gpseq, sp->srcu_gp_seq_needed)) { in srcu_gp_end()
636 if (ULONG_CMP_LT(sp->srcu_gp_seq_needed_exp, s)) in srcu_funnel_exp_start()
682 if (!do_norm && ULONG_CMP_LT(snp->srcu_gp_seq_needed_exp, s)) in srcu_funnel_gp_start()
689 if (ULONG_CMP_LT(sp->srcu_gp_seq_needed, s)) { in srcu_funnel_gp_start()
696 if (!do_norm && ULONG_CMP_LT(sp->srcu_gp_seq_needed_exp, s)) in srcu_funnel_gp_start()
807 if (ULONG_CMP_LT(curseq, READ_ONCE(sp->srcu_gp_seq_needed))) in srcu_might_be_idle()
875 if (ULONG_CMP_LT(sdp->srcu_gp_seq_needed, s)) { in __call_srcu()
[all …]
Drcu.h126 return ULONG_CMP_LT((s - 1) & ~RCU_SEQ_STATE_MASK, READ_ONCE(*sp)); in rcu_seq_started()
143 return ULONG_CMP_LT(old, new & ~RCU_SEQ_STATE_MASK); in rcu_seq_completed_gp()
151 return ULONG_CMP_LT((old + RCU_SEQ_STATE_MASK) & ~RCU_SEQ_STATE_MASK, in rcu_seq_new_gp()
Dtree_exp.h294 if (ULONG_CMP_LT(READ_ONCE(rnp->exp_seq_rq), s) && in exp_funnel_lock()
296 ULONG_CMP_LT(READ_ONCE(rnp_root->exp_seq_rq), s)) && in exp_funnel_lock()
608 if (ULONG_CMP_LT(READ_ONCE(rnp->exp_seq_rq), s)) { in rcu_exp_wait_wake()
611 if (ULONG_CMP_LT(rnp->exp_seq_rq, s)) in rcu_exp_wait_wake()
Drcu_segcblist.c313 if (ULONG_CMP_LT(seq, rsclp->gp_seq[i])) in rcu_segcblist_advance()
373 ULONG_CMP_LT(rsclp->gp_seq[i], seq)) in rcu_segcblist_accelerate()
Drcutorture.c851 while (ULONG_CMP_LT(jiffies, oldstarttime)) { in rcu_torture_boost()
861 while (ULONG_CMP_LT(jiffies, endtime)) { in rcu_torture_boost()
985 while (ULONG_CMP_LT(jiffies, fqs_resume_time) && in rcu_torture_fqs()
1634 while (ULONG_CMP_LT((unsigned long)ktime_get_seconds(), in rcu_torture_stall()
Dtree.c1115 if (ULONG_CMP_LT(rcu_seq_current(&rdp->gp_seq) + ULONG_MAX / 4, in rcu_gpnum_ovf()
1118 if (ULONG_CMP_LT(rdp->rcu_iw_gp_seq + ULONG_MAX / 4, rnp->gp_seq)) in rcu_gpnum_ovf()
1540 ULONG_CMP_LT(j, js) || in check_cpu_stall()
1665 if (ULONG_CMP_LT(gp_seq_req, rnp->gp_seq_needed)) { in rcu_start_this_gp()
1683 needmore = ULONG_CMP_LT(rnp->gp_seq, rnp->gp_seq_needed); in rcu_future_gp_cleanup()
2128 if (!needgp && ULONG_CMP_LT(rnp->gp_seq, rnp->gp_seq_needed)) { in rcu_gp_cleanup()
Dtree_plugin.h2662 ULONG_CMP_LT(jiffies, READ_ONCE(rsp->gp_start) + HZ))) in rcu_nohz_full_cpu()
/Linux-v4.19/include/linux/
Drcupdate.h47 #define ULONG_CMP_LT(a, b) (ULONG_MAX / 2 < (a) - (b)) macro