Lines Matching refs:size
55 make_a_mem_object(vm_size_t size) in make_a_mem_object() argument
58 …kern_return_t kr = mach_memory_object_memory_entry_64((host_t)1, /*internal=*/ true, size, VM_PROT… in make_a_mem_object()
64 make_a_mem_entry(MAP_T map, vm_size_t size) in make_a_mem_entry() argument
67 memory_object_size_t s = (memory_object_size_t)size; in make_a_mem_entry()
76 …AP_T dst_map, vm_map_copy_t copy, mach_vm_address_t start, mach_vm_size_t size), const char * test… in test_vm_map_copy_overwrite() argument
98 kern_return_t kr = vm_map_copyin(src_map, src_alloc.addr, src_alloc.size, false, ©); in test_vm_map_copy_overwrite()
103 kern_return_t ret = func(dst_map, copy, trial.start, trial.size); in test_vm_map_copy_overwrite()
130 int ret = func(map, trial.src, (void *)trial.dst, trial.size); in test_src_kerneldst_size()
153 int ret = func(map, (void *)trial.src, trial.dst, trial.size); in test_kernelsrc_dst_size()
165 call_mach_vm_read(MAP_T map, mach_vm_address_t start, mach_vm_size_t size) in call_mach_vm_read() argument
169 kern_return_t kr = mach_vm_read(map, start, size, &out_addr, &out_size); in call_mach_vm_read()
192 call_vm_map_copyin(MAP_T map, mach_vm_address_t start, mach_vm_size_t size) in call_vm_map_copyin() argument
196 kern_return_t kr = vm_map_copyin(map, start, size, false, ©); in call_vm_map_copyin()
214 call_mach_vm_allocate__flags(MAP_T map, mach_vm_address_t * start, mach_vm_size_t size, int flags) in call_mach_vm_allocate__flags() argument
217 kern_return_t kr = mach_vm_allocate_external(map, start, size, flags); in call_mach_vm_allocate__flags()
218 check_mach_vm_allocate_outparam_changes(&kr, *start, size, saved_start, flags, map); in call_mach_vm_allocate__flags()
223 call_mach_vm_allocate__start_size_fixed(MAP_T map, mach_vm_address_t * start, mach_vm_size_t size) in call_mach_vm_allocate__start_size_fixed() argument
226 kern_return_t kr = mach_vm_allocate_external(map, start, size, VM_FLAGS_FIXED); in call_mach_vm_allocate__start_size_fixed()
227 check_mach_vm_allocate_outparam_changes(&kr, *start, size, saved_start, VM_FLAGS_FIXED, map); in call_mach_vm_allocate__start_size_fixed()
232 …ll_mach_vm_allocate__start_size_anywhere(MAP_T map, mach_vm_address_t * start, mach_vm_size_t size) in call_mach_vm_allocate__start_size_anywhere() argument
235 kern_return_t kr = mach_vm_allocate_external(map, start, size, VM_FLAGS_ANYWHERE); in call_mach_vm_allocate__start_size_anywhere()
236 check_mach_vm_allocate_outparam_changes(&kr, *start, size, saved_start, VM_FLAGS_ANYWHERE, map); in call_mach_vm_allocate__start_size_anywhere()
241 call_mach_vm_allocate_kernel__flags(MAP_T map, mach_vm_address_t * start, mach_vm_size_t size, int … in call_mach_vm_allocate_kernel__flags() argument
244 kern_return_t kr = mach_vm_allocate_kernel(map, start, size, in call_mach_vm_allocate_kernel__flags()
246 check_mach_vm_allocate_outparam_changes(&kr, *start, size, saved_start, flags, map); in call_mach_vm_allocate_kernel__flags()
251 …ach_vm_allocate_kernel__start_size_fixed(MAP_T map, mach_vm_address_t * start, mach_vm_size_t size) in call_mach_vm_allocate_kernel__start_size_fixed() argument
253 if (dealloc_would_time_out(*start, size, map)) { in call_mach_vm_allocate_kernel__start_size_fixed()
258 kern_return_t kr = mach_vm_allocate_kernel(map, start, size, in call_mach_vm_allocate_kernel__start_size_fixed()
260 check_mach_vm_allocate_outparam_changes(&kr, *start, size, saved_start, VM_FLAGS_FIXED, map); in call_mach_vm_allocate_kernel__start_size_fixed()
265 …_vm_allocate_kernel__start_size_anywhere(MAP_T map, mach_vm_address_t * start, mach_vm_size_t size) in call_mach_vm_allocate_kernel__start_size_anywhere() argument
267 if (dealloc_would_time_out(*start, size, map)) { in call_mach_vm_allocate_kernel__start_size_anywhere()
272 kern_return_t kr = mach_vm_allocate_kernel(map, start, size, in call_mach_vm_allocate_kernel__start_size_anywhere()
274 check_mach_vm_allocate_outparam_changes(&kr, *start, size, saved_start, VM_FLAGS_ANYWHERE, map); in call_mach_vm_allocate_kernel__start_size_anywhere()
281 call_vm_allocate__flags(MAP_T map, mach_vm_address_t * start, mach_vm_size_t size, int flags) in call_vm_allocate__flags() argument
284 kern_return_t kr = vm_allocate(map, (vm_address_t *) start, (vm_size_t) size, flags); in call_vm_allocate__flags()
285 check_mach_vm_allocate_outparam_changes(&kr, *start, size, saved_start, flags, map); in call_vm_allocate__flags()
290 call_vm_allocate__start_size_fixed(MAP_T map, mach_vm_address_t * start, mach_vm_size_t size) in call_vm_allocate__start_size_fixed() argument
293 kern_return_t kr = vm_allocate(map, (vm_address_t *) start, (vm_size_t) size, VM_FLAGS_FIXED); in call_vm_allocate__start_size_fixed()
294 check_mach_vm_allocate_outparam_changes(&kr, *start, size, saved_start, VM_FLAGS_FIXED, map); in call_vm_allocate__start_size_fixed()
299 call_vm_allocate__start_size_anywhere(MAP_T map, mach_vm_address_t * start, mach_vm_size_t size) in call_vm_allocate__start_size_anywhere() argument
302 kern_return_t kr = vm_allocate(map, (vm_address_t *) start, (vm_size_t) size, VM_FLAGS_ANYWHERE); in call_vm_allocate__start_size_anywhere()
303 check_mach_vm_allocate_outparam_changes(&kr, *start, size, saved_start, VM_FLAGS_ANYWHERE, map); in call_vm_allocate__start_size_anywhere()
308 call_mach_vm_deallocate(MAP_T map, mach_vm_address_t start, mach_vm_size_t size) in call_mach_vm_deallocate() argument
310 kern_return_t kr = mach_vm_deallocate(map, start, size); in call_mach_vm_deallocate()
315 call_vm_deallocate(MAP_T map, mach_vm_address_t start, mach_vm_size_t size) in call_vm_deallocate() argument
317 kern_return_t kr = vm_deallocate(map, (vm_address_t) start, (vm_size_t) size); in call_vm_deallocate()
325 call_vslock(void * start, size_t size) in call_vslock() argument
327 int kr = vslock((user_addr_t) start, (user_size_t) size); in call_vslock()
329 (void) vsunlock((user_addr_t) start, (user_size_t) size, 0); in call_vslock()
336 call_vsunlock_undirtied(void * start, size_t size) in call_vsunlock_undirtied() argument
338 int kr = vslock((user_addr_t) start, (user_size_t) size); in call_vsunlock_undirtied()
346 kr = vsunlock((user_addr_t) start, (user_size_t) size, 0); in call_vsunlock_undirtied()
351 call_vsunlock_dirtied(void * start, size_t size) in call_vsunlock_dirtied() argument
353 int kr = vslock((user_addr_t) start, (user_size_t) size); in call_vsunlock_dirtied()
361 kr = vsunlock((user_addr_t) start, (user_size_t) size, 1); in call_vsunlock_dirtied()
477 …wired_ ## user_wire ## _(MAP_T map, mach_vm_address_t start, mach_vm_size_t size, vm_prot_t prot) \
480 if (__builtin_add_overflow(start, size, &end)) { \
545 will_copyio_panic_in_copy_validate(void *kernel_addr, vm_size_t size) in will_copyio_panic_in_copy_validate() argument
547 if (size == 0) { in will_copyio_panic_in_copy_validate()
551 if (size > copysize_limit_panic) { in will_copyio_panic_in_copy_validate()
564 if (os_add_overflow((uintptr_t) kernel_addr, size, &kernel_addr_last)) { in will_copyio_panic_in_copy_validate()
604 call_vm_map_read_user(MAP_T map, vm_map_address_t src_addr, void * ptr, vm_size_t size) in call_vm_map_read_user() argument
606 if (will_copyio_panic_in_copy_validate(ptr, size)) { in call_vm_map_read_user()
610 kern_return_t kr = vm_map_read_user(map, src_addr, ptr, size); in call_vm_map_read_user()
615 call_vm_map_write_user(MAP_T map, void * ptr, vm_map_address_t dst_addr, vm_size_t size) in call_vm_map_write_user() argument
617 if (will_copyio_panic_in_copy_validate(ptr, size)) { in call_vm_map_write_user()
621 kern_return_t kr = vm_map_write_user(map, ptr, dst_addr, size); in call_vm_map_write_user()
633 call_mach_vm_protect__start_size(MAP_T map, mach_vm_address_t start, mach_vm_size_t size) in call_mach_vm_protect__start_size() argument
635 kern_return_t kr = mach_vm_protect(map, start, size, 0, VM_PROT_READ | VM_PROT_WRITE); in call_mach_vm_protect__start_size()
639 call_mach_vm_protect__vm_prot(MAP_T map, mach_vm_address_t start, mach_vm_size_t size, vm_prot_t pr… in call_mach_vm_protect__vm_prot() argument
641 kern_return_t kr = mach_vm_protect(map, start, size, 0, prot); in call_mach_vm_protect__vm_prot()
646 call_vm_protect__start_size(MAP_T map, vm_address_t start, vm_size_t size) in call_vm_protect__start_size() argument
648 kern_return_t kr = vm_protect(map, start, size, 0, VM_PROT_READ | VM_PROT_WRITE); in call_vm_protect__start_size()
653 call_vm_protect__vm_prot(MAP_T map, vm_address_t start, vm_size_t size, vm_prot_t prot) in call_vm_protect__vm_prot() argument
655 kern_return_t kr = vm_protect(map, start, size, 0, prot); in call_vm_protect__vm_prot()
673 call_vm_map_protect__start_size__no_max(MAP_T map, mach_vm_address_t start, mach_vm_size_t size) in call_vm_map_protect__start_size__no_max() argument
675 mach_vm_address_t end = start + size; in call_vm_map_protect__start_size__no_max()
685 call_vm_map_protect__start_size__set_max(MAP_T map, mach_vm_address_t start, mach_vm_size_t size) in call_vm_map_protect__start_size__set_max() argument
687 mach_vm_address_t end = start + size; in call_vm_map_protect__start_size__set_max()
697 call_vm_map_protect__vm_prot__no_max(MAP_T map, mach_vm_address_t start, mach_vm_size_t size, vm_pr… in call_vm_map_protect__vm_prot__no_max() argument
699 mach_vm_address_t end = start + size; in call_vm_map_protect__vm_prot__no_max()
709 call_vm_map_protect__vm_prot__set_max(MAP_T map, mach_vm_address_t start, mach_vm_size_t size, vm_p… in call_vm_map_protect__vm_prot__set_max() argument
711 mach_vm_address_t end = start + size; in call_vm_map_protect__vm_prot__set_max()
724 call_useracc__start_size(void * start, size_t size) in call_useracc__start_size() argument
726 int result = useracc((user_addr_t) start, (user_addr_t) size, VM_PROT_READ); in call_useracc__start_size()
731 call_useracc__vm_prot(void * start, size_t size, int prot) in call_useracc__vm_prot() argument
733 return useracc((user_addr_t) start, (user_addr_t) size, prot); in call_useracc__vm_prot()
776 call_vm_region_object_create(MAP_T map, vm_size_t size) in call_vm_region_object_create() argument
779 kern_return_t kr = vm_region_object_create(map, size, &handle); in call_vm_region_object_create()
825 call_mach_vm_range_create(MAP_T map, mach_vm_address_t start, mach_vm_size_t size, mach_vm_address_… in call_mach_vm_range_create() argument
829 .range = { start, start + size }, .range_tag = MACH_VM_RANGE_FIXED, in call_mach_vm_range_create()
889 call_mach_memory_entry_map_size__start_size(MAP_T map, mach_vm_address_t start, mach_vm_size_t size) in call_mach_memory_entry_map_size__start_size() argument
908 kr = mach_memory_entry_map_size(mementry, map, start, size, &map_size); in call_mach_memory_entry_map_size__start_size()
1013 …eferred_reclamation_buffer_init(MAP_T map __unused, mach_vm_address_t address, mach_vm_size_t size) in test_mach_vm_deferred_reclamation_buffer_init() argument
1019 kr = call_mach_vm_deferred_reclamation_buffer_init(current_task(), address, size); in test_mach_vm_deferred_reclamation_buffer_init()
1029 check_mach_memory_entry_outparam_changes(kern_return_t * kr, mach_vm_size_t size, in check_mach_memory_entry_outparam_changes() argument
1036 if (size != 0) { in check_mach_memory_entry_outparam_changes()
1047 call_ ## FN ## __start_size__memonly(MAP_T map, T start, T size) \
1050 T io_size = size; \
1064 call_ ## FN ## __start_size__namedcreate(MAP_T map, T start, T size) \
1067 T io_size = size; \
1081 call_ ## FN ## __start_size__copy(MAP_T map, T start, T size) \
1084 T io_size = size; \
1098 call_ ## FN ## __start_size__share(MAP_T map, T start, T size) \
1101 T io_size = size; \
1115 call_ ## FN ## __start_size__namedreuse(MAP_T map, T start, T size) \
1118 T io_size = size; \
1132 call_ ## FN ## __vm_prot(MAP_T map, T start, T size, vm_prot_t prot) \
1135 T io_size = size; \
1153 memory_object_size_t *size, in IMPL()
1163 …return mach_make_memory_entry_internal(target_map, size, offset, permission, vmne_kflags, object_h… in IMPL()
1173 mach_vm_size_t size,
1184 call_map_fn__allocate_fixed(map_fn_t fn, MAP_T map, mach_vm_address_t start, mach_vm_size_t size) in call_map_fn__allocate_fixed() argument
1187 kern_return_t kr = fn(map, &out_addr, size, 0, VM_FLAGS_FIXED | VM_FLAGS_OVERWRITE, in call_map_fn__allocate_fixed()
1194 …l_map_fn__allocate_fixed_copy(map_fn_t fn, MAP_T map, mach_vm_address_t start, mach_vm_size_t size) in call_map_fn__allocate_fixed_copy() argument
1197 kern_return_t kr = fn(map, &out_addr, size, 0, VM_FLAGS_FIXED | VM_FLAGS_OVERWRITE, in call_map_fn__allocate_fixed_copy()
1204 …ap_fn__allocate_anywhere(map_fn_t fn, MAP_T map, mach_vm_address_t start_hint, mach_vm_size_t size) in call_map_fn__allocate_anywhere() argument
1207 kern_return_t kr = fn(map, &out_addr, size, 0, VM_FLAGS_ANYWHERE, 0, 0, 0, 0, 0, VM_INHERIT_NONE); in call_map_fn__allocate_anywhere()
1209 (void)mach_vm_deallocate(map, out_addr, size); in call_map_fn__allocate_anywhere()
1215 call_map_fn__memobject_fixed(map_fn_t fn, MAP_T map, mach_vm_address_t start, mach_vm_size_t size) in call_map_fn__memobject_fixed() argument
1219 kern_return_t kr = fn(map, &out_addr, size, 0, VM_FLAGS_FIXED | VM_FLAGS_OVERWRITE, in call_map_fn__memobject_fixed()
1227 …_map_fn__memobject_fixed_copy(map_fn_t fn, MAP_T map, mach_vm_address_t start, mach_vm_size_t size) in call_map_fn__memobject_fixed_copy() argument
1231 kern_return_t kr = fn(map, &out_addr, size, 0, VM_FLAGS_FIXED | VM_FLAGS_OVERWRITE, in call_map_fn__memobject_fixed_copy()
1239 …p_fn__memobject_anywhere(map_fn_t fn, MAP_T map, mach_vm_address_t start_hint, mach_vm_size_t size) in call_map_fn__memobject_anywhere() argument
1243 kern_return_t kr = fn(map, &out_addr, size, 0, VM_FLAGS_ANYWHERE, memobject, in call_map_fn__memobject_anywhere()
1246 (void)mach_vm_deallocate(map, out_addr, size); in call_map_fn__memobject_anywhere()
1253 … MAP_T map, int flags, bool copy, mach_vm_address_t start, mach_vm_size_t size, vm_object_offset_t… in helper_call_map_fn__memobject__ssoo() argument
1257 kern_return_t kr = fn(map, &out_addr, size, 0, flags, memobject, in helper_call_map_fn__memobject__ssoo()
1259 deallocate_if_not_fixed_overwrite(kr, map, out_addr, size, flags); in helper_call_map_fn__memobject__ssoo()
1265 …et_object(map_fn_t fn, MAP_T map, mach_vm_address_t start, mach_vm_size_t size, vm_object_offset_t… in call_map_fn__memobject_fixed__start_size_offset_object() argument
1267 …emobject__ssoo(fn, map, VM_FLAGS_FIXED | VM_FLAGS_OVERWRITE, false, start, size, offset, obj_size); in call_map_fn__memobject_fixed__start_size_offset_object()
1271 …et_object(map_fn_t fn, MAP_T map, mach_vm_address_t start, mach_vm_size_t size, vm_object_offset_t… in call_map_fn__memobject_fixed_copy__start_size_offset_object() argument
1273 …memobject__ssoo(fn, map, VM_FLAGS_FIXED | VM_FLAGS_OVERWRITE, true, start, size, offset, obj_size); in call_map_fn__memobject_fixed_copy__start_size_offset_object()
1277 …et_object(map_fn_t fn, MAP_T map, mach_vm_address_t start, mach_vm_size_t size, vm_object_offset_t… in call_map_fn__memobject_anywhere__start_size_offset_object() argument
1279 …return helper_call_map_fn__memobject__ssoo(fn, map, VM_FLAGS_ANYWHERE, false, start, size, offset,… in call_map_fn__memobject_anywhere__start_size_offset_object()
1283 … MAP_T map, int flags, bool copy, mach_vm_address_t start, mach_vm_size_t size, vm_inherit_t inher… in help_call_map_fn__allocate__inherit() argument
1286 kern_return_t kr = fn(map, &out_addr, size, 0, flags, in help_call_map_fn__allocate__inherit()
1288 deallocate_if_not_fixed_overwrite(kr, map, out_addr, size, flags); in help_call_map_fn__allocate__inherit()
1293 …__inherit(map_fn_t fn, MAP_T map, mach_vm_address_t start, mach_vm_size_t size, vm_inherit_t inher… in call_map_fn__allocate_fixed__inherit() argument
1295 …p_fn__allocate__inherit(fn, map, VM_FLAGS_FIXED | VM_FLAGS_OVERWRITE, false, start, size, inherit); in call_map_fn__allocate_fixed__inherit()
1299 …__inherit(map_fn_t fn, MAP_T map, mach_vm_address_t start, mach_vm_size_t size, vm_inherit_t inher… in call_map_fn__allocate_fixed_copy__inherit() argument
1301 …ap_fn__allocate__inherit(fn, map, VM_FLAGS_FIXED | VM_FLAGS_OVERWRITE, true, start, size, inherit); in call_map_fn__allocate_fixed_copy__inherit()
1305 …__inherit(map_fn_t fn, MAP_T map, mach_vm_address_t start, mach_vm_size_t size, vm_inherit_t inher… in call_map_fn__allocate_anywhere__inherit() argument
1307 …return help_call_map_fn__allocate__inherit(fn, map, VM_FLAGS_ANYWHERE, false, start, size, inherit… in call_map_fn__allocate_anywhere__inherit()
1311 … MAP_T map, int flags, bool copy, mach_vm_address_t start, mach_vm_size_t size, vm_inherit_t inher… in help_call_map_fn__memobject__inherit() argument
1315 kern_return_t kr = fn(map, &out_addr, size, 0, flags, in help_call_map_fn__memobject__inherit()
1317 deallocate_if_not_fixed_overwrite(kr, map, out_addr, size, flags); in help_call_map_fn__memobject__inherit()
1323 …__inherit(map_fn_t fn, MAP_T map, mach_vm_address_t start, mach_vm_size_t size, vm_inherit_t inher… in call_map_fn__memobject_fixed__inherit() argument
1325 …_fn__memobject__inherit(fn, map, VM_FLAGS_FIXED | VM_FLAGS_OVERWRITE, false, start, size, inherit); in call_map_fn__memobject_fixed__inherit()
1329 …__inherit(map_fn_t fn, MAP_T map, mach_vm_address_t start, mach_vm_size_t size, vm_inherit_t inher… in call_map_fn__memobject_fixed_copy__inherit() argument
1331 …p_fn__memobject__inherit(fn, map, VM_FLAGS_FIXED | VM_FLAGS_OVERWRITE, true, start, size, inherit); in call_map_fn__memobject_fixed_copy__inherit()
1335 …__inherit(map_fn_t fn, MAP_T map, mach_vm_address_t start, mach_vm_size_t size, vm_inherit_t inher… in call_map_fn__memobject_anywhere__inherit() argument
1337 …return help_call_map_fn__memobject__inherit(fn, map, VM_FLAGS_ANYWHERE, false, start, size, inheri… in call_map_fn__memobject_anywhere__inherit()
1341 call_map_fn__allocate__flags(map_fn_t fn, MAP_T map, mach_vm_address_t * start, mach_vm_size_t size… in call_map_fn__allocate__flags() argument
1343 kern_return_t kr = fn(map, start, size, 0, flags, in call_map_fn__allocate__flags()
1345 deallocate_if_not_fixed_overwrite(kr, map, *start, size, flags); in call_map_fn__allocate__flags()
1350 …cate_copy__flags(map_fn_t fn, MAP_T map, mach_vm_address_t * start, mach_vm_size_t size, int flags) in call_map_fn__allocate_copy__flags() argument
1352 kern_return_t kr = fn(map, start, size, 0, flags, in call_map_fn__allocate_copy__flags()
1354 deallocate_if_not_fixed_overwrite(kr, map, *start, size, flags); in call_map_fn__allocate_copy__flags()
1359 …memobject__flags(map_fn_t fn, MAP_T map, mach_vm_address_t * start, mach_vm_size_t size, int flags) in call_map_fn__memobject__flags() argument
1362 kern_return_t kr = fn(map, start, size, 0, flags, in call_map_fn__memobject__flags()
1364 deallocate_if_not_fixed_overwrite(kr, map, *start, size, flags); in call_map_fn__memobject__flags()
1370 …ject_copy__flags(map_fn_t fn, MAP_T map, mach_vm_address_t * start, mach_vm_size_t size, int flags) in call_map_fn__memobject_copy__flags() argument
1373 kern_return_t kr = fn(map, start, size, 0, flags, in call_map_fn__memobject_copy__flags()
1375 deallocate_if_not_fixed_overwrite(kr, map, *start, size, flags); in call_map_fn__memobject_copy__flags()
1443 mach_vm_size_t size, in mach_vm_map_wrapped() argument
1453 if (dealloc_would_time_out(*address, size, target_task)) { in mach_vm_map_wrapped()
1458 …kern_return_t kr = mach_vm_map(target_task, address, size, mask, flags, object, offset, copy, cur_… in mach_vm_map_wrapped()
1480 mach_vm_size_t size, in mach_vm_map_external_wrapped() argument
1490 if (dealloc_would_time_out(*address, size, target_task)) { in mach_vm_map_external_wrapped()
1495 …kern_return_t kr = mach_vm_map_external(target_task, address, size, mask, flags, object, offset, c… in mach_vm_map_external_wrapped()
1503 mach_vm_size_t size, in mach_vm_map_kernel_wrapped() argument
1513 if (dealloc_would_time_out(*address, size, target_task)) { in mach_vm_map_kernel_wrapped()
1521 …kern_return_t kr = mach_vm_map_kernel(target_task, address, size, mask, vmk_flags, object, offset,… in mach_vm_map_kernel_wrapped()
1547 mach_vm_size_t size, in vm_map_enter_mem_object_control_wrapped() argument
1557 if (dealloc_would_time_out(*address, size, target_map)) { in vm_map_enter_mem_object_control_wrapped()
1566 …kern_return_t kr = vm_map_enter_mem_object_control(target_map, &vmmaddr, size, mask, vmk_flags, (m… in vm_map_enter_mem_object_control_wrapped()
1579 mach_vm_size_t size, in vm_map_wrapped() argument
1589 if (dealloc_would_time_out(*address, size, target_task)) { in vm_map_wrapped()
1594 …kern_return_t kr = vm_map(target_task, &addr, size, mask, flags, object, offset, copy, cur_protect… in vm_map_wrapped()
1604 vm_size_t size,
1616 mach_vm_size_t size, in vm_map_external_wrapped() argument
1626 if (dealloc_would_time_out(*address, size, target_task)) { in vm_map_external_wrapped()
1631 …kern_return_t kr = vm_map_external(target_task, &addr, size, mask, flags, object, offset, copy, cu… in vm_map_external_wrapped()
1641 call_ ## map_fn ## __ ## instance (MAP_T map, mach_vm_address_t start, mach_vm_size_t size) \
1643 return call_map_fn__ ## instance(map_fn, map, start, size); \
1648 … call_ ## map_fn ## __ ## instance (MAP_T map, mach_vm_address_t start_hint, mach_vm_size_t size) \
1650 return call_map_fn__ ## instance(map_fn, map, start_hint, size); \
1655 …art_size_offset_object(MAP_T map, mach_vm_address_t start, mach_vm_size_t size, vm_object_offset_t…
1657 …return call_map_fn__ ## instance ## __start_size_offset_object(map_fn, map, start, size, offset, o…
1662 … instance ## __inherit(MAP_T map, mach_vm_address_t start, mach_vm_size_t size, vm_inherit_t inher…
1664 …return call_map_fn__ ## instance ## __inherit(map_fn, map, start, size, inherit); …
1669 …# __ ## instance ## __flags(MAP_T map, mach_vm_address_t * start, mach_vm_size_t size, int flags) \
1671 …return call_map_fn__ ## instance ## __flags(map_fn, map, start, size, flags); …