Lines Matching refs:allocationAddress
520 vm_offset_t allocationAddress; variable
562 kr = kmem_alloc(kernel_map, &allocationAddress,
565 allocationAddress = 0;
568 allocationAddress = (vm_address_t) kheap_alloc(kheap,
572 if (allocationAddress) {
573 address = (allocationAddress + alignMask + sizeofIOLibPageMallocHeader)
577 IOMallocAlignedSetHdr(hdr, alignMask, allocationAddress, address);
606 vm_address_t allocationAddress; in IOFreeAligned_internal() local
626 allocationAddress = IOMallocAlignedGetAddress(hdr, in IOFreeAligned_internal()
640 kmem_free(kernel_map, allocationAddress, adjustedSize); in IOFreeAligned_internal()
642 kheap_free(kheap, allocationAddress, adjustedSize); in IOFreeAligned_internal()
682 vm_address_t allocationAddress; in IOKernelFreePhysical() local
702 allocationAddress = IOMallocAlignedGetAddress(hdr, address, &adjustedSize); in IOKernelFreePhysical()
708 __typed_allocators_ignore(kheap_free(kheap, allocationAddress, adjustedSize)); in IOKernelFreePhysical()
731 mach_vm_address_t allocationAddress; in IOKernelAllocateWithPhysicalRestrict() local
802 allocationAddress = (mach_vm_address_t) kheap_alloc(kheap, in IOKernelAllocateWithPhysicalRestrict() local
807 if (allocationAddress) { in IOKernelAllocateWithPhysicalRestrict()
808 address = (allocationAddress + alignMask + sizeofIOLibPageMallocHeader) in IOKernelAllocateWithPhysicalRestrict()
816 IOMallocAlignedSetHdr(hdr, alignMask, allocationAddress, address); in IOKernelAllocateWithPhysicalRestrict()