Searched refs:OSTestAndSet (Results 1 - 4 of 4) sorted by relevance

/xnu-2422.115.4/libkern/libkern/
H A DOSAtomic.h540 * @function OSTestAndSet
548 * The OSTestAndSet function sets a single bit in a byte at a specified address. It returns true if the bit was already set, false otherwise.
553 extern Boolean OSTestAndSet(
/xnu-2422.115.4/bsd/dev/random/
H A Drandomdev.c329 while (OSTestAndSet(0, &gYarrowInitializationLock)); /* serialize access to this function */
412 if (OSTestAndSet(0, &gRandomInstalled)) {
/xnu-2422.115.4/libkern/gen/
H A DOSAtomicOperations.c147 Boolean OSTestAndSet(UInt32 bit, volatile UInt8 * startAddress) function
/xnu-2422.115.4/bsd/netinet/
H A Dflow_divert.c855 OSTestAndSet(GROUP_BIT_CTL_ENQUEUE_BLOCKED, &fd_cb->group->atomic_bits);
3083 OSTestAndSet(GROUP_BIT_CTL_ENQUEUE_BLOCKED, &group->atomic_bits);

Completed in 28 milliseconds