Lines Matching refs:refs
38 This->refs = 0;
43 This->refs = 0;
47 This->refs = 1;
54 if (This->refs && This->device)
72 if (This->refs && This->device) /* Possible only if early exit after a ctor failed */
119 r = p_atomic_inc_return(&This->refs);
136 * the result as AddRef after Release while refs is 0
138 if (!p_atomic_read(&This->refs))
141 ULONG r = p_atomic_dec_return(&This->refs);
165 ULONG r = p_atomic_dec_return(&This->refs);