Searched refs:startAddress (Results 1 - 2 of 2) sorted by relevance

/xnu-2422.115.4/libkern/gen/
H A DOSAtomicOperations.c127 static Boolean OSTestAndSetClear(UInt32 bit, Boolean wantSet, volatile UInt8 * startAddress) argument
133 startAddress += (bit / 8);
138 oldValue = *startAddress;
142 } while (! OSCompareAndSwap8(oldValue, (oldValue & ~mask) | wantValue, startAddress));
147 Boolean OSTestAndSet(UInt32 bit, volatile UInt8 * startAddress) argument
149 return OSTestAndSetClear(bit, true, startAddress);
152 Boolean OSTestAndClear(UInt32 bit, volatile UInt8 * startAddress) argument
154 return OSTestAndSetClear(bit, false, startAddress);
/xnu-2422.115.4/libkern/libkern/
H A DOSAtomic.h550 * @param startAddress The address of the byte to update atomically.
555 volatile UInt8 * startAddress);
568 * @param startAddress The address of the byte to update atomically.
573 volatile UInt8 * startAddress);

Completed in 15 milliseconds