Home
last modified time | relevance | path

Searched refs:atop_32 (Results 1 – 5 of 5) sorted by relevance

/xnu-8792.61.2/osfmk/mach/
H A Dvm_param.h97 #define atop_32(x) ((uint32_t)(x) >> PAGE_SHIFT) macro
183 #undef atop_32
194 #define atop_32(x) \
215 #define atop_32(x) (0)
/xnu-8792.61.2/iokit/Kernel/
H A DIOMemoryDescriptor.cpp1104 currentPageIndex = atop_32(offsetInIOPL); in memoryReferenceMap()
1419 currentPageIndex = atop_32(offsetInIOPL); in memoryReferenceMapNew()
2147 _pages += atop_32(offset + count + PAGE_MASK) - atop_32(offset); in initWithOptions()
2165 pageList = &pageList[atop_32(offset)]; in initWithOptions()
2867 (ppnum_t) atop_32(segments_page[1]), in ktraceEmitPhysicalSegments()
2868 (ppnum_t) atop_32(segments_page[2]), in ktraceEmitPhysicalSegments()
2869 (ppnum_t) atop_32(segments_page[3]), in ktraceEmitPhysicalSegments()
2870 (ppnum_t) atop_32(segments_page[4])); in ktraceEmitPhysicalSegments()
2889 (ppnum_t) atop_32(segments_page[1]), in ktraceEmitPhysicalSegments()
2890 (ppnum_t) atop_32(segments_page[2]), in ktraceEmitPhysicalSegments()
[all …]
H A DIOHibernateIO.cpp399 atop_64(phys64), atop_32(segLen), in hibernate_set_descriptor_page_state()
401 *pageCount -= atop_32(segLen); in hibernate_set_descriptor_page_state()
1783 for (pagesDone = 0; pagesDone < atop_32(segLen); pagesDone++) { in hibernate_write_image()
1784 gIOHibernateHandoffPages[atop_32(count) + pagesDone] = atop_64_ppnum(phys64) + pagesDone; in hibernate_write_image()
1791 page = atop_32(kvtophys(hibernateBase)); in hibernate_write_image()
1792 count = atop_32(round_page(hibernateEnd) - hibernateBase); in hibernate_write_image()
1918 page = atop_32(KERNEL_IMAGE_TO_PHYS(hibernateBase)); in hibernate_write_image()
1919 count = atop_32(round_page(KERNEL_IMAGE_TO_PHYS(hibernateEnd))) - page; in hibernate_write_image()
2249 uncompressedSize, atop_32(uncompressedSize), compressedSize, in hibernate_write_image()
H A DIOLib.cpp808 if (atop_32(address) != atop_32(address + size - 1)) { in IOKernelAllocateWithPhysicalRestrict()
/xnu-8792.61.2/osfmk/i386/
H A Dpmap_common.c175 kdata_start = atop_32(args->kaddr); in pmap_has_managed_page()
176 kdata_end = atop_32(args->kaddr + args->ksize); in pmap_has_managed_page()