Lines Matching refs:oldQueueCounts
262 int32_t oldQueueCounts = fQueueCounts.fetch_add(1 << kWaitingExlusiveOffset, in acquire() local
267 if ((oldQueueCounts & kWaitingExclusiveMask) > 0 || (oldQueueCounts & kSharedMask) > 0) { in acquire()
276 int32_t oldQueueCounts = fQueueCounts.load(sk_memory_order_relaxed); in release() local
280 newQueueCounts = oldQueueCounts; in release()
286 waitingShared = (oldQueueCounts & kWaitingSharedMask) >> kWaitingSharedOffset; in release()
301 } while (!fQueueCounts.compare_exchange(&oldQueueCounts, newQueueCounts, in release()
314 int32_t oldQueueCounts = fQueueCounts.load(sk_memory_order_relaxed); in acquireShared() local
317 newQueueCounts = oldQueueCounts; in acquireShared()
324 } while (!fQueueCounts.compare_exchange(&oldQueueCounts, newQueueCounts, in acquireShared()
339 int32_t oldQueueCounts = fQueueCounts.fetch_sub(1 << kSharedOffset, in releaseShared() local
344 if (((oldQueueCounts & kSharedMask) >> kSharedOffset) == 1 in releaseShared()
345 && (oldQueueCounts & kWaitingExclusiveMask) > 0) { in releaseShared()