Searched refs:mach_vm_trunc_page (Results 1 – 4 of 4) sorted by relevance
857 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 …]
55 #define mach_vm_trunc_page(x) ((mach_vm_offset_t)(x) & ~((signed)vm_page_mask)) macro
123 #define mach_vm_trunc_page(x) ((mach_vm_offset_t)(x) & ~((signed)PAGE_MASK)) macro
2826 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()