Searched refs:queueSize (Results 1 - 4 of 4) sorted by relevance

/xnu-2782.1.97/iokit/Kernel/
H A DIOSharedDataQueue.cpp103 dataQueue->queueSize = size;
154 UInt32 queueSize = getQueueSize(); local
156 if (headOffset >= queueSize) {
168 (headOffset + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize) ||
170 (headOffset + headSize + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize)) {
173 // queueSize of UINT32_MAX
212 // The tail can range from 0 to dataQueue->queueSize inclusive.
282 UInt32 queueSize = getQueueSize(); local
284 if (headOffset > queueSize) {
294 (headOffset + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize) ||
[all...]
H A DIODataQueue.cpp103 dataQueue->queueSize = size;
135 IOFreeAligned(dataQueue, round_page(dataQueue->queueSize + DATA_QUEUE_MEMORY_HEADER_SIZE));
160 // Check for underflow of (dataQueue->queueSize - tail)
161 if (dataQueue->queueSize < tail) {
169 ((tail + entrySize) <= dataQueue->queueSize) )
178 // The tail can range from 0 to dataQueue->queueSize inclusive.
193 if ( ( dataQueue->queueSize - tail ) >= DATA_QUEUE_ENTRY_HEADER_SIZE )
273 descriptor = IOMemoryDescriptor::withAddress(dataQueue, dataQueue->queueSize + DATA_QUEUE_MEMORY_HEADER_SIZE, kIODirectionOutIn);
/xnu-2782.1.97/iokit/IOKit/
H A DIODataQueueShared.h51 * @discussion This struct is variable sized. The struct represents the data queue header information plus a pointer to the actual data queue itself. The size of the struct is the combined size of the header fields (3 * sizeof(UInt32)) plus the actual size of the queue region. This size is stored in the queueSize field.
52 * @field queueSize The size of the queue region pointed to by the queue field.
55 * @field queue Represents the beginning of the queue memory region. The size of the region pointed to by queue is stored in the queueSize field.
58 UInt32 queueSize; member in struct:_IODataQueueMemory
82 * @defined DATA_QUEUE_MEMORY_HEADER_SIZE Represents the size of the data queue memory header independent of the actual size of the queue data itself. The total size of the queue memory is equal to this value plus the size of the queue appendix and the size of the queue data region which is stored in the queueSize field of IODataQueueMeory.
87 * @defined DATA_QUEUE_MEMORY_APPENDIX_SIZE Represents the size of the data queue memory appendix independent of the actual size of the queue data itself. The total size of the queue memory is equal to this value plus the size of queue header and size of the queue data region which is stored in the queueSize field of IODataQueueMeory.
H A DIOSharedDataQueue.h60 UInt32 queueSize; member in struct:IOSharedDataQueue::ExpansionData

Completed in 32 milliseconds