Searched refs:DATA_QUEUE_ENTRY_HEADER_SIZE (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/iokit/IOKit/
H A DIODataQueueShared.h77 * @defined DATA_QUEUE_ENTRY_HEADER_SIZE Represents the size of the data queue entry header independent of the actual size of the data in the entry. This is the overhead of each entry in the queue. The total size of an entry is equal to this value plus the size stored in the entry's size field (in IODataQueueEntry).
79 #define DATA_QUEUE_ENTRY_HEADER_SIZE (sizeof(IODataQueueEntry) - 4) macro
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOSharedDataQueue.cpp134 if ((headOffset + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize) ||
135 ((headOffset + headSize + DATA_QUEUE_ENTRY_HEADER_SIZE) > queueSize))
166 if ((headOffset + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize) ||
168 ((headOffset + headSize + DATA_QUEUE_ENTRY_HEADER_SIZE) > queueSize)) {
171 newHeadOffset = entrySize + DATA_QUEUE_ENTRY_HEADER_SIZE;
176 newHeadOffset = headOffset + entrySize + DATA_QUEUE_ENTRY_HEADER_SIZE;
H A DIODataQueue.cpp102 return (initWithCapacity((numEntries + 1) * (DATA_QUEUE_ENTRY_HEADER_SIZE + entrySize)));
120 const UInt32 entrySize = dataSize + DATA_QUEUE_ENTRY_HEADER_SIZE;
150 if ( ( dataQueue->queueSize - tail ) >= DATA_QUEUE_ENTRY_HEADER_SIZE )

Completed in 67 milliseconds