Searched refs:old_refs (Results 1 – 3 of 3) sorted by relevance
/external/grpc-grpc/src/core/lib/gprpp/ |
D | ref_counted.h | 101 gpr_atm old_refs = gpr_atm_no_barrier_load(&refs_.count); in Ref() local 104 old_refs, old_refs + 1, reason); in Ref() 122 gpr_atm old_refs = gpr_atm_no_barrier_load(&refs_.count); in Unref() local 125 old_refs, old_refs - 1, reason); in Unref()
|
D | orphanable.h | 159 gpr_atm old_refs = gpr_atm_no_barrier_load(&refs_.count); in Ref() local 162 old_refs, old_refs + 1, reason); in Ref() 180 gpr_atm old_refs = gpr_atm_no_barrier_load(&refs_.count); in Unref() local 183 old_refs, old_refs - 1, reason); in Unref()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/ |
D | subchannel.cc | 219 gpr_atm old_refs; in grpc_subchannel_ref() local 220 old_refs = ref_mutate(c, (1 << INTERNAL_REF_BITS), in grpc_subchannel_ref() 222 GPR_ASSERT((old_refs & STRONG_REF_MASK) != 0); in grpc_subchannel_ref() 228 gpr_atm old_refs; in grpc_subchannel_weak_ref() local 229 old_refs = ref_mutate(c, 1, 0 REF_MUTATE_PURPOSE("WEAK_REF")); in grpc_subchannel_weak_ref() 230 GPR_ASSERT(old_refs != 0); in grpc_subchannel_weak_ref() 238 gpr_atm old_refs = gpr_atm_acq_load(&c->ref_pair); in grpc_subchannel_ref_from_weak_ref() local 239 if (old_refs >= (1 << INTERNAL_REF_BITS)) { in grpc_subchannel_ref_from_weak_ref() 240 gpr_atm new_refs = old_refs + (1 << INTERNAL_REF_BITS); in grpc_subchannel_ref_from_weak_ref() 241 if (gpr_atm_rel_cas(&c->ref_pair, old_refs, new_refs)) { in grpc_subchannel_ref_from_weak_ref() [all …]
|