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

/xnu-2422.115.4/iokit/IOKit/
H A DIODataQueueShared.h49 * @typedef IODataQueueMemory
62 } IODataQueueMemory; typedef in typeref:struct:_IODataQueueMemory
84 #define DATA_QUEUE_MEMORY_HEADER_SIZE (sizeof(IODataQueueMemory) - sizeof(IODataQueueEntry))
H A DIODataQueue.h37 typedef struct _IODataQueueMemory IODataQueueMemory; typedef in typeref:struct:_IODataQueueMemory
62 IODataQueueMemory * dataQueue;
79 * @discussion The actual size of the entire data queue memory region (to be shared into a user process) is equal to the capacity plus the IODataQueueMemory overhead. This overhead value can be determined from the DATA_QUEUE_MEMORY_HEADER_SIZE macro in <IOKit/IODataQueueShared.h>. The size of the data queue memory region must include space for the overhead of each IODataQueueEntry. This entry overhead can be determined from the DATA_QUEUE_ENTRY_HEADER_SIZE macro in <IOKit/IODataQueueShared.h>.<br> This method allocates a new IODataQueue instance and then calls initWithCapacity() with the given size parameter. If the initWithCapacity() fails, the new instance is released and zero is returned.
98 * @discussion The actual size of the entire data queue memory region (to be shared into a user process) is equal to the capacity plus the IODataQueueMemory overhead. This overhead value can be determined from the DATA_QUEUE_MEMORY_HEADER_SIZE macro in <IOKit/IODataQueueShared.h>. The size of the data queue memory region must include space for the overhead of each IODataQueueEntry. This entry overhead can be determined from the DATA_QUEUE_ENTRY_HEADER_SIZE macro in <IOKit/IODataQueueShared.h>.
134 * @abstract Returns a memory descriptor covering the IODataQueueMemory region.
136 * @result Returns a newly allocated IOMemoryDescriptor for the IODataQueueMemory region. Returns zero on failure.
/xnu-2422.115.4/iokit/Kernel/
H A DIODataQueue.cpp93 dataQueue = (IODataQueueMemory *)IOMallocAligned(allocSize, PAGE_SIZE);
H A DIOSharedDataQueue.cpp98 dataQueue = (IODataQueueMemory *)IOMallocAligned(allocSize, PAGE_SIZE);

Completed in 24 milliseconds