Searched refs:VM_MAP_ROUND_PAGE (Results 1 – 4 of 4) sorted by relevance
| /xnu-8796.141.3/osfmk/kern/ |
| H A D | kern_stackshot.c | 521 estimated_size = (uint32_t) VM_MAP_ROUND_PAGE(size, PAGE_MASK); /* round to pagesize */ in get_stackshot_estsize() 706 size_to_free = (int) VM_MAP_ROUND_PAGE(kernel_stackshot_buf_size, PAGE_MASK); in kern_stack_snapshot_internal() 838 size_to_free = stackshotbuf_size - (int) VM_MAP_ROUND_PAGE(bytes_traced, PAGE_MASK); in kern_stack_snapshot_internal()
|
| /xnu-8796.141.3/osfmk/vm/ |
| H A D | vm_map.h | 1494 #define VM_MAP_ROUND_PAGE(x, pgmask) (((vm_map_offset_t)(x) + (pgmask)) & ~((signed)(pgmask))) macro
|
| H A D | vm_user.c | 2487 size_to_map = VM_MAP_ROUND_PAGE(size_to_map + adjusted_offset, VM_MAP_PAGE_MASK(map)); in vm_upl_map_range() 2510 size_to_unmap = VM_MAP_ROUND_PAGE(size_to_unmap + page_offset, VM_MAP_PAGE_MASK(map)); in vm_upl_unmap_range()
|
| H A D | vm_map.c | 4596 …map_size = VM_MAP_ROUND_PAGE((offset + offset_in_mapping + initial_size) - offset, VM_MAP_PAGE_MAS… in vm_map_enter_mem_object_helper() 8737 rounded_s = VM_MAP_ROUND_PAGE(s, VM_MAP_PAGE_MASK(map)); in vm_map_delete() 17815 size = VM_MAP_ROUND_PAGE(copy_map->size, PAGE_MASK); in vm_map_copy_to_physcopy() 18101 new_end = VM_MAP_ROUND_PAGE(offset + size, target_page_mask); in vm_map_copy_adjust_to_target() 20219 copy_entry->vme_end = VM_MAP_ROUND_PAGE(offset + size, PAGE_MASK); in vm_named_entry_associate_vm_object() 21441 return VM_MAP_ROUND_PAGE(offset, mask); in vm_map_round_page_mask()
|