Lines Matching full:refs
21 This->refs = 0; in NineUnknown_ctor()
26 This->refs = 0; in NineUnknown_ctor()
30 This->refs = 1; in NineUnknown_ctor()
34 This->has_bind_or_refs = This->bind + This->refs; in NineUnknown_ctor()
38 if (This->refs && This->device) in NineUnknown_ctor()
56 if (This->refs && This->device) /* Possible only if early exit after a ctor failed */ in NineUnknown_dtor()
103 r = p_atomic_inc_return(&This->refs); in NineUnknown_AddRef()
121 * the result as AddRef after Release while refs is 0 in NineUnknown_Release()
123 if (!p_atomic_read(&This->refs)) in NineUnknown_Release()
126 ULONG r = p_atomic_dec_return(&This->refs); in NineUnknown_Release()
152 ULONG r = p_atomic_dec_return(&This->refs); in NineUnknown_ReleaseWithDtorLock()