• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/xnu-2782.1.97/libkern/libkern/

Lines Matching refs:address

81     volatile UInt64 * address);
96 volatile SInt64 * address);
109 inline static SInt64 OSIncrementAtomic64(volatile SInt64 * address)
111 return OSAddAtomic64(1LL, address);
123 inline static SInt64 OSDecrementAtomic64(volatile SInt64 * address)
125 return OSAddAtomic64(-1LL, address);
141 volatile long * address);
155 inline static long OSIncrementAtomicLong(volatile long * address)
157 return OSAddAtomicLong(1L, address);
168 inline static long OSDecrementAtomicLong(volatile long * address)
170 return OSAddAtomicLong(-1L, address);
184 * The OSCompareAndSwap function compares the value at the specified address with oldVal. The value of newValue is written to the address only if oldValue and the value at the address are equal. OSCompareAndSwap returns true if newValue is written to the address; otherwise, it returns false.
188 * @param oldValue The value to compare at address.
189 * @param newValue The value to write to address if oldValue compares true.
190 * @param address The 4-byte aligned address of the data to update atomically.
191 * @result true if newValue was written to the address.
196 volatile UInt32 * address);
207 * The OSCompareAndSwapPtr function compares the pointer-sized value at the specified address with oldVal. The value of newValue is written to the address only if oldValue and the value at the address are equal. OSCompareAndSwapPtr returns true if newValue is written to the address; otherwise, it returns false.
210 * @param oldValue The pointer value to compare at address.
211 * @param newValue The pointer value to write to address if oldValue compares true.
212 * @param address The pointer-size aligned address of the data to update atomically.
213 * @result true if newValue was written to the address.
218 void * volatile * address);
229 * The OSAddAtomic function adds the specified amount to the value at the specified address and returns the original value.
233 * @param address The 4-byte aligned address of the value to update atomically.
238 volatile SInt32 * address);
249 * The OSAddAtomic16 function adds the specified amount to the value at the specified address and returns the original value.
252 * @param address The 2-byte aligned address of the value to update atomically.
257 volatile SInt16 * address);
266 * The OSAddAtomic8 function adds the specified amount to the value at the specified address and returns the original value.
270 * @param address The address of the value to update atomically.
275 volatile SInt8 * address);
284 * The OSIncrementAtomic function increments the value at the specified address by one and returns the original value.
287 * @param address The 4-byte aligned address of the value to update atomically.
290 extern SInt32 OSIncrementAtomic(volatile SInt32 * address);
301 * The OSIncrementAtomic16 function increments the value at the specified address by one and returns the original value.
304 * @param address The 2-byte aligned address of the value to update atomically.
307 extern SInt16 OSIncrementAtomic16(volatile SInt16 * address);
316 * The OSIncrementAtomic8 function increments the value at the specified address by one and returns the original value.
319 * @param address The address of the value to update atomically.
322 extern SInt8 OSIncrementAtomic8(volatile SInt8 * address);
331 * The OSDecrementAtomic function decrements the value at the specified address by one and returns the original value.
334 * @param address The 4-byte aligned address of the value to update atomically.
337 extern SInt32 OSDecrementAtomic(volatile SInt32 * address);
348 * The OSDecrementAtomic16 function decrements the value at the specified address by one and returns the original value.
351 * @param address The 2-byte aligned address of the value to update atomically.
354 extern SInt16 OSDecrementAtomic16(volatile SInt16 * address);
363 * The OSDecrementAtomic8 function decrements the value at the specified address by one and returns the original value.
366 * @param address The address of the value to update atomically.
369 extern SInt8 OSDecrementAtomic8(volatile SInt8 * address);
378 * The OSBitAndAtomic function logically ands the bits of the specified mask into the value at the specified address and returns the original value.
382 * @param address The 4-byte aligned address of the value to update atomically.
387 volatile UInt32 * address);
398 * The OSBitAndAtomic16 function logically ands the bits of the specified mask into the value at the specified address and returns the original value.
402 * @param address The 2-byte aligned address of the value to update atomically.
407 volatile UInt16 * address);
416 * The OSBitAndAtomic8 function logically ands the bits of the specified mask into the value at the specified address and returns the original value.
420 * @param address The address of the value to update atomically.
425 volatile UInt8 * address);
434 * The OSBitOrAtomic function logically ors the bits of the specified mask into the value at the specified address and returns the original value.
438 * @param address The 4-byte aligned address of the value to update atomically.
443 volatile UInt32 * address);
454 * The OSBitOrAtomic16 function logically ors the bits of the specified mask into the value at the specified address and returns the original value.
458 * @param address The 2-byte aligned address of the value to update atomically.
463 volatile UInt16 * address);
474 * The OSBitOrAtomic8 function logically ors the bits of the specified mask into the value at the specified address and returns the original value.
476 * @param address The address of the value to update atomically.
481 volatile UInt8 * address);
492 * The OSBitXorAtomic function logically xors the bits of the specified mask into the value at the specified address and returns the original value.
494 * @param address The 4-byte aligned address of the value to update atomically.
499 volatile UInt32 * address);
510 * The OSBitXorAtomic16 function logically xors the bits of the specified mask into the value at the specified address and returns the original value.
514 * @param address The 2-byte aligned address of the value to update atomically.
519 volatile UInt16 * address);
530 * The OSBitXorAtomic8 function logically xors the bits of the specified mask into the value at the specified address and returns the original value.
532 * @param address The address of the value to update atomically.
537 volatile UInt8 * address);
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.
550 * @param startAddress The address of the byte to update atomically.
564 * The OSTestAndClear function clears a single bit in a byte at a specified address. It returns true if the bit was already clear, false otherwise.
568 * @param startAddress The address of the byte to update atomically.