Home
last modified time | relevance | path

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

/xnu-8019.80.24/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-8019.80.24/iokit/Kernel/
H A DIOMemoryDescriptor.cpp1101 currentPageIndex = atop_32(offsetInIOPL); in memoryReferenceMap()
1416 currentPageIndex = atop_32(offsetInIOPL); in memoryReferenceMapNew()
2144 _pages += atop_32(offset + count + PAGE_MASK) - atop_32(offset); in initWithOptions()
2162 pageList = &pageList[atop_32(offset)]; in initWithOptions()
2857 (ppnum_t) atop_32(segments_page[1]), in ktraceEmitPhysicalSegments()
2858 (ppnum_t) atop_32(segments_page[2]), in ktraceEmitPhysicalSegments()
2859 (ppnum_t) atop_32(segments_page[3]), in ktraceEmitPhysicalSegments()
2860 (ppnum_t) atop_32(segments_page[4])); in ktraceEmitPhysicalSegments()
2879 (ppnum_t) atop_32(segments_page[1]), in ktraceEmitPhysicalSegments()
2880 (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()
1780 for (pagesDone = 0; pagesDone < atop_32(segLen); pagesDone++) { in hibernate_write_image()
1781 gIOHibernateHandoffPages[atop_32(count) + pagesDone] = atop_64_ppnum(phys64) + pagesDone; in hibernate_write_image()
1788 page = atop_32(kvtophys(hibernateBase)); in hibernate_write_image()
1789 count = atop_32(round_page(hibernateEnd) - hibernateBase); in hibernate_write_image()
1915 page = atop_32(KERNEL_IMAGE_TO_PHYS(hibernateBase)); in hibernate_write_image()
1916 count = atop_32(round_page(KERNEL_IMAGE_TO_PHYS(hibernateEnd))) - page; in hibernate_write_image()
2246 uncompressedSize, atop_32(uncompressedSize), compressedSize, in hibernate_write_image()
H A DIOLib.cpp713 if (atop_32(address) != atop_32(address + size - 1)) { in IOKernelAllocateWithPhysicalRestrict()
/xnu-8019.80.24/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()