Searched refs:ref_pair (Results 1 – 2 of 2) sorted by relevance
247 static uint32_t GetStrongRefs(uint64_t ref_pair) { in GetStrongRefs() argument248 return static_cast<uint32_t>(ref_pair >> 32); in GetStrongRefs()250 static uint32_t GetWeakRefs(uint64_t ref_pair) { in GetWeakRefs() argument251 return static_cast<uint32_t>(ref_pair & 0xffffffffu); in GetWeakRefs()
87 gpr_atm ref_pair; member205 gpr_atm old_val = barrier ? gpr_atm_full_fetch_add(&c->ref_pair, delta) in ref_mutate()206 : gpr_atm_no_barrier_fetch_add(&c->ref_pair, delta); in ref_mutate()238 gpr_atm old_refs = gpr_atm_acq_load(&c->ref_pair); 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()345 gpr_atm_no_barrier_store(&c->ref_pair, 1 << INTERNAL_REF_BITS); in grpc_subchannel_create()