Lines Matching refs:oldQueueCounts
266 int32_t oldQueueCounts = fQueueCounts.fetch_add(1 << kWaitingExlusiveOffset, in acquire() local
271 if ((oldQueueCounts & kWaitingExclusiveMask) > 0 || (oldQueueCounts & kSharedMask) > 0) { in acquire()
280 int32_t oldQueueCounts = fQueueCounts.load(sk_memory_order_relaxed); in release() local
284 newQueueCounts = oldQueueCounts; in release()
290 waitingShared = (oldQueueCounts & kWaitingSharedMask) >> kWaitingSharedOffset; in release()
305 } while (!fQueueCounts.compare_exchange(&oldQueueCounts, newQueueCounts, in release()
318 int32_t oldQueueCounts = fQueueCounts.load(sk_memory_order_relaxed); in acquireShared() local
321 newQueueCounts = oldQueueCounts; in acquireShared()
328 } while (!fQueueCounts.compare_exchange(&oldQueueCounts, newQueueCounts, in acquireShared()
343 int32_t oldQueueCounts = fQueueCounts.fetch_sub(1 << kSharedOffset, in releaseShared() local
348 if (((oldQueueCounts & kSharedMask) >> kSharedOffset) == 1 in releaseShared()
349 && (oldQueueCounts & kWaitingExclusiveMask) > 0) { in releaseShared()