Lines Matching refs:address

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()
63 OSCompareAndSwap16(UInt16 oldValue, UInt16 newValue, volatile UInt16 *address) in OSCompareAndSwap16() argument
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
72 ALIGN_TEST(address, UInt32); in OSCompareAndSwap()
73 return (Boolean)os_atomic_cmpxchg(address, oldValue, newValue, acq_rel); in OSCompareAndSwap()
78 OSCompareAndSwap64(UInt64 oldValue, UInt64 newValue, volatile UInt64 *address) in OSCompareAndSwap64() argument
85 _Atomic UInt64 *aligned_addr = (_Atomic UInt64 *)(uintptr_t)address; in OSCompareAndSwap64()
87 ALIGN_TEST(address, UInt64); in OSCompareAndSwap64()
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()
99 OSAddAtomic8(SInt32 amount, volatile SInt8 *address) in OSAddAtomic8() argument
101 return os_atomic_add_orig(address, (SInt8)amount, relaxed); in OSAddAtomic8()
105 OSAddAtomic16(SInt32 amount, volatile SInt16 *address) in OSAddAtomic16() argument
107 return os_atomic_add_orig(address, (SInt16)amount, relaxed); in OSAddAtomic16()
112 OSAddAtomic(SInt32 amount, volatile SInt32 *address) in OSAddAtomic() argument
114 ALIGN_TEST(address, UInt32); in OSAddAtomic()
115 return os_atomic_add_orig(address, amount, relaxed); in OSAddAtomic()
120 OSAddAtomic64(SInt64 amount, volatile SInt64 *address) in OSAddAtomic64() argument
122 _Atomic SInt64* aligned_address = (_Atomic SInt64*)(uintptr_t)address; in OSAddAtomic64()
124 ALIGN_TEST(address, SInt64); in OSAddAtomic64()
130 OSAddAtomicLong(long theAmount, volatile long *address) in OSAddAtomicLong() argument
132 return os_atomic_add_orig(address, theAmount, relaxed); in OSAddAtomicLong()
176 UInt8 *address; in OSTestAndSetClear() local
178 address = (UInt8 *)(uintptr_t)(startAddress + (bit / 8)); in OSTestAndSetClear()
182 return !os_atomic_rmw_loop(address, oldValue, newValue, relaxed, { in OSTestAndSetClear()