Searched refs:newCount (Results 1 – 5 of 5) sorted by relevance
113 UInt32 newCount; in taggedTryRetain() local145 newCount = origCount + inc; in taggedTryRetain()146 } while (!OSCompareAndSwap(origCount, newCount, const_cast<UInt32 *>(countP))); in taggedTryRetain()171 UInt32 newCount; in taggedRelease() local205 newCount = 0xffff; in taggedRelease()207 newCount = actualCount; in taggedRelease()209 } while (!OSCompareAndSwap(origCount, newCount, const_cast<UInt32 *>(countP))); in taggedRelease()228 if (newCount == 0xffff) { in taggedRelease()
262 unsigned int newCount = count + 1; in setObject() local269 if (newCount > capacity && newCount > ensureCapacity(newCount)) { in setObject()295 unsigned int newCount = count + otherCount; in merge() local301 if (newCount < count) { in merge()306 if (newCount > capacity && newCount > ensureCapacity(newCount)) { in merge()
206 unsigned int newCount = count + 1; in setObject() local217 if (newCount > capacity && newCount > ensureCapacity(newCount)) { in setObject()
621 int newCount = oldCount + kKModCapacityIncrement; in OSMetaClass() local623 sStalled->classes = kalloc_type_tag(OSMetaClass *, newCount, in OSMetaClass()631 sStalled->capacity = newCount; in OSMetaClass()635 OSMETA_ACCUMSIZE(sizeof(OSMetaClass *) * (newCount - oldCount)); in OSMetaClass()
3262 unsigned int newCount; in updatePreventIdleSleepListInternal() local3293 newCount = idleSleepPreventersCount(); in updatePreventIdleSleepListInternal()3295 if ((oldCount == 0) && (newCount != 0)) { in updatePreventIdleSleepListInternal()3301 } else if ((oldCount != 0) && (newCount == 0)) { in updatePreventIdleSleepListInternal()3309 &newCount, sizeof(newCount)); in updatePreventIdleSleepListInternal()3341 unsigned int oldCount, newCount; in updatePreventSystemSleepList() local3376 newCount = preventSystemSleepList->getCount(); in updatePreventSystemSleepList()3377 if (newCount) { in updatePreventSystemSleepList()3384 &newCount, sizeof(newCount)); in updatePreventSystemSleepList()