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

/xnu-2782.1.97/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.h42 typedef struct _IODataQueueMemory IODataQueueMemory; typedef in typeref:struct:_IODataQueueMemory
71 IODataQueueMemory * dataQueue;
88 * @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.
107 * @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>.
143 * @abstract Returns a memory descriptor covering the IODataQueueMemory region.
145 * @result Returns a newly allocated IOMemoryDescriptor for the IODataQueueMemory region. Returns zero on failure.
/xnu-2782.1.97/iokit/Kernel/
H A DIODataQueue.cpp98 dataQueue = (IODataQueueMemory *)IOMallocAligned(allocSize, PAGE_SIZE);
H A DIOSharedDataQueue.cpp98 dataQueue = (IODataQueueMemory *)IOMallocAligned(allocSize, PAGE_SIZE);

Completed in 24 milliseconds