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

/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOSharedDataQueue.cpp83 dataQueue->queueSize = size;
98 IOFreeAligned(dataQueue, round_page_32(dataQueue->queueSize + DATA_QUEUE_MEMORY_HEADER_SIZE + DATA_QUEUE_MEMORY_APPENDIX_SIZE));
110 descriptor = IOMemoryDescriptor::withAddress(dataQueue, dataQueue->queueSize + DATA_QUEUE_MEMORY_HEADER_SIZE + DATA_QUEUE_MEMORY_APPENDIX_SIZE, kIODirectionOutIn);
125 UInt32 queueSize = dataQueue->queueSize; local
134 if ((headOffset + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize) ||
135 ((headOffset + headSize + DATA_QUEUE_ENTRY_HEADER_SIZE) > queueSize))
159 UInt32 queueSize = dataQueue->queueSize; local
166 if ((headOffset + DATA_QUEUE_ENTRY_HEADER_SIZE > queueSize) ||
[all...]
H A DIODataQueue.cpp85 dataQueue->queueSize = size;
100 IOFreeAligned(dataQueue, round_page_32(dataQueue->queueSize + DATA_QUEUE_MEMORY_HEADER_SIZE));
118 if ( (tail + entrySize) <= dataQueue->queueSize )
127 // The tail can range from 0 to dataQueue->queueSize inclusive.
142 if ( ( dataQueue->queueSize - tail ) >= DATA_QUEUE_ENTRY_HEADER_SIZE )
229 descriptor = IOMemoryDescriptor::withAddress(dataQueue, dataQueue->queueSize + DATA_QUEUE_MEMORY_HEADER_SIZE, kIODirectionOutIn);
/macosx-10.5.8/xnu-1228.15.4/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.

Completed in 16 milliseconds