| /xnu-11215.61.5/tools/tests/superpages/ |
| H A D | testsp.c | 196 …kr = mach_vm_allocate(mach_task_self(), &global_addr, global_size, VM_FLAGS_ANYWHERE | VM_FLAGS_SU… in test_allocate() 255 …kr = mach_vm_allocate(mach_task_self(), &addr, size, VM_FLAGS_ANYWHERE | VM_FLAGS_SUPERPAGE_SIZE_A… in test_allocate_size_any() 292 kr = mach_vm_allocate(mach_task_self(), &addr, size, VM_FLAGS_SUPERPAGE_SIZE_2MB); in test_allocatefixed() 324 kr = mach_vm_allocate(mach_task_self(), &addr, size, VM_FLAGS_SUPERPAGE_SIZE_2MB); in test_allocateunalignedfixed() 345 kr = mach_vm_allocate(mach_task_self(), &addr, size, VM_FLAGS_SUPERPAGE_SIZE_2MB); in test_allocateoddsize() 367 …kr = mach_vm_allocate(mach_task_self(), &addr, size, VM_FLAGS_ANYWHERE | VM_FLAGS_SUPERPAGE_SIZE_2… in test_deallocatesubpage() 393 …kr = mach_vm_allocate(mach_task_self(), &addr, size, VM_FLAGS_ANYWHERE | VM_FLAGS_SUPERPAGE_SIZE_2… in test_reallocate() 402 kr = mach_vm_allocate(mach_task_self(), &addr2, size, 0); in test_reallocate() 429 …kr = mach_vm_allocate(mach_task_self(), &addr, size, VM_FLAGS_ANYWHERE | VM_FLAGS_SUPERPAGE_SIZE_2… in test_wire() 468 …kr = mach_vm_allocate(mach_task_self(), &addr, size, VM_FLAGS_ANYWHERE | VM_FLAGS_SUPERPAGE_SIZE_2… in test_unwire() [all …]
|
| H A D | measure_tlbs.c | 32 …kr = mach_vm_allocate(mach_task_self(), &addr, size, VM_FLAGS_ANYWHERE | (superpages? VM_FLAGS_SUP… in testt()
|
| /xnu-11215.61.5/tests/vm/ |
| H A D | vm_user.c | 50 kr = mach_vm_allocate(mach_task_self(), &addr, size, in get_permanent_mapping() 83 kr2 = mach_vm_allocate(mach_task_self(), &addr2, size, 139 kr2 = mach_vm_allocate(mach_task_self(), &addr2, size,
|
| H A D | vm_wire_copy_share.c | 61 kr = mach_vm_allocate( 80 kr = mach_vm_allocate(
|
| H A D | vm_memory_entry_parent_test.c | 44 kr = mach_vm_allocate(mach_task_self(), &src_addr, size, VM_FLAGS_ANYWHERE); 155 kern_return_t kr = mach_vm_allocate(mach_task_self(), &alloced_addr, KB16, VM_FLAGS_ANYWHERE);
|
| H A D | vm_test_shreg_ro.c | 165 kr = mach_vm_allocate(mach_task_self(), 285 kr = mach_vm_allocate(mach_task_self(), 336 kr = mach_vm_allocate(mach_task_self(),
|
| H A D | anon_max_size.c | 36 kr = mach_vm_allocate(mach_task_self(),
|
| H A D | vm_test_linkedit_permanent.c | 169 kr = mach_vm_allocate(mach_task_self(), 205 kr = mach_vm_allocate(mach_task_self(),
|
| H A D | vm_ranges.c | 132 int ret = mach_vm_allocate(mach_task_self(), &dst, ALLOCATION_SIZE, vm_flags); in assert_allocate() 169 T_ASSERT_MACH_SUCCESS(mach_vm_allocate(mach_task_self(), &target, in assert_allocate_eq() 307 kr = mach_vm_allocate(mach_task_self(), &addr, in ensure_rogue_fixed_fails() 627 kr = mach_vm_allocate(mach_task_self(), &addr, ALLOCATION_SIZE,
|
| H A D | vm_test_cow_before_zf_read.c | 23 kr = mach_vm_allocate(mach_task_self(), in test_cow_before_zf_read()
|
| H A D | mmap.c | 113 kr = mach_vm_allocate(mach_task_self(), &f_addr, f_size,
|
| H A D | mach_vm_map.c | 274 kr = mach_vm_allocate(mach_task_self(), &alloced_addr, 2 * size_16kb, VM_FLAGS_ANYWHERE);
|
| /xnu-11215.61.5/tests/ |
| H A D | phys_footprint_interval_max.c | 56 …ret = mach_vm_allocate(mach_task_self(), &addr, (mach_vm_size_t)ALLOC_SIZE_LARGE, VM_FLAGS_ANYWHER… 85 …ret = mach_vm_allocate(mach_task_self(), &addr, (mach_vm_size_t)ALLOC_SIZE_SMALL, VM_FLAGS_ANYWHER…
|
| H A D | vm_set_max_addr_helper.c | 11 kr = mach_vm_allocate(current_task(), &addr, 4096, VM_FLAGS_FIXED); in main()
|
| H A D | perf_exit_proc.c | 44 err = mach_vm_allocate(task, &addr, size, VM_FLAGS_ANYWHERE); in allocate_and_wire_memory()
|
| H A D | voucher_traps.c | 80 kr = mach_vm_allocate(mach_task_self(), &alloc_addr,
|
| H A D | vm_test_mach_map.c | 74 kr = mach_vm_allocate(mach_task_self(), in test_memory_entry_tagging() 87 kr = mach_vm_allocate(mach_task_self(), in test_memory_entry_tagging() 293 kr = mach_vm_allocate(mach_task_self(), in test_map_memory_entry() 438 kr = mach_vm_allocate(mach_task_self(), 880 kr = mach_vm_allocate(mach_task_self(), 892 kr = mach_vm_allocate(mach_task_self(), 942 kr = mach_vm_allocate(mach_task_self(), 1016 kr = mach_vm_allocate(mach_task_self(), 2065 kr = mach_vm_allocate(mach_task_self(), &private_data, size, VM_FLAGS_ANYWHERE);
|
| H A D | vm_phys_footprint.c | 201 kr = mach_vm_allocate(mach_task_self(), in pre_warm_with_tag() 259 kr = mach_vm_allocate(mach_task_self(), &vm_addr, vm_size, 435 kr = mach_vm_allocate(mach_task_self(), &vm_addr, vm_size, 554 kr = mach_vm_allocate(mach_task_self(), &vm_addr, vm_size, 756 kr = mach_vm_allocate(mach_task_self(), &vm_addr, vm_size,
|
| H A D | os_thread_self_restrict_pagers.c | 553 kr = mach_vm_allocate(mach_task_self(), (mach_vm_address_t *)&addr, PAGE_SIZE, VM_FLAGS_FIXED); in vm_allocate_test()
|
| /xnu-11215.61.5/tests/vm_memory_tests_src/ |
| H A D | common.c | 57 …kr = mach_vm_allocate(mach_task_self(), (mach_vm_address_t *)buffer, (mach_vm_size_t)sb.st_size, V… in mach_server_data_setup() 127 kr = mach_vm_allocate(mach_task_self(), &localsrc, size, VM_FLAGS_ANYWHERE); in mach_server_create_allocation()
|
| H A D | vm_tests.c | 60 ret = mach_vm_allocate(mach_task_self(), &tmp, size + 16384, VM_FLAGS_ANYWHERE); in mach_vm_client() 91 ret = mach_vm_allocate(mach_task_self(), &tmp, size + 16384, VM_FLAGS_ANYWHERE); in mach_vm_client() 163 ret = mach_vm_allocate(mach_task_self(), &tmp, size + 16384, VM_FLAGS_ANYWHERE); in mach_vm_client()
|
| /xnu-11215.61.5/libsyscall/mach/ |
| H A D | mach_vm.c | 47 mach_vm_allocate( in mach_vm_allocate() function 122 rv = mach_vm_allocate(task, &mach_addr, size, flags); in vm_allocate()
|
| /xnu-11215.61.5/osfmk/vm/ |
| H A D | vm_tests.c | 294 kr = mach_vm_allocate(user_map, in vm_test_wire_and_extract() 1017 kr = mach_vm_allocate(user_map, in vm_test_per_mapping_internal_accounting() 1405 kr = mach_vm_allocate(map, &addr, size, VM_FLAGS_ANYWHERE); in vm_map_non_aligned_test() 1580 kr = mach_vm_allocate(map64, &alloced_addr, size_16kb, VM_FLAGS_ANYWHERE); in vm_map_null_tests() 1611 kr = mach_vm_allocate(VM_MAP_NULL, &throwaway_addr, size_16kb, VM_FLAGS_ANYWHERE); in vm_map_null_tests() 1912 kr = mach_vm_allocate(map_4k, &alloced_addr, size_16kb, VM_FLAGS_ANYWHERE); in vm_map_copy_entry_subrange_test() 2014 kr = mach_vm_allocate(map, &alloced_addr, 2 * size_16kb, VM_FLAGS_ANYWHERE); in vm_memory_entry_map_size_overflow_tests() 2064 kr = mach_vm_allocate(map_4k, &alloced_addr_4k, size_16kb, VM_FLAGS_ANYWHERE); in vm_memory_entry_map_size_copy_tests() 2078 kr = mach_vm_allocate(map_16k, &alloced_addr_16k, size_16kb, VM_FLAGS_ANYWHERE); in vm_memory_entry_map_size_copy_tests()
|
| /xnu-11215.61.5/tests/ipc/ |
| H A D | mach_msg2.c | 168 …kr = mach_vm_allocate(mach_task_self(), &data_vec[0].msgv_data, MAX_MESSAGE_SIZE, VM_FLAGS_ANYWHER… in do_msg_rcv() 172 …kr = mach_vm_allocate(mach_task_self(), &data_vec[1].msgv_data, MAX_BUFFER_SIZE, VM_FLAGS_ANYWHERE… in do_msg_rcv()
|
| /xnu-11215.61.5/osfmk/mach/ |
| H A D | mach_vm.defs | 111 routine PREFIX(KERNEL_SERVER_SUFFIX(mach_vm_allocate)) ( 483 * created via a call to mach_vm_allocate() with VM_FLAGS_PURGABLE
|