Lines Matching refs:sizeofIOLibPageMallocHeader
426 #define sizeofIOLibPageMallocHeader (sizeof(IOLibPageMallocHeader) - (TRACK_ALLOC ? 0 : sizeof(… macro
428 #define sizeofIOLibPageMallocHeader (sizeof(IOLibPageMallocHeader)) macro
466 if (os_add3_overflow(address, sizeofIOLibPageMallocHeader, alignMask, in IOMallocAlignedHdrCorruptionPanic()
476 if (offset < sizeofIOLibPageMallocHeader) { in IOMallocAlignedHdrCorruptionPanic()
501 os_add3_overflow(address, sizeofIOLibPageMallocHeader, alignMask, in IOMallocAlignedGetAddress()
505 (offset < sizeofIOLibPageMallocHeader) || in IOMallocAlignedGetAddress()
541 adjustedSize = size + sizeofIOLibPageMallocHeader;
571 address = (allocationAddress + alignMask + sizeofIOLibPageMallocHeader)
574 hdr = (typeof(hdr))(address - sizeofIOLibPageMallocHeader);
614 adjustedSize = size + sizeofIOLibPageMallocHeader; in IOFreeAligned_internal()
623 hdr = (typeof(hdr))(((uintptr_t)address) - sizeofIOLibPageMallocHeader); in IOFreeAligned_internal()
690 adjustedSize = (2 * size) + sizeofIOLibPageMallocHeader; in IOKernelFreePhysical()
699 hdr = (typeof(hdr))(((uintptr_t)address) - sizeofIOLibPageMallocHeader); in IOKernelFreePhysical()
743 if (os_mul_and_add_overflow(2, size, sizeofIOLibPageMallocHeader, &adjustedSize)) { in IOKernelAllocateWithPhysicalRestrict()
806 address = (allocationAddress + alignMask + sizeofIOLibPageMallocHeader) in IOKernelAllocateWithPhysicalRestrict()
813 hdr = (typeof(hdr))(address - sizeofIOLibPageMallocHeader); in IOKernelAllocateWithPhysicalRestrict()