Home
last modified time | relevance | path

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

/xnu-8020.140.41/tools/tests/superpages/
H A Dtestsp.c19 #define SUPERPAGE_SIZE (2*1024*1024) macro
20 #define SUPERPAGE_MASK (-SUPERPAGE_SIZE)
170 if ((size == SUPERPAGE_SIZE) && (res != 0xfff00000)) { in check_rw()
194 global_size = SUPERPAGE_SIZE; in test_allocate()
221 mach_vm_size_t size = SUPERPAGE_SIZE; in test_deallocate()
290 mach_vm_size_t size = SUPERPAGE_SIZE; in test_allocatefixed()
322 mach_vm_size_t size = SUPERPAGE_SIZE; in test_allocateunalignedfixed()
365 mach_vm_size_t size = SUPERPAGE_SIZE; in test_deallocatesubpage()
389 mach_vm_size_t size = SUPERPAGE_SIZE; in test_reallocate()
399 for (i = 0; i < SUPERPAGE_SIZE / PAGE_SIZE; i++) { in test_reallocate()
[all …]
H A Dmeasure_tlbs.c9 #define SUPERPAGE_SIZE (2*1024*1024) macro
10 #define SUPERPAGE_MASK (-SUPERPAGE_SIZE)
11 #define SUPERPAGE_ROUND_UP(a) ((a + SUPERPAGE_SIZE-1) & SUPERPAGE_MASK)
/xnu-8020.140.41/osfmk/vm/
H A Dvm_map.h492 #define SUPERPAGE_SIZE (PAGE_SIZE*SUPERPAGE_NBASEPAGES) macro
493 #define SUPERPAGE_MASK (-SUPERPAGE_SIZE)
495 #define SUPERPAGE_ROUND_UP(a) ((a + SUPERPAGE_SIZE-1) & SUPERPAGE_MASK)
H A Dvm_map.c2488 mask = SUPERPAGE_SIZE - 1; in vm_map_enter()
2489 if (size & (SUPERPAGE_SIZE - 1)) { in vm_map_enter()
2975 step = superpage_size ? SUPERPAGE_SIZE : (end - start); in vm_map_enter()
3145 kr = cpm_allocate(SUPERPAGE_SIZE, &pages, 0, SUPERPAGE_NBASEPAGES - 1, TRUE, 0); in vm_map_enter()
3164 sp_offset < SUPERPAGE_SIZE; in vm_map_enter()
5874 if (entry->superpage_size && (start & (SUPERPAGE_SIZE - 1))) { /* extend request to whole entry */ in vm_map_protect()
/xnu-8020.140.41/osfmk/x86_64/
H A Dpmap.c2022 cur_page_size = SUPERPAGE_SIZE; in pmap_map_block()