Lines Matching refs:ownedLocks
169 int ownedLocks;
182 ownedLocks = mLockCount.get();
185 if (mExclusive && ownedLocks > 0) {
205 ownedLocks = mLockCount.get() + 1;
206 mLockCount.set(ownedLocks);
212 log("acquired lock (local own count = " + ownedLocks + ")");
237 int ownedLocks;
250 ownedLocks = mLockCount.get();
253 if (!mExclusive && ownedLocks > 0) {
264 while (ownedLocks == 0 && (mExclusive || mSharedLocks > 0)) {
278 ownedLocks = mLockCount.get() + 1;
279 mLockCount.set(ownedLocks);
285 log("acquired exclusive lock (local own count = " + ownedLocks + ")");
304 int ownedLocks;
322 ownedLocks = mLockCount.get() - 1;
323 mLockCount.set(ownedLocks);
325 if (ownedLocks == 0 && mExclusive) {
329 } else if (ownedLocks == 0 && mSharedLocks == 0) {
338 log("released lock (local lock count " + ownedLocks + ")");