Lines Matching refs:mid_point
2258 mach_vm_address_t mid_point = mach_vm_trunc_page(address + size / 2); in test_read_partially_deallocated_range() local
2262 logv("Deallocating a mid-range page at address 0x%jx...", (uintmax_t)mid_point); in test_read_partially_deallocated_range()
2263 deallocate_vm_page_early(mid_point); in test_read_partially_deallocated_range()
2278 mach_vm_address_t mid_point = mach_vm_trunc_page(address + size / 2); in test_read_partially_unreadable_range() local
2287 logv("Read-protecting a mid-range page at address 0x%jx...", (uintmax_t)mid_point); in test_read_partially_unreadable_range()
2288 …assert_mach_success(mach_vm_protect(mach_task_self(), mid_point, vm_page_size, FALSE, VM_PROT_WRIT… in test_read_partially_unreadable_range()
2783 mach_vm_address_t mid_point = mach_vm_trunc_page(source + size / 2); in test_copy_partially_deallocated_range() local
2786 logv("Deallocating a mid-range page at address 0x%jx...", (uintmax_t)mid_point); in test_copy_partially_deallocated_range()
2787 deallocate_vm_page_early(mid_point); in test_copy_partially_deallocated_range()
2806 mach_vm_address_t mid_point = mach_vm_trunc_page(source + size / 2); in test_copy_partially_unreadable_range() local
2814 logv("Read-protecting a mid-range page at address 0x%jx...", (uintmax_t)mid_point); in test_copy_partially_unreadable_range()
2815 …assert_mach_success(mach_vm_protect(mach_task_self(), mid_point, vm_page_size, FALSE, VM_PROT_WRIT… in test_copy_partially_unreadable_range()
2881 mach_vm_address_t mid_point = (mach_vm_address_t)mach_vm_trunc_page(source + size / 2); in test_copy_source_partially_unreadable_region() local
2887 (uintmax_t)mid_point); in test_copy_source_partially_unreadable_region()
2888 …assert_mach_success(mach_vm_protect(mach_task_self(), mid_point, vm_page_size, FALSE, VM_PROT_WRIT… in test_copy_source_partially_unreadable_region()
2907 mach_vm_address_t mid_point = (mach_vm_address_t)mach_vm_trunc_page(dest + size / 2); in test_copy_dest_partially_unwriteable_region() local
2912 (uintmax_t)mid_point); in test_copy_dest_partially_unwriteable_region()
2913 …assert_mach_success(mach_vm_protect(mach_task_self(), mid_point, vm_page_size, FALSE, VM_PROT_READ… in test_copy_dest_partially_unwriteable_region()