Home
last modified time | relevance | path

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

/xnu-11417.121.6/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-11417.121.6/osfmk/i386/
H A Dpmap_common.c194 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-11417.121.6/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()
2876 (ppnum_t) atop_32(segments_page[1]), in ktraceEmitPhysicalSegments()
2877 (ppnum_t) atop_32(segments_page[2]), in ktraceEmitPhysicalSegments()
2878 (ppnum_t) atop_32(segments_page[3]), in ktraceEmitPhysicalSegments()
2879 (ppnum_t) atop_32(segments_page[4])); in ktraceEmitPhysicalSegments()
2898 (ppnum_t) atop_32(segments_page[1]), in ktraceEmitPhysicalSegments()
2899 (ppnum_t) atop_32(segments_page[2]), in ktraceEmitPhysicalSegments()
[all …]
H A DIOHibernateIO.cpp428 atop_64(phys64), atop_32(segLen), in hibernate_set_descriptor_page_state()
430 *pageCount -= atop_32(segLen); in hibernate_set_descriptor_page_state()
1839 for (pagesDone = 0; pagesDone < atop_32(segLen); pagesDone++) { in hibernate_write_image()
1840 gIOHibernateHandoffPages[atop_32(count) + pagesDone] = atop_64_ppnum(phys64) + pagesDone; in hibernate_write_image()
1847 page = atop_32(kvtophys(hibernateBase)); in hibernate_write_image()
1848 count = atop_32(round_page(hibernateEnd) - hibernateBase); in hibernate_write_image()
1974 page = atop_32(KERNEL_IMAGE_TO_PHYS(hibernateBase)); in hibernate_write_image()
1975 count = atop_32(round_page(KERNEL_IMAGE_TO_PHYS(hibernateEnd))) - page; in hibernate_write_image()
2320 uncompressedSize, atop_32(uncompressedSize), compressedSize, in hibernate_write_image()
H A DIOLib.cpp799 if (atop_32(address) != atop_32(address + size - 1)) { in IOKernelAllocateWithPhysicalRestrict()
/xnu-11417.121.6/bsd/kern/
H A Dkern_memorystatus.c1396 uint32_t new_threshold_pages = atop_32(threshold_mb << 20);
2045 memstat_critical_threshold = atop_32(memorystatus_critical_threshold_mb << 20); in memorystatus_init()
2056 memstat_idle_threshold = atop_32(memorystatus_idle_threshold_mb << 20); in memorystatus_init()
2073 memstat_soft_threshold = atop_32(memorystatus_pressure_threshold_mb << 20); in memorystatus_init()
2089 memstat_reaper_threshold = atop_32(memorystatus_reaper_threshold_mb << 20); in memorystatus_init()
2117 memstat_ballast_offset = atop_32(memstat_ballast_offset_mb << 20); in memorystatus_init()
2122 memstat_ctd_offset = atop_32(memstat_ctd_offset_mb << 20); in memorystatus_init()