Home
last modified time | relevance | path

Searched refs:mach_vm_trunc_page (Results 1 – 4 of 4) sorted by relevance

/xnu-12377.61.12/tests/vm/
H A Dvm_allocation.c857 return round_page(address - mach_vm_trunc_page(address) + size); in aligned_size()
1366 mach_vm_trunc_page(get_vm_address()), in deallocate_extra_page()
1378 mach_vm_trunc_page(get_vm_address()), in deallocate_vm_and_buffer()
1384 mach_vm_trunc_page(get_buffer_address()), in deallocate_vm_and_buffer()
1398 mach_vm_address_t vm_start = mach_vm_trunc_page(get_vm_address()); in deallocate_vm_page_early()
1402 T_QUIET; T_ASSERT_EQ(address, mach_vm_trunc_page(address), in deallocate_vm_page_early()
1418 mach_vm_address_t buffer_start = mach_vm_trunc_page(get_buffer_address()); in deallocate_buffer_page_early()
1422 T_QUIET; T_ASSERT_EQ(address, mach_vm_trunc_page(address), in deallocate_buffer_page_early()
1455 deallocate_range(mach_vm_trunc_page(address), size + 1); in read_deallocate()
1530 deallocate_range(mach_vm_trunc_page(source), size + 1); in copy_deallocate()
[all …]
/xnu-12377.61.12/libsyscall/mach/mach/
H A Dvm_page_size.h55 #define mach_vm_trunc_page(x) ((mach_vm_offset_t)(x) & ~((signed)vm_page_mask)) macro
/xnu-12377.61.12/osfmk/mach/
H A Dvm_param.h123 #define mach_vm_trunc_page(x) ((mach_vm_offset_t)(x) & ~((signed)PAGE_MASK)) macro
/xnu-12377.61.12/bsd/kern/
H A Dmach_loader.c2826 result->user_stack = (user_addr_t)mach_vm_trunc_page((user_addr_t)addr - slide); in load_main()
2937 result->user_stack = (user_addr_t)mach_vm_trunc_page((user_addr_t)addr - slide); in load_unixthread()