Searched refs:atop_32 (Results 1 – 6 of 6) sorted by relevance
| /xnu-12377.61.12/osfmk/mach/ |
| H A D | vm_param.h | 97 #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-12377.61.12/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-12377.61.12/iokit/Kernel/ |
| H A D | IOMemoryDescriptor.cpp | 1129 currentPageIndex = atop_32(offsetInIOPL); in memoryReferenceMap() 1440 currentPageIndex = atop_32(offsetInIOPL); in memoryReferenceMapNew() 2175 _pages += atop_32(offset + count + PAGE_MASK) - atop_32(offset); in initWithOptions() 2193 pageList = &pageList[atop_32(offset)]; in initWithOptions() 3049 (ppnum_t) atop_32(segments_page[1]), in ktraceEmitPhysicalSegments() 3050 (ppnum_t) atop_32(segments_page[2]), in ktraceEmitPhysicalSegments() 3051 (ppnum_t) atop_32(segments_page[3]), in ktraceEmitPhysicalSegments() 3052 (ppnum_t) atop_32(segments_page[4])); in ktraceEmitPhysicalSegments() 3071 (ppnum_t) atop_32(segments_page[1]), in ktraceEmitPhysicalSegments() 3072 (ppnum_t) atop_32(segments_page[2]), in ktraceEmitPhysicalSegments() [all …]
|
| H A D | IOHibernateIO.cpp | 465 atop_64(phys64), atop_32(segLen), in hibernate_set_descriptor_page_state() 467 *pageCount -= atop_32(segLen); in hibernate_set_descriptor_page_state() 1884 for (pagesDone = 0; pagesDone < atop_32(segLen); pagesDone++) { in hibernate_write_image() 1885 gIOHibernateHandoffPages[atop_32(count) + pagesDone] = atop_64_ppnum(phys64) + pagesDone; in hibernate_write_image() 1892 page = atop_32(kvtophys(hibernateBase)); in hibernate_write_image() 1893 count = atop_32(round_page(hibernateEnd) - hibernateBase); in hibernate_write_image() 2023 page = atop_32(KERNEL_IMAGE_TO_PHYS(hibernateBase)); in hibernate_write_image() 2024 count = atop_32(round_page(KERNEL_IMAGE_TO_PHYS(hibernateEnd))) - page; in hibernate_write_image() 2369 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-12377.61.12/bsd/kern/ |
| H A D | kern_memorystatus.c | 1429 uint32_t new_threshold_pages = atop_32(threshold_mb << 20); 2053 memstat_critical_threshold = atop_32(memorystatus_critical_threshold_mb << 20); in memorystatus_init() 2064 memstat_idle_threshold = atop_32(memorystatus_idle_threshold_mb << 20); in memorystatus_init() 2081 memstat_soft_threshold = atop_32(memorystatus_pressure_threshold_mb << 20); in memorystatus_init() 2097 memstat_reaper_threshold = atop_32(memorystatus_reaper_threshold_mb << 20); in memorystatus_init() 2144 memstat_ballast_offset = atop_32(memstat_ballast_offset_mb << 20); in memorystatus_init() 2149 memstat_ctd_offset = atop_32(memstat_ctd_offset_mb << 20); in memorystatus_init()
|