Home
last modified time | relevance | path

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

/xnu-11215/iokit/Kernel/
H A DIODMACommand.cpp502 addr64_t maxPhys, address; in segmentOp() local
512 maxPhys = 0; in segmentOp()
514 maxPhys--; in segmentOp()
541 if ((address + length - 1) <= maxPhys) { in segmentOp()
543 } else if (address <= maxPhys) { in segmentOp()
545 length = (address + length - maxPhys - 1); in segmentOp()
546 address = maxPhys + 1; in segmentOp()
1330 addr64_t maxPhys; in genIOVMSegments() local
1333 maxPhys = (1ULL << fNumAddressBits); in genIOVMSegments()
1335 maxPhys = 0; in genIOVMSegments()
[all …]
H A DIOLib.cpp725 mach_vm_address_t maxPhys, in IOKernelAllocateWithPhysicalRestrict() argument
752 if (contiguous || maxPhys) { in IOKernelAllocateWithPhysicalRestrict()
766 if (maxPhys >= (mach_vm_address_t)(gPhysBase + gPhysSize)) { in IOKernelAllocateWithPhysicalRestrict()
767 maxPhys = 0; in IOKernelAllocateWithPhysicalRestrict()
770 if (maxPhys <= 0xFFFFFFFF) { in IOKernelAllocateWithPhysicalRestrict()
771 maxPhys = 0; in IOKernelAllocateWithPhysicalRestrict()
773 } else if (gIOLastPage && (atop_64(maxPhys) > gIOLastPage)) { in IOKernelAllocateWithPhysicalRestrict()
774 maxPhys = 0; in IOKernelAllocateWithPhysicalRestrict()
777 if (contiguous || maxPhys) { in IOKernelAllocateWithPhysicalRestrict()
779 alignMask, (ppnum_t) atop(maxPhys), (ppnum_t) atop(alignMask), in IOKernelAllocateWithPhysicalRestrict()
H A DIOKitKernelInternal.h70 mach_vm_address_t maxPhys,