Home
last modified time | relevance | path

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

/xnu-8020.121.3/osfmk/vm/
H A Dvm_map.h1497 #define VM_MAP_ROUND_PAGE(x, pgmask) (((vm_map_offset_t)(x) + (pgmask)) & ~((signed)(pgmask))) macro
H A Dvm_user.c2514 size_to_map = VM_MAP_ROUND_PAGE(size_to_map + adjusted_offset, VM_MAP_PAGE_MASK(map)); in vm_upl_map_range()
2537 size_to_unmap = VM_MAP_ROUND_PAGE(size_to_unmap + page_offset, VM_MAP_PAGE_MASK(map)); in vm_upl_unmap_range()
H A Dvm_map.c4569 …map_size = VM_MAP_ROUND_PAGE((offset + offset_in_mapping + initial_size) - offset, VM_MAP_PAGE_MAS… in vm_map_enter_mem_object_helper()
17078 size = VM_MAP_ROUND_PAGE(copy_map->size, PAGE_MASK); in vm_map_copy_to_physcopy()
17368 new_end = VM_MAP_ROUND_PAGE(offset + size, target_page_mask); in vm_map_copy_adjust_to_target()
19364 copy_entry->vme_end = VM_MAP_ROUND_PAGE(offset + size, PAGE_MASK); in vm_named_entry_associate_vm_object()
20494 return VM_MAP_ROUND_PAGE(offset, mask); in vm_map_round_page_mask()
H A Dvm_fault.c4425 cur_offset < VM_MAP_ROUND_PAGE(cur_object->vo_size, VM_MAP_PAGE_MASK(map)) && in vm_fault_internal()
/xnu-8020.121.3/osfmk/kern/
H A Dkern_stackshot.c529 estimated_size = (uint32_t) VM_MAP_ROUND_PAGE(size, PAGE_MASK); /* round to pagesize */ in get_stackshot_estsize()
714 size_to_free = (int) VM_MAP_ROUND_PAGE(kernel_stackshot_buf_size, PAGE_MASK); in kern_stack_snapshot_internal()
846 size_to_free = stackshotbuf_size - (int) VM_MAP_ROUND_PAGE(bytes_traced, PAGE_MASK); in kern_stack_snapshot_internal()