Lines Matching refs:mUserRefCount
26 mUserRefCount = 0;
42 //ALOGV("~ObjectBase %p ref %i,%i", this, mUserRefCount, mSysRefCount);
57 rsAssert(!mUserRefCount);
64 op, this, mName.string(), mUserRefCount, mSysRefCount, mNext, mPrev, mRSC);
67 op, this, mUserRefCount, mSysRefCount, mNext, mPrev, mRSC);
72 android_atomic_inc(&mUserRefCount);
73 //ALOGV("ObjectBase %p incU ref %i, %i", this, mUserRefCount, mSysRefCount);
78 //ALOGV("ObjectBase %p incS ref %i, %i", this, mUserRefCount, mSysRefCount);
97 if (ref->mUserRefCount || ref->mSysRefCount) {
112 rsAssert(mUserRefCount > 0);
114 ALOGV("ObjectBase %p decU ref %i, %i", this, mUserRefCount, mSysRefCount);
115 if (mUserRefCount <= 0) {
121 if ((android_atomic_dec(&mUserRefCount) <= 1) &&
129 //ALOGV("ObjectBase %p zeroU ref %i, %i", this, mUserRefCount, mSysRefCount);
130 android_atomic_acquire_store(0, &mUserRefCount);
138 //ALOGV("ObjectBase %p decS ref %i, %i", this, mUserRefCount, mSysRefCount);
141 (android_atomic_acquire_load(&mUserRefCount) <= 0)) {