Home
last modified time | relevance | path

Searched refs:headOffset (Results 1 – 2 of 2) sorted by relevance

/xnu-11215/iokit/Kernel/
H A DIOSharedDataQueue.cpp173 UInt32 headOffset; in peek() local
185 if (headOffset != tailOffset) { in peek()
188 UInt32 headOffset = dataQueue->head; in peek() local
191 if (headOffset > queueSize) { in peek()
202 if ((headOffset > UINT32_MAX - DATA_QUEUE_ENTRY_HEADER_SIZE) || in peek()
203 (headOffset + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize) || in peek()
319 UInt32 headOffset = 0; in dequeue() local
332 if (headOffset != tailOffset) { in dequeue()
337 if (headOffset > queueSize) { in dequeue()
346 if ((headOffset > UINT32_MAX - DATA_QUEUE_ENTRY_HEADER_SIZE) || in dequeue()
[all …]
/xnu-11215/iokit/System/
H A DIODataQueueDispatchSourceShared.h299 uint32_t headOffset; in Peek() local
311 if (headOffset != tailOffset) { in Peek()
316 if (headOffset > queueSize) { in Peek()
331 if ((headOffset > UINT32_MAX - DATA_QUEUE_ENTRY_HEADER_SIZE) || in Peek()
332 (headOffset + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize) || in Peek()
385 uint32_t headOffset = 0; in DequeueWithCoalesce() local
398 if (headOffset != tailOffset) { in DequeueWithCoalesce()
403 if (headOffset > queueSize) { in DequeueWithCoalesce()
407 head = (IODataQueueEntry *)((uintptr_t)dataQueue->queue + headOffset); in DequeueWithCoalesce()
416 if ((headOffset > UINT32_MAX - DATA_QUEUE_ENTRY_HEADER_SIZE) || in DequeueWithCoalesce()
[all …]