Searched refs:old_refs (Results 1 – 4 of 4) 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 …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/ |
D | subchannel.cc | 751 gpr_atm old_refs; in Ref() local 752 old_refs = RefMutate((1 << INTERNAL_REF_BITS), in Ref() 754 GPR_ASSERT((old_refs & STRONG_REF_MASK) != 0); in Ref() 759 gpr_atm old_refs; in Unref() local 761 old_refs = RefMutate( in Unref() 764 if ((old_refs & STRONG_REF_MASK) == (1 << INTERNAL_REF_BITS)) { in Unref() 771 gpr_atm old_refs; in WeakRef() local 772 old_refs = RefMutate(1, 0 GRPC_SUBCHANNEL_REF_MUTATE_PURPOSE("WEAK_REF")); in WeakRef() 773 GPR_ASSERT(old_refs != 0); in WeakRef() 787 gpr_atm old_refs; in WeakUnref() local [all …]
|