Lines Matching refs:newQueueCounts
278 int32_t newQueueCounts; in release() local
280 newQueueCounts = oldQueueCounts; in release()
283 newQueueCounts -= 1 << kWaitingExlusiveOffset; in release()
293 newQueueCounts &= ~kWaitingSharedMask; in release()
298 newQueueCounts |= waitingShared << kSharedOffset; in release()
301 } while (!fQueueCounts.compare_exchange(&oldQueueCounts, newQueueCounts, in release()
307 } else if ((newQueueCounts & kWaitingExclusiveMask) > 0) { in release()
315 int32_t newQueueCounts; in acquireShared() local
317 newQueueCounts = oldQueueCounts; in acquireShared()
319 if ((newQueueCounts & kWaitingExclusiveMask) > 0) { in acquireShared()
320 newQueueCounts += 1 << kWaitingSharedOffset; in acquireShared()
322 newQueueCounts += 1 << kSharedOffset; in acquireShared()
324 } while (!fQueueCounts.compare_exchange(&oldQueueCounts, newQueueCounts, in acquireShared()
328 if ((newQueueCounts & kWaitingExclusiveMask) > 0) { in acquireShared()