Home
last modified time | relevance | path

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

/xnu-11215/tests/vm/
H A Dvm_allocation.c2439 mach_vm_address_t buffer_mid_point = (mach_vm_address_t)mach_vm_trunc_page(data + buffer_size / 2); in test_write_partially_deallocated_buffer() local
2444 (uintmax_t)buffer_mid_point); in test_write_partially_deallocated_buffer()
2445 assert_deallocate_success(buffer_mid_point, vm_page_size); in test_write_partially_deallocated_buffer()
2463 mach_vm_address_t buffer_mid_point = (mach_vm_address_t)mach_vm_trunc_page(data + buffer_size / 2); in test_write_partially_unreadable_buffer() local
2468 (uintmax_t)buffer_mid_point); in test_write_partially_unreadable_buffer()
2469 …T_QUIET; T_ASSERT_MACH_SUCCESS(mach_vm_protect(mach_task_self(), buffer_mid_point, vm_page_size, F… in test_write_partially_unreadable_buffer()