Home
last modified time | relevance | path

Searched refs:maxPhys (Results 1 – 3 of 3) sorted by relevance

/xnu-8792.41.9/iokit/Kernel/
H A DIODMACommand.cpp493 addr64_t maxPhys, address; in segmentOp() local
501 maxPhys = (1ULL << target->fNumAddressBits); in segmentOp()
503 maxPhys = 0; in segmentOp()
505 maxPhys--; in segmentOp()
532 if ((address + length - 1) <= maxPhys) { in segmentOp()
534 } else if (address <= maxPhys) { in segmentOp()
536 length = (address + length - maxPhys - 1); in segmentOp()
537 address = maxPhys + 1; in segmentOp()
1321 addr64_t maxPhys; in genIOVMSegments() local
1324 maxPhys = (1ULL << fNumAddressBits); in genIOVMSegments()
[all …]
H A DIOLib.cpp722 mach_vm_address_t maxPhys, in IOKernelAllocateWithPhysicalRestrict() argument
749 if (contiguous || maxPhys) { in IOKernelAllocateWithPhysicalRestrict()
763 if (maxPhys >= (mach_vm_address_t)(gPhysBase + gPhysSize)) { in IOKernelAllocateWithPhysicalRestrict()
764 maxPhys = 0; in IOKernelAllocateWithPhysicalRestrict()
767 if (maxPhys <= 0xFFFFFFFF) { in IOKernelAllocateWithPhysicalRestrict()
768 maxPhys = 0; in IOKernelAllocateWithPhysicalRestrict()
770 } else if (gIOLastPage && (atop_64(maxPhys) > gIOLastPage)) { in IOKernelAllocateWithPhysicalRestrict()
771 maxPhys = 0; in IOKernelAllocateWithPhysicalRestrict()
774 if (contiguous || maxPhys) { in IOKernelAllocateWithPhysicalRestrict()
776 alignMask, (ppnum_t) atop(maxPhys), (ppnum_t) atop(alignMask), in IOKernelAllocateWithPhysicalRestrict()
H A DIOKitKernelInternal.h70 mach_vm_address_t maxPhys,