Lines Matching refs:sizeofIOLibPageMallocHeader
417 #define sizeofIOLibPageMallocHeader (sizeof(IOLibPageMallocHeader) - (TRACK_ALLOC ? 0 : sizeof(… macro
419 #define sizeofIOLibPageMallocHeader (sizeof(IOLibPageMallocHeader)) macro
453 adjustedSize = size + sizeofIOLibPageMallocHeader; in IOMallocAligned_internal()
483 address = (allocationAddress + alignMask + sizeofIOLibPageMallocHeader) in IOMallocAligned_internal()
486 hdr = (typeof(hdr))(address - sizeofIOLibPageMallocHeader); in IOMallocAligned_internal()
547 adjustedSize = size + sizeofIOLibPageMallocHeader; in IOFreeAligned_internal()
556 hdr = (typeof(hdr))(((uintptr_t)address) - sizeofIOLibPageMallocHeader); in IOFreeAligned_internal()
601 adjustedSize = (2 * size) + sizeofIOLibPageMallocHeader; in IOKernelFreePhysical()
610 hdr = (typeof(hdr))(((uintptr_t)address) - sizeofIOLibPageMallocHeader); in IOKernelFreePhysical()
655 if (os_mul_and_add_overflow(2, size, sizeofIOLibPageMallocHeader, &adjustedSize)) { in IOKernelAllocateWithPhysicalRestrict()
710 address = (allocationAddress + alignMask + sizeofIOLibPageMallocHeader) in IOKernelAllocateWithPhysicalRestrict()
717 hdr = (typeof(hdr))(address - sizeofIOLibPageMallocHeader); in IOKernelAllocateWithPhysicalRestrict()