Lines Matching refs:UInt32
52 IOSharedDataQueue::withCapacity(UInt32 size) in OSDefineMetaClassAndStructors()
66 IOSharedDataQueue::withEntries(UInt32 numEntries, UInt32 entrySize) in withEntries()
80 IOSharedDataQueue::initWithCapacity(UInt32 size) in initWithCapacity()
173 UInt32 headOffset; in peek()
174 UInt32 tailOffset; in peek()
182 headOffset = __c11_atomic_load((_Atomic UInt32 *)&dataQueue->head, __ATOMIC_RELAXED); in peek()
183 tailOffset = __c11_atomic_load((_Atomic UInt32 *)&dataQueue->tail, __ATOMIC_ACQUIRE); in peek()
187 UInt32 headSize = 0; in peek()
188 UInt32 headOffset = dataQueue->head; in peek()
189 UInt32 queueSize = getQueueSize(); in peek()
219 IOSharedDataQueue::enqueue(void * data, UInt32 dataSize) in enqueue()
221 UInt32 head; in enqueue()
222 UInt32 tail; in enqueue()
223 UInt32 newTail; in enqueue()
224 const UInt32 entrySize = dataSize + DATA_QUEUE_ENTRY_HEADER_SIZE; in enqueue()
229 tail = __c11_atomic_load((_Atomic UInt32 *)&dataQueue->tail, __ATOMIC_RELAXED); in enqueue()
230 head = __c11_atomic_load((_Atomic UInt32 *)&dataQueue->head, __ATOMIC_ACQUIRE); in enqueue()
290 __c11_atomic_store((_Atomic UInt32 *)&dataQueue->tail, newTail, __ATOMIC_RELEASE); in enqueue()
303 head = __c11_atomic_load((_Atomic UInt32 *)&dataQueue->head, __ATOMIC_RELAXED); in enqueue()
314 IOSharedDataQueue::dequeue(void *data, UInt32 *dataSize) in dequeue()
318 UInt32 entrySize = 0; in dequeue()
319 UInt32 headOffset = 0; in dequeue()
320 UInt32 tailOffset = 0; in dequeue()
321 UInt32 newHeadOffset = 0; in dequeue()
329 headOffset = __c11_atomic_load((_Atomic UInt32 *)&dataQueue->head, __ATOMIC_RELAXED); in dequeue()
330 tailOffset = __c11_atomic_load((_Atomic UInt32 *)&dataQueue->tail, __ATOMIC_ACQUIRE); in dequeue()
334 UInt32 headSize = 0; in dequeue()
335 UInt32 queueSize = getQueueSize(); in dequeue()
385 __c11_atomic_store((_Atomic UInt32 *)&dataQueue->head, newHeadOffset, __ATOMIC_RELEASE); in dequeue()
399 UInt32
409 IOSharedDataQueue::setQueueSize(UInt32 size) in setQueueSize()