Searched refs:DATA_QUEUE_MEMORY_HEADER_SIZE (Results 1 – 3 of 3) sorted by relevance
98 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()
93 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()
84 #define DATA_QUEUE_MEMORY_HEADER_SIZE (sizeof(IODataQueueMemory) - sizeof(IODataQueueEntry)) macro