Lines Matching refs:shared
3332 …erify_all_regions(vm_address_t src, vm_address_t dst, vm_address_t shared_copied, boolean_t shared) in modify_one_and_verify_all_regions() argument
3340 logv("Modifying: source%s...", shared ? " (shared with other region)" : ""); in modify_one_and_verify_all_regions()
3354 logv("Modifying: shared/copied%s...", shared ? " (shared with source region)" : ""); in modify_one_and_verify_all_regions()
3365 …verify_region(src, (VMCOPY_MODIFY_SRC == action || (shared && VMCOPY_MODIFY_SHARED_COPIED == actio… in modify_one_and_verify_all_regions()
3370 …verify_region(shared_copied, (VMCOPY_MODIFY_SHARED_COPIED == action || (shared && VMCOPY_MODIFY_SR… in modify_one_and_verify_all_regions()
3409 mach_vm_address_t src, dst, shared; in test_vmcopy_shared_source() local
3442 shared = src; in test_vmcopy_shared_source()
3449 …verify_region(shared, (VMCOPY_MODIFY_SHARED_COPIED == action || VMCOPY_MODIFY_SRC == action) ? 1 :… in test_vmcopy_shared_source()
3517 mach_vm_address_t src = 0x0, dst, shared; in test_vmcopy_trueshared_source() local
3522 assert_allocate_success(&shared, size, TRUE); in test_vmcopy_trueshared_source()
3523 write_region(shared, 0); in test_vmcopy_trueshared_source()
3525 …ch_make_memory_entry_64(mach_task_self(), &size, (memory_object_offset_t)shared, cur_protect, &mem… in test_vmcopy_trueshared_source()
3538 modify_one_and_verify_all_regions(src, dst, shared, TRUE); in test_vmcopy_trueshared_source()
3542 assert_deallocate_success(shared, size); in test_vmcopy_trueshared_source()
3550 mach_vm_address_t src = 0x0, dst, shared; in test_vmcopy_private_aliased_source() local
3554 assert_allocate_success(&shared, size, TRUE); in test_vmcopy_private_aliased_source()
3555 write_region(shared, 0); in test_vmcopy_private_aliased_source()
3557 …S(mach_vm_remap(mach_task_self(), &src, size, 0, TRUE, mach_task_self(), shared, FALSE, &cur_prote… in test_vmcopy_private_aliased_source()
3567 modify_one_and_verify_all_regions(src, dst, shared, TRUE); in test_vmcopy_private_aliased_source()
3571 assert_deallocate_success(shared, size); in test_vmcopy_private_aliased_source()