Searched refs:atop_32 (Results 1 – 6 of 6) sorted by relevance
| /xnu-11215.81.4/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.81.4/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.81.4/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() 1831 for (pagesDone = 0; pagesDone < atop_32(segLen); pagesDone++) { in hibernate_write_image() 1832 gIOHibernateHandoffPages[atop_32(count) + pagesDone] = atop_64_ppnum(phys64) + pagesDone; in hibernate_write_image() 1839 page = atop_32(kvtophys(hibernateBase)); in hibernate_write_image() 1840 count = atop_32(round_page(hibernateEnd) - hibernateBase); in hibernate_write_image() 1966 page = atop_32(KERNEL_IMAGE_TO_PHYS(hibernateBase)); in hibernate_write_image() 1967 count = atop_32(round_page(KERNEL_IMAGE_TO_PHYS(hibernateEnd))) - page; in hibernate_write_image() 2308 uncompressedSize, atop_32(uncompressedSize), compressedSize, in hibernate_write_image()
|
| H A D | IOLib.cpp | 811 if (atop_32(address) != atop_32(address + size - 1)) { in IOKernelAllocateWithPhysicalRestrict()
|
| /xnu-11215.81.4/bsd/kern/ |
| H A D | kern_memorystatus.c | 1247 uint32_t new_threshold_pages = atop_32(threshold_mb << 20); 1876 memstat_critical_threshold = atop_32(memorystatus_critical_threshold_mb << 20); in memorystatus_init() 1887 memstat_idle_threshold = atop_32(memorystatus_idle_threshold_mb << 20); in memorystatus_init() 1904 memstat_soft_threshold = atop_32(memorystatus_pressure_threshold_mb << 20); in memorystatus_init() 1918 memstat_ballast_offset = atop_32(memstat_ballast_offset_mb << 20); in memorystatus_init() 1923 memstat_ctd_offset = atop_32(memstat_ctd_offset_mb << 20); in memorystatus_init()
|