Lines Matching refs:map

238 VM_MAP_PAGE_SIZE(MAP_T map __unused)  in VM_MAP_PAGE_SIZE()
246 VM_MAP_PAGE_MASK(MAP_T map __unused) in VM_MAP_PAGE_MASK()
273 round_up_map(MAP_T map, T addr) { \
274 return vm_sanitize_map_round_page_mask(addr, VM_MAP_PAGE_MASK(map)); \
296 trunc_down_map(MAP_T map, T addr) \
298 return vm_sanitize_map_trunc_page_mask(addr, VM_MAP_PAGE_MASK(map)); \
897 truncate_vm_map_addr_with_flags(MAP_T map, mach_vm_address_t addr, int flags) in truncate_vm_map_addr_with_flags() argument
909 truncated_addr = trunc_down_map(map, addr); in truncate_vm_map_addr_with_flags()
916 get_expected_remap_misalignment(MAP_T map, mach_vm_address_t addr, int flags) in get_expected_remap_misalignment() argument
926 misalignment = addr - trunc_down_map(map, addr); in get_expected_remap_misalignment()
3267 deallocate_if_not_fixed_overwrite(kern_return_t allocator_kr, MAP_T map, in deallocate_if_not_fixed_overwrite() argument
3275 (void)mach_vm_deallocate(map, start, size); in deallocate_if_not_fixed_overwrite()
3286 vm_map_t map __unused) in dealloc_would_time_out()
3320 vm_map_t map = vm_map_create_options(pmap, map_start, map_end, VM_MAP_CREATE_PAGEABLE); in create_map() local
3321 assert(map); in create_map()
3323 return map; in create_map()
3327 cleanup_map(vm_map_t *map) in cleanup_map() argument
3329 assert(*map); in cleanup_map()
3330 kern_return_t kr = vm_map_terminate(*map); in cleanup_map()
3332 vm_map_deallocate(*map); // also destroys pmap in cleanup_map()
3354 MAP_T map, in allocate_away_from_zero() argument
3361 return mach_vm_map(map, address, size, align_mask, in allocate_away_from_zero()
3368 #define SMART_ALLOCATE_PURGEABLE_VM(map, size, perm) \ argument
3369 …__attribute__((cleanup(cleanup_allocation))) = create_allocation(map, size, 0, perm, false, VM_FLA…
3373 #define SMART_ALLOCATE_VM(map, size, perm) \ argument
3374 __attribute__((cleanup(cleanup_allocation))) = create_allocation(map, size, 0, perm, false, 0)
3378 #define SMART_ALLOCATE_ALIGNED_VM(map, size, align_mask, perm) \ argument
3379 …__attribute__((cleanup(cleanup_allocation))) = create_allocation(map, size, align_mask, perm, fals…
3384 #define SMART_TRY_ALLOCATE_VM(map, size, perm) \ argument
3385 __attribute__((cleanup(cleanup_allocation))) = create_allocation(map, size, 0, perm, true, 0)
3389 MAP_T map; member
3415 result.map = new_map; in create_allocation()
3438 kr = allocate_away_from_zero(result.map, &allocated_base, allocated_size, in create_allocation()
3451 kr = mach_vm_protect(result.map, result.addr, result.size, false, perm); in create_allocation()
3453 kr = mach_vm_protect(result.map, result.guard_prefix, result.guard_size, true, VM_PROT_NONE); in create_allocation()
3455 kr = mach_vm_protect(result.map, result.guard_suffix, result.guard_size, true, VM_PROT_NONE); in create_allocation()
3457 kr = mach_vm_deallocate(result.map, result.unallocated_prefix, result.guard_size); in create_allocation()
3459 kr = mach_vm_deallocate(result.map, result.unallocated_suffix, result.guard_size); in create_allocation()
3480 (void)mach_vm_deallocate(allocation->map, allocation->addr, allocation->size); in cleanup_allocation()
3483 (void)mach_vm_deallocate(allocation->map, allocation->guard_prefix, allocation->guard_size); in cleanup_allocation()
3484 (void)mach_vm_deallocate(allocation->map, allocation->guard_suffix, allocation->guard_size); in cleanup_allocation()
3491 #define SMART_UNALLOCATE_VM(map, size) \ argument
3492 __attribute__((cleanup(cleanup_unallocation))) = create_unallocation(map, size)
3497 #define SMART_TRY_UNALLOCATE_VM(map, size) \ argument
3498 __attribute__((cleanup(cleanup_unallocation))) = create_unallocation(map, size, true)
3502 MAP_T map; member
3523 result.map = new_map; in create_unallocation()
3542 kr = allocate_away_from_zero(result.map, &allocated_base, allocated_size, 0, 0); in create_unallocation()
3552 kr = mach_vm_deallocate(result.map, result.addr, result.size); in create_unallocation()
3554 kr = mach_vm_protect(result.map, result.guard_prefix, result.guard_size, true, VM_PROT_NONE); in create_unallocation()
3556 kr = mach_vm_protect(result.map, result.guard_suffix, result.guard_size, true, VM_PROT_NONE); in create_unallocation()
3573 (void)mach_vm_deallocate(unallocation->map, unallocation->guard_prefix, unallocation->guard_size); in cleanup_unallocation()
3574 (void)mach_vm_deallocate(unallocation->map, unallocation->guard_suffix, unallocation->guard_size); in cleanup_unallocation()
3614 MAP_T map SMART_MAP;
3615 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT);
3750 help_call_remap_fn__src_size_etc(remap_fn_t fn, MAP_T map, int flags, bool copy, mach_vm_address_t … in help_call_remap_fn__src_size_etc() argument
3761 allocation_t dst_alloc SMART_TRY_ALLOCATE_VM(map, size, VM_PROT_DEFAULT); in help_call_remap_fn__src_size_etc()
3768 kr = fn(map, &out_addr, size, 0, flags, in help_call_remap_fn__src_size_etc()
3769 map, src, copy, &cur, &max, inherit); in help_call_remap_fn__src_size_etc()
3773 kr = fn(map, &out_addr, size, 0, flags, in help_call_remap_fn__src_size_etc()
3774 map, src, copy, &cur, &max, inherit); in help_call_remap_fn__src_size_etc()
3776 (void)mach_vm_deallocate(map, out_addr, size); in help_call_remap_fn__src_size_etc()
3783 help_call_remap_fn__src_size(remap_fn_t fn, MAP_T map, int unused_flags __unused, bool copy, mach_v… in help_call_remap_fn__src_size() argument
3786 …return help_call_remap_fn__src_size_etc(fn, map, VM_FLAGS_ANYWHERE, copy, src, size, 0, 0, VM_INHE… in help_call_remap_fn__src_size()
3790 help_call_remap_fn__dst_size(remap_fn_t fn, MAP_T map, int flags, bool copy, mach_vm_address_t dst,… in help_call_remap_fn__dst_size() argument
3792 allocation_t src SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); in help_call_remap_fn__dst_size()
3796 kern_return_t kr = fn(map, &out_addr, size, 0, flags, in help_call_remap_fn__dst_size()
3797 map, src.addr, copy, &cur, &max, VM_INHERIT_NONE); in help_call_remap_fn__dst_size()
3798 deallocate_if_not_fixed_overwrite(kr, map, out_addr, size, flags); in help_call_remap_fn__dst_size()
3803 help_call_remap_fn__inherit(remap_fn_t fn, MAP_T map, int flags, bool copy, mach_vm_address_t src, … in help_call_remap_fn__inherit() argument
3805 return help_call_remap_fn__src_size_etc(fn, map, flags, copy, src, size, 0, 0, inherit); in help_call_remap_fn__inherit()
3809 help_call_remap_fn__flags(remap_fn_t fn, MAP_T map, int unused_flags __unused, bool copy, mach_vm_a… in help_call_remap_fn__flags() argument
3812 …return help_call_remap_fn__src_size_etc(fn, map, trial_flags, copy, src, size, 0, 0, VM_INHERIT_NO… in help_call_remap_fn__flags()
3816 help_call_remap_fn__prot_pairs(remap_fn_t fn, MAP_T map, int flags, bool copy, mach_vm_address_t sr… in help_call_remap_fn__prot_pairs() argument
3818 …return help_call_remap_fn__src_size_etc(fn, map, flags, copy, src, size, cur, max, VM_INHERIT_NONE… in help_call_remap_fn__prot_pairs()
3822 help_call_remap_fn__src_dst_size(remap_fn_t fn, MAP_T map, int flags, bool copy, mach_vm_address_t … in help_call_remap_fn__src_dst_size() argument
3827 kern_return_t kr = fn(map, &out_addr, size, 0, flags, in help_call_remap_fn__src_dst_size()
3828 map, src, copy, &cur, &max, VM_INHERIT_NONE); in help_call_remap_fn__src_dst_size()
3829 deallocate_if_not_fixed_overwrite(kr, map, out_addr, size, flags); in help_call_remap_fn__src_dst_size()
3857 …call_remap_fn ## __ ## variant ## __ ## type(remap_fn_t fn, MAP_T map, mach_vm_address_t src, mach…
3858 …return help_call_remap_fn__ ## type(fn, map, flags, copy, src, size DROP_TYPES(__VA_ARGS__)); …
3884 …call_ ## remap_fn ## __ ## instance ## __ ## type(MAP_T map DROP_COMMAS(__VA_ARGS__)) …
3886 return call_remap_fn__ ## instance ## __ ## type(remap_fn, map DROP_TYPES(__VA_ARGS__)); \
3921 int flags, MAP_T map) in check_mach_vm_map_outparam_changes() argument
3925 if (addr != truncate_vm_map_addr_with_flags(map, saved_addr, flags)) { in check_mach_vm_map_outparam_changes()
3938 …prot_t cur_prot, vm_prot_t saved_cur_prot, vm_prot_t max_prot, vm_prot_t saved_max_prot, MAP_T map, in check_mach_vm_remap_outparam_changes() argument
3943 mach_vm_address_t expected_misalignment = get_expected_remap_misalignment(map, src_addr, flags); in check_mach_vm_remap_outparam_changes()
3944 if (addr != trunc_down_map(map, saved_addr) + expected_misalignment) { in check_mach_vm_remap_outparam_changes()
4107 typedef kern_return_t (*NAME ## mach_with_start_size_fn)(MAP_T map, T start, T size); \
4113 MAP_T map SMART_MAP; \
4114 … allocation_t base SMART_ALLOCATE_ALIGNED_VM(map, TEST_ALLOC_SIZE, align_mask, VM_PROT_DEFAULT); \
4121 kern_return_t ret = fn(map, start, size); \
4136 typedef kern_return_t (*NAME ## mach_with_addr_fn)(MAP_T map, T addr); \
4141 MAP_T map SMART_MAP; \
4142 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); \
4150 kern_return_t ret = fn(map, addr); \
4153 kern_return_t ret = fn(map, - ((T) obj_size)); \
4163 typedef kern_return_t (*NAME ## mach_with_addr_fn)(MAP_T map, T addr); \
4168 MAP_T map SMART_MAP; \
4169 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); \
4175 kern_return_t ret = fn(map, addr); \
4184 MAP_T map SMART_MAP; \
4185 allocation_t base SMART_ALLOCATE_PURGEABLE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); \
4191 kern_return_t ret = fn(map, addr); \
4199 typedef kern_return_t (*NAME ## mach_with_size_fn)(MAP_T map, T size); \
4204 MAP_T map SMART_MAP; \
4210 kern_return_t ret = fn(map, size); \
4218 …typedef kern_return_t (*NAME ## mach_with_start_size_offset_object_fn)(MAP_T map, T addr, T size, …
4223 MAP_T map SMART_MAP; \
4224 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); \
4234 kern_return_t ret = fn(map, start, size, offset, obj_size); \
4241 …typedef kern_return_t (*NAME ## mach_with_start_size_offset_fn)(MAP_T map, T addr, T size, T offse…
4246 MAP_T map SMART_MAP; \
4247 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); \
4256 kern_return_t ret = fn(map, start, size, offset, 1); \
4264 …typedef kern_return_t (*NAME ## mach_with_allocated_mmap_flags_fn)(MAP_T map, T addr, T size, int …
4269 MAP_T map SMART_MAP; \
4270 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); \
4276 kern_return_t ret = fn(map, (T)base.addr, (T)base.size, flags); \
4284 …typedef kern_return_t (*NAME ## mach_with_allocated_generic_flag)(MAP_T map, T addr, T size, int f…
4289 MAP_T map SMART_MAP; \
4290 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); \
4296 kern_return_t ret = fn(map, (T)base.addr, (T)base.size, flag); \
4304 typedef kern_return_t (*NAME ## mach_with_prot_fn)(MAP_T map, T size, vm_prot_t prot); \
4309 MAP_T map SMART_MAP; \
4314 kern_return_t ret = fn(map, TEST_ALLOC_SIZE, trials->list[i].prot); \
4322 typedef kern_return_t (*NAME ## mach_with_prot_pair_fn)(MAP_T map, vm_prot_t cur, vm_prot_t max); \
4327 MAP_T map SMART_MAP; \
4332 kern_return_t ret = fn(map, trials->list[i].cur, trials->list[i].max); \
4340 …typedef kern_return_t (*NAME ## mach_with_allocated_prot_pair_fn)(MAP_T map, T addr, T size, vm_pr…
4345 MAP_T map SMART_MAP; \
4346 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); \
4351 …kern_return_t ret = fn(map, (T)base.addr, (T)base.size, trials->list[i].cur, trials->list[i].max);…
4359 …typedef kern_return_t (*NAME ## mach_with_allocated_prot_fn)(MAP_T map, T addr, T size, vm_prot_t …
4364 MAP_T map SMART_MAP; \
4365 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); \
4371 kern_return_t ret = fn(map, (T)base.addr, (T)base.size, prot); \
4379 typedef kern_return_t (*NAME ## mach_ledger_flag_fn)(MAP_T map, int ledger_flag); \
4384 MAP_T map SMART_MAP; \
4389 kern_return_t ret = fn(map, trials->list[i].flag); \
4396 typedef kern_return_t (*NAME ## mach_ledger_tag_fn)(MAP_T map, int ledger_tag); \
4401 MAP_T map SMART_MAP; \
4406 kern_return_t ret = fn(map, trials->list[i].tag); \
4414 …typedef kern_return_t (*NAME ## mach_inherit_fn)(MAP_T map, T addr, T size, vm_inherit_t inherit);…
4418 MAP_T map SMART_MAP; \
4419 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); \
4425 int ret = fn(map, (T)base.addr, (T)base.size, trial.value); \
4432 typedef kern_return_t (*NAME ## with_start_end_fn)(MAP_T map, T addr, T end); \
4437 MAP_T map SMART_MAP; \
4438 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); \
4445 kern_return_t ret = fn(map, start, start + size); \
4452 typedef kern_return_t (*NAME ## with_tag_fn)(MAP_T map, T addr, T end, vm_tag_t tag); \
4457 MAP_T map SMART_MAP; \
4458 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); \
4463 … kern_return_t ret = fn(map, (T)base.addr, (T)(base.addr + base.size), trials->list[i].tag); \
4470 …typedef kern_return_t (*NAME ## mach_behavior_fn)(MAP_T map, T addr, T size, vm_behavior_t behavio…
4474 MAP_T map SMART_MAP; \
4475 … allocation_t base SMART_ALLOCATE_ALIGNED_VM(map, TEST_ALLOC_SIZE, align_mask, VM_PROT_DEFAULT); \
4481 int ret = fn(map, (T)base.addr, (T)base.size, trial.value); \
4494 typedef kern_return_t (*NAME ## mach_sync_fn)(MAP_T map, T addr, T size, vm_sync_t behavior); \
4498 MAP_T map SMART_MAP; \
4499 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); \
4505 int ret = fn(map, (T)base.addr, (T)base.size, trial.value); \
4512 …typedef kern_return_t (*NAME ## mach_attribute_fn)(MAP_T map, T addr, T size, vm_machine_attribute…
4516 MAP_T map SMART_MAP; \
4517 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); \
4523 int ret = fn(map, (T)base.addr, (T)base.size, trial.value); \
4530 …typedef kern_return_t (*NAME ## mach_purgable_fn)(MAP_T map, T addr, vm_purgable_t control, int st…
4534 MAP_T map SMART_MAP; \
4539 … allocation_t base SMART_ALLOCATE_PURGEABLE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); \
4541 int ret = fn(map, (T)base.addr, trial.control, trial.state); \
4570 typedef kern_return_t (mach_with_start_size_start_size_fn)(MAP_T map, mach_vm_address_t addr,
4583 MAP_T map SMART_RANGE_MAP; in test_mach_vm_range_create()
4584 bool has_ranges = vm_map_range_configure(map, false) == KERN_SUCCESS; in test_mach_vm_range_create()
4588 .min_address = map->default_range.max_address, in test_mach_vm_range_create()
4589 .max_address = map->data_range.min_address, in test_mach_vm_range_create()
4592 .min_address = map->data_range.max_address, in test_mach_vm_range_create()
4593 .max_address = vm_map_max(map), in test_mach_vm_range_create()
4624 kern_return_t ret = fn(map, start, size, second_start, second_size); in test_mach_vm_range_create()
4636 test_mach_allocation_func_with_start_size(kern_return_t (*func)(MAP_T map, mach_vm_address_t * star… in test_mach_allocation_func_with_start_size() argument
4638 MAP_T map SMART_MAP; in test_mach_allocation_func_with_start_size()
4643 unallocation_t dst SMART_UNALLOCATE_VM(map, TEST_ALLOC_SIZE); in test_mach_allocation_func_with_start_size()
4646 kern_return_t ret = func(map, &addr, trial.size); in test_mach_allocation_func_with_start_size()
4648 (void)mach_vm_deallocate(map, addr, trial.size); in test_mach_allocation_func_with_start_size()
4657 test_mach_allocation_func_with_vm_map_kernel_flags_t(kern_return_t (*func)(MAP_T map, mach_vm_addre… in test_mach_allocation_func_with_vm_map_kernel_flags_t() argument
4659 MAP_T map SMART_MAP; in test_mach_allocation_func_with_vm_map_kernel_flags_t()
4664 allocation_t fixed_overwrite_dst SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); in test_mach_allocation_func_with_vm_map_kernel_flags_t()
4678 kern_return_t ret = func(map, &addr, TEST_ALLOC_SIZE, trial.flags); in test_mach_allocation_func_with_vm_map_kernel_flags_t()
4679 deallocate_if_not_fixed_overwrite(ret, map, addr, TEST_ALLOC_SIZE, trial.flags); in test_mach_allocation_func_with_vm_map_kernel_flags_t()
4686 test_mach_with_allocated_vm_map_kernel_flags_t(kern_return_t (*func)(MAP_T map, mach_vm_address_t s… in test_mach_with_allocated_vm_map_kernel_flags_t() argument
4688 MAP_T map SMART_MAP; in test_mach_with_allocated_vm_map_kernel_flags_t()
4690 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); in test_mach_with_allocated_vm_map_kernel_flags_t()
4695 kern_return_t ret = func(map, base.addr, base.size, trials->list[i].flags); in test_mach_with_allocated_vm_map_kernel_flags_t()
4704 MAP_T map CURRENT_MAP; in test_unix_with_allocated_vm_prot_t()
4705 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); in test_unix_with_allocated_vm_prot_t()
4723 MAP_T map CURRENT_MAP; in test_unix_with_allocated_aligned_start_size()
4724 allocation_t base SMART_ALLOCATE_ALIGNED_VM(map, TEST_ALLOC_SIZE, align_mask, VM_PROT_DEFAULT); in test_unix_with_allocated_aligned_start_size()
4747 MAP_T map CURRENT_MAP; in test_kext_unix_with_allocated_start_size()
4748 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); in test_kext_unix_with_allocated_start_size()
4765 test_kext_tagged_with_allocated_addr(kern_return_t (*func)(MAP_T map, mach_vm_address_t addr), cons… in test_kext_tagged_with_allocated_addr() argument
4767 MAP_T map CURRENT_MAP; in test_kext_tagged_with_allocated_addr()
4768 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); in test_kext_tagged_with_allocated_addr()
4774 kern_return_t ret = func(map, addr); in test_kext_tagged_with_allocated_addr()
4803 short_circuit_deallocator(MAP_T map, start_size_trial_t trial);
4811 short_circuit_deallocator(MAP_T map __unused, start_size_trial_t trial __unused) in short_circuit_deallocator()
4824 test_deallocator(kern_return_t (*func)(MAP_T map, mach_vm_address_t start, mach_vm_size_t size), co… in test_deallocator() argument
4826 MAP_T map SMART_MAP; in test_deallocator()
4836 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); in test_deallocator()
4840 kern_return_t ret = short_circuit_deallocator(map, trial); in test_deallocator()
4845 ret = func(map, trial.start, trial.size); in test_deallocator()
4858 test_allocated_src_unallocated_dst_size(kern_return_t (*func)(MAP_T map, mach_vm_address_t src, mac… in test_allocated_src_unallocated_dst_size() argument
4860 MAP_T map SMART_MAP; in test_allocated_src_unallocated_dst_size()
4861 allocation_t src_base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); in test_allocated_src_unallocated_dst_size()
4867 unallocation_t dst_base SMART_UNALLOCATE_VM(map, TEST_ALLOC_SIZE); in test_allocated_src_unallocated_dst_size()
4870 int ret = func(map, trial.src, trial.size, trial.dst); in test_allocated_src_unallocated_dst_size()
4880 mach_vm_address_t saved_start, int flags, MAP_T map) in check_mach_vm_allocate_outparam_changes() argument
4889 if (addr != trunc_down_map(map, saved_start)) { in check_mach_vm_allocate_outparam_changes()
4902 call_mach_vm_behavior_set__start_size__default(MAP_T map, mach_vm_address_t start, mach_vm_size_t s… in call_mach_vm_behavior_set__start_size__default() argument
4904 kern_return_t kr = mach_vm_behavior_set(map, start, size, VM_BEHAVIOR_DEFAULT); in call_mach_vm_behavior_set__start_size__default()
4912 call_mach_vm_behavior_set__start_size__can_reuse(MAP_T map, mach_vm_address_t start, mach_vm_size_t… in call_mach_vm_behavior_set__start_size__can_reuse() argument
4914 kern_return_t kr = mach_vm_behavior_set(map, start, size, VM_BEHAVIOR_CAN_REUSE); in call_mach_vm_behavior_set__start_size__can_reuse()
4919 call_mach_vm_behavior_set__vm_behavior(MAP_T map, mach_vm_address_t start, mach_vm_size_t size, vm_… in call_mach_vm_behavior_set__vm_behavior() argument
4921 kern_return_t kr = mach_vm_behavior_set(map, start, size, behavior); in call_mach_vm_behavior_set__vm_behavior()
4950 check_mach_vm_region_outparam_changes(kern_return_t * kr, MAP_T map, void * info, void * saved_info… in check_mach_vm_region_outparam_changes() argument
4958 if (addr < trunc_down_map(map, saved_addr)) { in check_mach_vm_region_outparam_changes()
4975 call_mach_vm_region(MAP_T map, mach_vm_address_t addr) in call_mach_vm_region() argument
4987 …kern_return_t kr = mach_vm_region(map, &addr_cpy, &size_out, VM_REGION_BASIC_INFO_64, (vm_region_i… in call_mach_vm_region()
4989 …check_mach_vm_region_outparam_changes(&kr, map, &info, &saved_info, sizeof(info), object_name_out,… in call_mach_vm_region()
4996 call_vm_region(MAP_T map, vm_address_t addr) in call_vm_region() argument
5008 …kern_return_t kr = vm_region(map, &addr_cpy, &size_out, VM_REGION_BASIC_INFO_64, (vm_region_info_t… in call_vm_region()
5010 …check_mach_vm_region_outparam_changes(&kr, map, &info, &saved_info, sizeof(info), object_name_out,… in call_vm_region()