Lines Matching refs:newQueueCounts
282 int32_t newQueueCounts; in release() local
284 newQueueCounts = oldQueueCounts; in release()
287 newQueueCounts -= 1 << kWaitingExlusiveOffset; in release()
297 newQueueCounts &= ~kWaitingSharedMask; in release()
302 newQueueCounts |= waitingShared << kSharedOffset; in release()
305 } while (!fQueueCounts.compare_exchange(&oldQueueCounts, newQueueCounts, in release()
311 } else if ((newQueueCounts & kWaitingExclusiveMask) > 0) { in release()
319 int32_t newQueueCounts; in acquireShared() local
321 newQueueCounts = oldQueueCounts; in acquireShared()
323 if ((newQueueCounts & kWaitingExclusiveMask) > 0) { in acquireShared()
324 newQueueCounts += 1 << kWaitingSharedOffset; in acquireShared()
326 newQueueCounts += 1 << kSharedOffset; in acquireShared()
328 } while (!fQueueCounts.compare_exchange(&oldQueueCounts, newQueueCounts, in acquireShared()
332 if ((newQueueCounts & kWaitingExclusiveMask) > 0) { in acquireShared()