• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/libkern/libkern/

Lines Matching defs:address

51 				   volatile UInt64 *address);
57 extern SInt64 OSAddAtomic64(SInt64 theAmount, volatile SInt64 *address);
63 inline static SInt64 OSIncrementAtomic64(volatile SInt64 *address)
65 return OSAddAtomic64(1, address);
72 inline static SInt64 OSDecrementAtomic64(volatile SInt64 *address)
74 return OSAddAtomic64(-1, address);
81 @discussion 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.
84 @param oldValue The value to compare at address.
85 @param newValue The value to write to address if oldValue compares true.
86 @param address The 4-byte aligned address of the data to update atomically.
87 @result true if newValue was written to the address. */
90 volatile UInt32 *address);
94 @discussion The OSAddAtomic function adds the specified amount to the value at the specified address and returns the original value.
98 @param address The 4-byte aligned address of the value to update atomically.
101 extern SInt32 OSAddAtomic(SInt32 amount, volatile SInt32 * address);
105 @discussion The OSAddAtomic16 function adds the specified amount to the value at the specified address and returns the original value.
109 @param address The 2-byte aligned address of the value to update atomically.
112 extern SInt16 OSAddAtomic16(SInt32 amount, volatile SInt16 * address);
116 @discussion The OSAddAtomic8 function adds the specified amount to the value at the specified address and returns the original value.
120 @param address The address of the value to update atomically.
123 extern SInt8 OSAddAtomic8(SInt32 amount, volatile SInt8 * address);
127 @discussion The OSIncrementAtomic function increments the value at the specified address by one and returns the original value.
130 @param address The 4-byte aligned address of the value to update atomically.
133 extern SInt32 OSIncrementAtomic(volatile SInt32 * address);
137 @discussion The OSIncrementAtomic16 function increments the value at the specified address by one and returns the original value.
140 @param address The 2-byte aligned address of the value to update atomically.
143 extern SInt16 OSIncrementAtomic16(volatile SInt16 * address);
147 @discussion The OSIncrementAtomic8 function increments the value at the specified address by one and returns the original value.
150 @param address The address of the value to update atomically.
153 extern SInt8 OSIncrementAtomic8(volatile SInt8 * address);
157 @discussion The OSDecrementAtomic function decrements the value at the specified address by one and returns the original value.
160 @param address The 4-byte aligned address of the value to update atomically.
163 extern SInt32 OSDecrementAtomic(volatile SInt32 * address);
167 @discussion The OSDecrementAtomic16 function decrements the value at the specified address by one and returns the original value.
170 @param address The 2-byte aligned address of the value to update atomically.
173 extern SInt16 OSDecrementAtomic16(volatile SInt16 * address);
177 @discussion The OSDecrementAtomic8 function decrements the value at the specified address by one and returns the original value.
180 @param address The address of the value to update atomically.
183 extern SInt8 OSDecrementAtomic8(volatile SInt8 * address);
187 @discussion The OSBitAndAtomic function logically ands the bits of the specified mask into the value at the specified address and returns the original value.
191 @param address The 4-byte aligned address of the value to update atomically.
194 extern UInt32 OSBitAndAtomic(UInt32 mask, volatile UInt32 * address);
198 @discussion The OSBitAndAtomic16 function logically ands the bits of the specified mask into the value at the specified address and returns the original value.
202 @param address The 2-byte aligned address of the value to update atomically.
205 extern UInt16 OSBitAndAtomic16(UInt32 mask, volatile UInt16 * address);
209 @discussion The OSBitAndAtomic8 function logically ands the bits of the specified mask into the value at the specified address and returns the original value.
213 @param address The address of the value to update atomically.
216 extern UInt8 OSBitAndAtomic8(UInt32 mask, volatile UInt8 * address);
220 @discussion The OSBitOrAtomic function logically ors the bits of the specified mask into the value at the specified address and returns the original value.
224 @param address The 4-byte aligned address of the value to update atomically.
227 extern UInt32 OSBitOrAtomic(UInt32 mask, volatile UInt32 * address);
231 @discussion The OSBitOrAtomic16 function logically ors the bits of the specified mask into the value at the specified address and returns the original value.
235 @param address The 2-byte aligned address of the value to update atomically.
238 extern UInt16 OSBitOrAtomic16(UInt32 mask, volatile UInt16 * address);
244 @discussion The OSBitOrAtomic8 function logically ors the bits of the specified mask into the value at the specified address and returns the original value.
246 @param address The address of the value to update atomically.
249 extern UInt8 OSBitOrAtomic8(UInt32 mask, volatile UInt8 * address);
255 @discussion The OSBitXorAtomic function logically xors the bits of the specified mask into the value at the specified address and returns the original value.
257 @param address The 4-byte aligned address of the value to update atomically.
260 extern UInt32 OSBitXorAtomic(UInt32 mask, volatile UInt32 * address);
264 @discussion The OSBitXorAtomic16 function logically xors the bits of the specified mask into the value at the specified address and returns the original value.
268 @param address The 2-byte aligned address of the value to update atomically.
271 extern UInt16 OSBitXorAtomic16(UInt32 mask, volatile UInt16 * address);
277 @discussion The OSBitXorAtomic8 function logically xors the bits of the specified mask into the value at the specified address and returns the original value.
279 @param address The address of the value to update atomically.
282 extern UInt8 OSBitXorAtomic8(UInt32 mask, volatile UInt8 * address);
288 @discussion 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.
290 @param address The address of the byte to update atomically.
297 @discussion 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.
301 @param address The address of the byte to update atomically.
309 @discussion The OSEnqueueAtomic function places an element at the head of a single linked list, which is specified with the address of a head pointer, listHead. The element structure has a next field whose offset is specified.
312 @param listHead The address of a head pointer for the list .
321 @discussion The OSDequeueAtomic function removes an element from the head of a single linked list, which is specified with the address of a head pointer, listHead. The element structure has a next field whose offset is specified.
324 @param listHead The address of a head pointer for the list .