Home
last modified time | relevance | path

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

/xnu-10063.141.1/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-10063.141.1/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()
/xnu-10063.141.1/iokit/Kernel/ !
H A DIOMemoryDescriptor.cpp1122 currentPageIndex = atop_32(offsetInIOPL); in memoryReferenceMap()
1433 currentPageIndex = atop_32(offsetInIOPL); in memoryReferenceMapNew()
2156 _pages += atop_32(offset + count + PAGE_MASK) - atop_32(offset); in initWithOptions()
2174 pageList = &pageList[atop_32(offset)]; in initWithOptions()
2869 (ppnum_t) atop_32(segments_page[1]), in ktraceEmitPhysicalSegments()
2870 (ppnum_t) atop_32(segments_page[2]), in ktraceEmitPhysicalSegments()
2871 (ppnum_t) atop_32(segments_page[3]), in ktraceEmitPhysicalSegments()
2872 (ppnum_t) atop_32(segments_page[4])); in ktraceEmitPhysicalSegments()
2891 (ppnum_t) atop_32(segments_page[1]), in ktraceEmitPhysicalSegments()
2892 (ppnum_t) atop_32(segments_page[2]), in ktraceEmitPhysicalSegments()
[all …]
H A DIOHibernateIO.cpp400 atop_64(phys64), atop_32(segLen), in hibernate_set_descriptor_page_state()
402 *pageCount -= atop_32(segLen); in hibernate_set_descriptor_page_state()
1790 for (pagesDone = 0; pagesDone < atop_32(segLen); pagesDone++) { in hibernate_write_image()
1791 gIOHibernateHandoffPages[atop_32(count) + pagesDone] = atop_64_ppnum(phys64) + pagesDone; in hibernate_write_image()
1798 page = atop_32(kvtophys(hibernateBase)); in hibernate_write_image()
1799 count = atop_32(round_page(hibernateEnd) - hibernateBase); in hibernate_write_image()
1925 page = atop_32(KERNEL_IMAGE_TO_PHYS(hibernateBase)); in hibernate_write_image()
1926 count = atop_32(round_page(KERNEL_IMAGE_TO_PHYS(hibernateEnd))) - page; in hibernate_write_image()
2256 uncompressedSize, atop_32(uncompressedSize), compressedSize, in hibernate_write_image()
H A DIOLib.cpp808 if (atop_32(address) != atop_32(address + size - 1)) { in IOKernelAllocateWithPhysicalRestrict()