Lines Matching refs:newQueueCounts
284 int32_t newQueueCounts; in release() local
286 newQueueCounts = oldQueueCounts; in release()
289 newQueueCounts -= 1 << kWaitingExlusiveOffset; in release()
299 newQueueCounts &= ~kWaitingSharedMask; in release()
304 newQueueCounts |= waitingShared << kSharedOffset; in release()
307 } while (!fQueueCounts.compare_exchange_strong(oldQueueCounts, newQueueCounts, in release()
314 } else if ((newQueueCounts & kWaitingExclusiveMask) > 0) { in release()
322 int32_t newQueueCounts; in acquireShared() local
324 newQueueCounts = oldQueueCounts; in acquireShared()
326 if ((newQueueCounts & kWaitingExclusiveMask) > 0) { in acquireShared()
327 newQueueCounts += 1 << kWaitingSharedOffset; in acquireShared()
329 newQueueCounts += 1 << kSharedOffset; in acquireShared()
331 } while (!fQueueCounts.compare_exchange_strong(oldQueueCounts, newQueueCounts, in acquireShared()
336 if ((newQueueCounts & kWaitingExclusiveMask) > 0) { in acquireShared()