Searched refs:ULONG_CMP_LT (Results 1 – 10 of 10) sorted by relevance
| /linux/kernel/rcu/ |
| H A D | rcu.h | 156 return ULONG_CMP_LT((s - 1) & ~RCU_SEQ_STATE_MASK, READ_ONCE(*sp)); in rcu_seq_started() 186 return ULONG_CMP_GE(cur_s, s) || ULONG_CMP_LT(cur_s, s - (2 * RCU_SEQ_GP)); in rcu_seq_done_exact() 194 return ULONG_CMP_LT(old, new & ~RCU_SEQ_STATE_MASK); in rcu_seq_completed_gp() 202 return ULONG_CMP_LT((old + RCU_SEQ_STATE_MASK) & ~RCU_SEQ_STATE_MASK, in rcu_seq_new_gp()
|
| H A D | srcutree.c | 460 return ULONG_CMP_LT(READ_ONCE(sup->srcu_gp_seq), READ_ONCE(sup->srcu_gp_seq_needed_exp)); in srcu_gp_is_expedited() 923 if (ULONG_CMP_LT(sup->srcu_gp_seq_needed_exp, gpseq)) in srcu_gp_end() 945 if (srcu_invl_snp_seq(sgsne) || ULONG_CMP_LT(sgsne, gpseq)) in srcu_gp_end() 977 ULONG_CMP_LT(gpseq, sup->srcu_gp_seq_needed)) { in srcu_gp_end() 1023 if (ULONG_CMP_LT(ssp->srcu_sup->srcu_gp_seq_needed_exp, s)) in srcu_funnel_exp_start() 1081 if (!do_norm && (srcu_invl_snp_seq(sgsne) || ULONG_CMP_LT(sgsne, s))) in srcu_funnel_gp_start() 1088 if (ULONG_CMP_LT(sup->srcu_gp_seq_needed, s)) { in srcu_funnel_gp_start() 1095 if (!do_norm && ULONG_CMP_LT(sup->srcu_gp_seq_needed_exp, s)) in srcu_funnel_gp_start() 1266 if (ULONG_CMP_LT(curseq, READ_ONCE(ssp->srcu_sup->srcu_gp_seq_needed))) in srcu_should_expedite() 1362 if (ULONG_CMP_LT(sdp->srcu_gp_seq_needed, s)) { in srcu_gp_start_if_needed() [all …]
|
| H A D | srcutiny.c | 176 idx = ULONG_CMP_LT(ssp->srcu_idx, READ_ONCE(ssp->srcu_idx_max)); in srcu_drive_gp() 305 ULONG_CMP_GE(cur_s, cookie) || ULONG_CMP_LT(cur_s, cookie - 3); in poll_state_synchronize_srcu()
|
| H A D | tree_exp.h | 308 if (ULONG_CMP_LT(READ_ONCE(rnp->exp_seq_rq), s) && in exp_funnel_lock() 310 ULONG_CMP_LT(READ_ONCE(rnp_root->exp_seq_rq), s)) && in exp_funnel_lock() 705 if (ULONG_CMP_LT(READ_ONCE(rnp->exp_seq_rq), s)) { in rcu_exp_wait_wake() 708 if (ULONG_CMP_LT(rnp->exp_seq_rq, s)) in rcu_exp_wait_wake()
|
| H A D | rcu_segcblist.c | 562 ULONG_CMP_LT(rsclp->gp_seq[i].norm, gsp->norm)) in rcu_segcblist_accelerate() 655 if (ULONG_CMP_LT(seq, rsclp->gp_seq[i].norm)) in srcu_segcblist_advance()
|
| H A D | tree_nocb.h | 520 if (ULONG_CMP_LT(rdp->nocb_nobypass_count, in rcu_nocb_try_bypass() 805 if (!needwait_gp || ULONG_CMP_LT(cur_gp_seq.norm, wait_gp_seq.norm)) in nocb_gp_wait() 807 if (!needwait_gp || ULONG_CMP_LT(cur_gp_seq.exp, wait_gp_seq.exp)) in nocb_gp_wait()
|
| H A D | tree.c | 806 if (ULONG_CMP_LT(rcu_seq_current(&rdp->gp_seq) + seq_gpwrap_lag, in rcu_gpnum_ovf() 811 if (ULONG_CMP_LT(rdp->rcu_iw_gp_seq + ULONG_MAX / 4, rnp->gp_seq)) in rcu_gpnum_ovf() 1075 if (ULONG_CMP_LT(gp_seq_req, rnp->gp_seq_needed)) { in rcu_start_this_gp() 1092 needmore = ULONG_CMP_LT(rnp->gp_seq, rnp->gp_seq_needed); in rcu_future_gp_cleanup() 1309 if (ULONG_CMP_LT(rdp->gp_seq_needed, rnp->gp_seq_needed) || rdp->gpwrap) in __note_gp_changes() 2260 if (!needgp && ULONG_CMP_LT(rnp->gp_seq, rnp->gp_seq_needed)) { in rcu_gp_cleanup()
|
| H A D | tree_stall.h | 830 ULONG_CMP_LT(j, js) || in check_cpu_stall()
|
| H A D | rcutorture.c | 2142 if (ULONG_CMP_LT(loops, rtrcp_assigner->rtc_chkloops)) in rcu_torture_reader_do_mbchk() 3324 while (ULONG_CMP_LT((unsigned long)ktime_get_seconds(), stop_at) && in rcu_torture_stall_one()
|
| /linux/include/linux/ |
| H A D | rcupdate.h | 45 #define ULONG_CMP_LT(a, b) (ULONG_MAX / 2 < (a) - (b)) macro
|