Searched refs:oldValue (Results 1 – 4 of 4) sorted by relevance
| /xnu-11215/libkern/gen/ |
| H A D | OSAtomicOperations.c | 56 OSCompareAndSwap8(UInt8 oldValue, UInt8 newValue, volatile UInt8 *address) in OSCompareAndSwap8() argument 58 return (Boolean)os_atomic_cmpxchg(address, oldValue, newValue, acq_rel); in OSCompareAndSwap8() 65 return (Boolean)os_atomic_cmpxchg(address, oldValue, newValue, acq_rel); in OSCompareAndSwap16() 70 OSCompareAndSwap(UInt32 oldValue, UInt32 newValue, volatile UInt32 *address) in OSCompareAndSwap() argument 73 return (Boolean)os_atomic_cmpxchg(address, oldValue, newValue, acq_rel); in OSCompareAndSwap() 93 OSCompareAndSwapPtr(void *oldValue, void *newValue, void * volatile *address) in OSCompareAndSwapPtr() argument 95 return (Boolean)os_atomic_cmpxchg(address, oldValue, newValue, acq_rel); in OSCompareAndSwapPtr() 174 UInt8 oldValue, newValue; in OSTestAndSetClear() local 182 return !os_atomic_rmw_loop(address, oldValue, newValue, relaxed, { in OSTestAndSetClear() 183 if ((oldValue & mask) == wantValue) { in OSTestAndSetClear() [all …]
|
| /xnu-11215/libkern/libkern/ |
| H A D | OSAtomic.h | 82 UInt64 oldValue, 199 UInt8 oldValue, 222 UInt16 oldValue, 247 UInt32 oldValue, 269 void * oldValue,
|
| /xnu-11215/bsd/miscfs/specfs/ |
| H A D | spec_vnops.c | 1029 SInt32 oldValue = OSDecrementAtomic(&info->throttle_refcnt); in throttle_info_rel() local 1032 info, (int)(oldValue - 1), info ); in throttle_info_rel() 1035 if (oldValue == 0) { in throttle_info_rel() 1043 if ((oldValue == 1) && (info->throttle_alloc)) { in throttle_info_rel() 1049 return oldValue; in throttle_info_rel() 1061 SInt32 oldValue = OSIncrementAtomic(&info->throttle_refcnt); in throttle_info_ref() local 1064 info, (int)(oldValue - 1), info ); in throttle_info_ref() 1066 if (info->throttle_alloc && (oldValue == 0)) { in throttle_info_ref() 1070 return oldValue; in throttle_info_ref()
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOService.cpp | 8781 IOInterruptAccountingData * oldValue = NULL; in addInterruptStatistics() local 8912 oldValue = reserved->interruptStatisticsArray[source].statistics; in addInterruptStatistics() 8914 if (oldValue) { in addInterruptStatistics()
|