Lines Matching refs:sizeofIOLibPageMallocHeader
425 #define sizeofIOLibPageMallocHeader (sizeof(IOLibPageMallocHeader) - (TRACK_ALLOC ? 0 : sizeof(… macro
427 #define sizeofIOLibPageMallocHeader (sizeof(IOLibPageMallocHeader)) macro
465 if (os_add3_overflow(address, sizeofIOLibPageMallocHeader, alignMask, in IOMallocAlignedHdrCorruptionPanic()
475 if (offset < sizeofIOLibPageMallocHeader) { in IOMallocAlignedHdrCorruptionPanic()
500 os_add3_overflow(address, sizeofIOLibPageMallocHeader, alignMask, in IOMallocAlignedGetAddress()
504 (offset < sizeofIOLibPageMallocHeader) || in IOMallocAlignedGetAddress()
540 adjustedSize = size + sizeofIOLibPageMallocHeader;
570 address = (allocationAddress + alignMask + sizeofIOLibPageMallocHeader)
573 hdr = (typeof(hdr))(address - sizeofIOLibPageMallocHeader);
613 adjustedSize = size + sizeofIOLibPageMallocHeader; in IOFreeAligned_internal()
622 hdr = (typeof(hdr))(((uintptr_t)address) - sizeofIOLibPageMallocHeader); in IOFreeAligned_internal()
689 adjustedSize = (2 * size) + sizeofIOLibPageMallocHeader; in IOKernelFreePhysical()
698 hdr = (typeof(hdr))(((uintptr_t)address) - sizeofIOLibPageMallocHeader); in IOKernelFreePhysical()
742 if (os_mul_and_add_overflow(2, size, sizeofIOLibPageMallocHeader, &adjustedSize)) { in IOKernelAllocateWithPhysicalRestrict()
805 address = (allocationAddress + alignMask + sizeofIOLibPageMallocHeader) in IOKernelAllocateWithPhysicalRestrict()
812 hdr = (typeof(hdr))(address - sizeofIOLibPageMallocHeader); in IOKernelAllocateWithPhysicalRestrict()