Home
last modified time | relevance | path

Searched refs:DATA_QUEUE_MEMORY_HEADER_SIZE (Results 1 – 3 of 3) sorted by relevance

/xnu-10002.81.5/iokit/Kernel/
H A DIODataQueue.cpp98 if (size > UINT32_MAX - DATA_QUEUE_MEMORY_HEADER_SIZE) { in initWithCapacity()
102 allocSize = round_page(size + DATA_QUEUE_MEMORY_HEADER_SIZE); in initWithCapacity()
148 DATA_QUEUE_MEMORY_HEADER_SIZE)); in free()
300 …descriptor = IOMemoryDescriptor::withAddress(dataQueue, queueSize + DATA_QUEUE_MEMORY_HEADER_SIZE,… in getMemoryDescriptor()
H A DIOSharedDataQueue.cpp93 if (size > UINT32_MAX - DATA_QUEUE_MEMORY_HEADER_SIZE - DATA_QUEUE_MEMORY_APPENDIX_SIZE) { in initWithCapacity()
97 allocSize = round_page(size + DATA_QUEUE_MEMORY_HEADER_SIZE + DATA_QUEUE_MEMORY_APPENDIX_SIZE); in initWithCapacity()
117 …ix = (IODataQueueAppendix *)((UInt8 *)dataQueue + size + DATA_QUEUE_MEMORY_HEADER_SIZE); in initWithCapacity()
138 DATA_QUEUE_MEMORY_HEADER_SIZE + DATA_QUEUE_MEMORY_APPENDIX_SIZE)); in free()
160 …= IOMemoryDescriptor::withAddress(dataQueue, getQueueSize() + DATA_QUEUE_MEMORY_HEADER_SIZE + DATA… in getMemoryDescriptor()
/xnu-10002.81.5/iokit/IOKit/
H A DIODataQueueShared.h84 #define DATA_QUEUE_MEMORY_HEADER_SIZE (sizeof(IODataQueueMemory) - sizeof(IODataQueueEntry)) macro