Home
last modified time | relevance | path

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

/xnu-11215/tests/vm/
H A Dvm_parameter_validation.c2307 mach_vm_address_t dst_alloc; in test_fixed_dst_size_fileoff() local
2311 allocate_for_mmap_fixed(map, trial, &dst_alloc, &dst_size, &should_panic, &should_slide_trial); in test_fixed_dst_size_fileoff()
2318 trial = slide_trial_dst(trial, dst_alloc); in test_fixed_dst_size_fileoff()
2323 if (dst_alloc != 0) { in test_fixed_dst_size_fileoff()
2324 (void)mach_vm_deallocate(map, dst_alloc, dst_size); in test_fixed_dst_size_fileoff()
2342 mach_vm_address_t dst_alloc; in test_fixed_dst_size() local
2346 allocate_for_mmap_fixed(map, trial, &dst_alloc, &dst_size, &should_panic, &should_slide_trial); in test_fixed_dst_size()
2352 trial = slide_trial(trial, dst_alloc); in test_fixed_dst_size()
2357 if (dst_alloc != 0) { in test_fixed_dst_size()
2358 (void)mach_vm_deallocate(map, dst_alloc, dst_size); in test_fixed_dst_size()
/xnu-11215/osfmk/tests/
H A Dvm_parameter_validation_kern.c86 allocation_t dst_alloc SMART_ALLOCATE_VM(dst_map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); in test_vm_map_copy_overwrite()
90 start_size_trials_t *trials SMART_START_SIZE_TRIALS(dst_alloc.addr); in test_vm_map_copy_overwrite()
91 …results_t *results = alloc_results(testname, eSMART_START_SIZE_TRIALS, dst_alloc.addr, trials->cou… in test_vm_map_copy_overwrite()
H A Dvm_parameter_validation.h3761 allocation_t dst_alloc SMART_TRY_ALLOCATE_VM(map, size, VM_PROT_DEFAULT); in help_call_remap_fn__src_size_etc()
3762 mach_vm_address_t out_addr = dst_alloc.addr; in help_call_remap_fn__src_size_etc()