Searched refs:atop_32 (Results 1 – 5 of 5) sorted by relevance
| /xnu-11215.1.10/osfmk/mach/ |
| H A D | vm_param.h | 99 #define atop_32(x) ((uint32_t)(x) >> PAGE_SHIFT) macro 185 #undef atop_32 196 #define atop_32(x) \ 217 #define atop_32(x) (0)
|
| /xnu-11215.1.10/osfmk/i386/ |
| H A D | pmap_common.c | 194 kdata_start = atop_32(args->kaddr); in pmap_has_managed_page() 195 kdata_end = atop_32(args->kaddr + args->ksize); in pmap_has_managed_page()
|
| /xnu-11215.1.10/iokit/Kernel/ |
| H A D | IOMemoryDescriptor.cpp | 1120 currentPageIndex = atop_32(offsetInIOPL); in memoryReferenceMap() 1431 currentPageIndex = atop_32(offsetInIOPL); in memoryReferenceMapNew() 2154 _pages += atop_32(offset + count + PAGE_MASK) - atop_32(offset); in initWithOptions() 2172 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 D | IOHibernateIO.cpp | 432 atop_64(phys64), atop_32(segLen), in hibernate_set_descriptor_page_state() 434 *pageCount -= atop_32(segLen); in hibernate_set_descriptor_page_state() 1823 for (pagesDone = 0; pagesDone < atop_32(segLen); pagesDone++) { in hibernate_write_image() 1824 gIOHibernateHandoffPages[atop_32(count) + pagesDone] = atop_64_ppnum(phys64) + pagesDone; in hibernate_write_image() 1831 page = atop_32(kvtophys(hibernateBase)); in hibernate_write_image() 1832 count = atop_32(round_page(hibernateEnd) - hibernateBase); in hibernate_write_image() 1958 page = atop_32(KERNEL_IMAGE_TO_PHYS(hibernateBase)); in hibernate_write_image() 1959 count = atop_32(round_page(KERNEL_IMAGE_TO_PHYS(hibernateEnd))) - page; in hibernate_write_image() 2300 uncompressedSize, atop_32(uncompressedSize), compressedSize, in hibernate_write_image()
|
| H A D | IOLib.cpp | 809 if (atop_32(address) != atop_32(address + size - 1)) { in IOKernelAllocateWithPhysicalRestrict()
|