Searched refs:vm_page_size (Results 1 - 7 of 7) sorted by relevance
/darwin-on-arm/xnu/libsyscall/mach/mach/ |
H A D | mach_init.h | 102 * These macros assume vm_page_size is a power-of-2. 105 extern vm_size_t vm_page_size; 109 #define trunc_page(x) ((x) & (~(vm_page_size - 1))) 110 #define round_page(x) trunc_page((x) + (vm_page_size - 1))
|
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | vm_allocate.c | 164 //vm_deallocate( mach_task_self(), (vm_address_t) arena, arenaSize * vm_page_size); 197 vm_allocate( mach_task_self(), (vm_address_t *) &arena, arenaSize * vm_page_size, 1); local 199 vm_deallocate( mach_task_self(), (vm_address_t) arena, arenaSize * vm_page_size); local 229 if (vm_allocate( mach_task_self(), (vm_address_t *) &arena, arenaSize * vm_page_size, 1)) 231 if (vm_deallocate( mach_task_self(), (vm_address_t) arena, arenaSize * vm_page_size))
|
/darwin-on-arm/xnu/osfmk/default_pager/ |
H A D | default_pager.c | 177 vm_page_size << vstruct_def_clshift, VM_FLAGS_ANYWHERE); 182 +(vm_page_size << vstruct_def_clshift), 327 infop->dpi_page_size = vm_page_size; 347 infop->dpi_page_size = vm_page_size; 376 vm_page_mask = vm_page_size - 1; 377 assert((unsigned int) vm_page_size == vm_page_size); 378 vm_page_shift = local_log2((unsigned int) vm_page_size); 421 assert((unsigned int) vm_page_size == vm_page_size); [all...] |
H A D | dp_backing_store.c | 555 clsize = default_pager_clsize * vm_page_size; /* in bytes */ 1106 ps->ps_record_shift = local_log2(vm_page_size / record_size); 1198 (clsize * vm_page_size), 1840 vm_page_size << VSM_PS(vsmap[i])->ps_clshift); 1932 clmap_off = (vm_page_size * CLMAP_ENTRIES * 1944 clmap_off += vm_page_size * VSCLSIZE(vs); 1986 clmap_off = vm_page_size * (j << vs->vs_clshift); 2266 size -= vm_page_size; 2298 size -= vm_page_size; 2367 length -= vm_page_size; [all...] |
H A D | default_pager_internal.h | 167 #define vm_page_size PAGE_SIZE 171 extern vm_object_size_t vm_page_size; 177 #define ptoa(p) ((p)*vm_page_size) 178 #define atop(a) ((a)/vm_page_size)
|
H A D | dp_memory_object.c | 384 assert(pager_page_size == vm_page_size); 819 if ((size % vm_page_size) != 0)
|
/darwin-on-arm/xnu/libsyscall/mach/ |
H A D | mach_init.c | 70 vm_size_t vm_page_size = PAGE_SIZE; variable
|
Completed in 86 milliseconds