Lines Matching refs:sizeofIOLibPageMallocHeader
428 #define sizeofIOLibPageMallocHeader (sizeof(IOLibPageMallocHeader) - (TRACK_ALLOC ? 0 : sizeof(… macro
430 #define sizeofIOLibPageMallocHeader (sizeof(IOLibPageMallocHeader)) macro
468 if (os_add3_overflow(address, sizeofIOLibPageMallocHeader, alignMask, in IOMallocAlignedHdrCorruptionPanic()
478 if (offset < sizeofIOLibPageMallocHeader) { in IOMallocAlignedHdrCorruptionPanic()
503 os_add3_overflow(address, sizeofIOLibPageMallocHeader, alignMask, in IOMallocAlignedGetAddress()
507 (offset < sizeofIOLibPageMallocHeader) || in IOMallocAlignedGetAddress()
543 adjustedSize = size + sizeofIOLibPageMallocHeader;
573 address = (allocationAddress + alignMask + sizeofIOLibPageMallocHeader)
576 hdr = (typeof(hdr))(address - sizeofIOLibPageMallocHeader);
616 adjustedSize = size + sizeofIOLibPageMallocHeader; in IOFreeAligned_internal()
625 hdr = (typeof(hdr))(((uintptr_t)address) - sizeofIOLibPageMallocHeader); in IOFreeAligned_internal()
692 adjustedSize = (2 * size) + sizeofIOLibPageMallocHeader; in IOKernelFreePhysical()
701 hdr = (typeof(hdr))(((uintptr_t)address) - sizeofIOLibPageMallocHeader); in IOKernelFreePhysical()
745 if (os_mul_and_add_overflow(2, size, sizeofIOLibPageMallocHeader, &adjustedSize)) { in IOKernelAllocateWithPhysicalRestrict()
808 address = (allocationAddress + alignMask + sizeofIOLibPageMallocHeader) in IOKernelAllocateWithPhysicalRestrict()
815 hdr = (typeof(hdr))(address - sizeofIOLibPageMallocHeader); in IOKernelAllocateWithPhysicalRestrict()