Lines Matching refs:sizeofIOLibPageMallocHeader
412 #define sizeofIOLibPageMallocHeader (sizeof(IOLibPageMallocHeader) - (TRACK_ALLOC ? 0 : sizeof(… macro
414 #define sizeofIOLibPageMallocHeader (sizeof(IOLibPageMallocHeader)) macro
452 if (os_add3_overflow(address, sizeofIOLibPageMallocHeader, alignMask, in IOMallocAlignedHdrCorruptionPanic()
462 if (offset < sizeofIOLibPageMallocHeader) { in IOMallocAlignedHdrCorruptionPanic()
487 os_add3_overflow(address, sizeofIOLibPageMallocHeader, alignMask, in IOMallocAlignedGetAddress()
491 (offset < sizeofIOLibPageMallocHeader) || in IOMallocAlignedGetAddress()
529 adjustedSize = size + sizeofIOLibPageMallocHeader;
559 address = (allocationAddress + alignMask + sizeofIOLibPageMallocHeader)
562 hdr = (typeof(hdr))(address - sizeofIOLibPageMallocHeader);
602 adjustedSize = size + sizeofIOLibPageMallocHeader; in IOFreeAligned_internal()
611 hdr = (typeof(hdr))(((uintptr_t)address) - sizeofIOLibPageMallocHeader); in IOFreeAligned_internal()
678 adjustedSize = (2 * size) + sizeofIOLibPageMallocHeader; in IOKernelFreePhysical()
687 hdr = (typeof(hdr))(((uintptr_t)address) - sizeofIOLibPageMallocHeader); in IOKernelFreePhysical()
731 if (os_mul_and_add_overflow(2, size, sizeofIOLibPageMallocHeader, &adjustedSize)) { in IOKernelAllocateWithPhysicalRestrict()
796 address = (allocationAddress + alignMask + sizeofIOLibPageMallocHeader) in IOKernelAllocateWithPhysicalRestrict()
803 hdr = (typeof(hdr))(address - sizeofIOLibPageMallocHeader); in IOKernelAllocateWithPhysicalRestrict()