Lines Matching refs:sizeofIOLibPageMallocHeader
424 #define sizeofIOLibPageMallocHeader (sizeof(IOLibPageMallocHeader) - (TRACK_ALLOC ? 0 : sizeof(… macro
426 #define sizeofIOLibPageMallocHeader (sizeof(IOLibPageMallocHeader)) macro
464 if (os_add3_overflow(address, sizeofIOLibPageMallocHeader, alignMask, in IOMallocAlignedHdrCorruptionPanic()
474 if (offset < sizeofIOLibPageMallocHeader) { in IOMallocAlignedHdrCorruptionPanic()
499 os_add3_overflow(address, sizeofIOLibPageMallocHeader, alignMask, in IOMallocAlignedGetAddress()
503 (offset < sizeofIOLibPageMallocHeader) || in IOMallocAlignedGetAddress()
539 adjustedSize = size + sizeofIOLibPageMallocHeader; in IOMallocAligned_internal()
569 address = (allocationAddress + alignMask + sizeofIOLibPageMallocHeader) in IOMallocAligned_internal()
572 hdr = (typeof(hdr))(address - sizeofIOLibPageMallocHeader); in IOMallocAligned_internal()
612 adjustedSize = size + sizeofIOLibPageMallocHeader; in IOFreeAligned_internal()
621 hdr = (typeof(hdr))(((uintptr_t)address) - sizeofIOLibPageMallocHeader); in IOFreeAligned_internal()
686 adjustedSize = (2 * size) + sizeofIOLibPageMallocHeader; in IOKernelFreePhysical()
695 hdr = (typeof(hdr))(((uintptr_t)address) - sizeofIOLibPageMallocHeader); in IOKernelFreePhysical()
739 if (os_mul_and_add_overflow(2, size, sizeofIOLibPageMallocHeader, &adjustedSize)) { in IOKernelAllocateWithPhysicalRestrict()
798 address = (allocationAddress + alignMask + sizeofIOLibPageMallocHeader) in IOKernelAllocateWithPhysicalRestrict()
805 hdr = (typeof(hdr))(address - sizeofIOLibPageMallocHeader); in IOKernelAllocateWithPhysicalRestrict()