Home
last modified time | relevance | path

Searched refs:mach_vm_allocate (Results 1 – 25 of 39) sorted by relevance

12

/xnu-12377.61.12/tools/tests/superpages/
H A Dtestsp.c196 …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 Dmeasure_tlbs.c32 …kr = mach_vm_allocate(mach_task_self(), &addr, size, VM_FLAGS_ANYWHERE | (superpages? VM_FLAGS_SUP… in testt()
/xnu-12377.61.12/tests/vm/
H A Dvm_user.c51 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 Dvm_wire_copy_share.c61 kr = mach_vm_allocate(
80 kr = mach_vm_allocate(
H A Dvm_memory_entry_parent_test.c44 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 Dvm_test_shreg_ro.c165 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 Danon_max_size.c36 kr = mach_vm_allocate(mach_task_self(),
H A Dvm_test_linkedit_permanent.c169 kr = mach_vm_allocate(mach_task_self(),
205 kr = mach_vm_allocate(mach_task_self(),
H A Dvm_ranges.c132 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 Dvm_test_cow_before_zf_read.c23 kr = mach_vm_allocate(mach_task_self(), in test_cow_before_zf_read()
H A Dvm_stress.cpp564 kern_return_t kr = mach_vm_allocate(mach_task_self(), &src, num_pages * PAGE_SIZE, anywhere_flag); in create_source_anon()
753 …kern_return_t kr = mach_vm_allocate(mach_task_self(), &buff, num_pages_to_alloc * PAGE_SIZE, TRUE); in allocate_buffer()
1454 mach_vm_allocate(mach_task_self(), &addr0, PAGE_SIZE, TRUE);
1458 mach_vm_allocate(mach_task_self(), &addri, PAGE_SIZE, FALSE);
/xnu-12377.61.12/tests/
H A Dphys_footprint_interval_max.c56 …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 Dvm_set_max_addr_helper.c11 kr = mach_vm_allocate(current_task(), &addr, 4096, VM_FLAGS_FIXED); in main()
H A Dperf_exit_proc.c44 err = mach_vm_allocate(task, &addr, size, VM_FLAGS_ANYWHERE); in allocate_and_wire_memory()
H A Dvoucher_traps.c80 kr = mach_vm_allocate(mach_task_self(), &alloc_addr,
H A Dvm_test_mach_map.c88 kr = mach_vm_allocate(mach_task_self(), in test_memory_entry_tagging()
101 kr = mach_vm_allocate(mach_task_self(), in test_memory_entry_tagging()
307 kr = mach_vm_allocate(mach_task_self(), in test_map_memory_entry()
452 kr = mach_vm_allocate(mach_task_self(),
990 kr = mach_vm_allocate(mach_task_self(),
1002 kr = mach_vm_allocate(mach_task_self(),
1052 kr = mach_vm_allocate(mach_task_self(),
1126 kr = mach_vm_allocate(mach_task_self(),
2175 kr = mach_vm_allocate(mach_task_self(), &private_data, size, VM_FLAGS_ANYWHERE);
2421 kern_return_t kr = mach_vm_allocate(
[all …]
H A Darm_mte_utilities.c290 kern_return_t kr = mach_vm_allocate( in allocate_tagged_memory()
394 kern_return_t kr = mach_vm_allocate( in allocate_untagged_memory()
H A Darm_mte.c684 kern_return_t kr = mach_vm_allocate( in mte_mach_vm_read()
1210 kr = mach_vm_allocate(mach_task_self(), &new_addr, alloc_size, ALLOCATE_FLAGS[i]);
1353 kern_return_t kr = mach_vm_allocate(
1646 kr = mach_vm_allocate(mach_task_self(), &regular_addr, alloc_size,
1651 kr = mach_vm_allocate(mach_task_self(), &inherit_none_addr, alloc_size,
1660 kr = mach_vm_allocate(mach_task_self(), &owned_addr, alloc_size,
1970 kern_return_t kr = mach_vm_allocate(
H A Dtask_vm_info_decompressions.c45 kr = mach_vm_allocate(mach_task_self(), &addr, VM_SIZE_PER_THREAD, in worker_thread_function()
H A Dexc_guard_helper_test.c187 kr = mach_vm_allocate(mach_task_self(), &allocated, PAGE_SIZE * 3,
H A Dtry_read_write_test.c151 kr = mach_vm_allocate(mach_task_self(), &addr, PAGE_SIZE, VM_FLAGS_ANYWHERE); in allocate_page_with_prot()
/xnu-12377.61.12/tests/vm_memory_tests_src/
H A Dcommon.c57 …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 Dvm_tests.c60 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-12377.61.12/libsyscall/mach/
H A Dmach_vm.c48 mach_vm_allocate( in mach_vm_allocate() function
123 rv = mach_vm_allocate(task, &mach_addr, size, flags); in vm_allocate()
/xnu-12377.61.12/osfmk/vm/
H A Dvm_tests.c303 kr = mach_vm_allocate(user_map, in vm_test_wire_and_extract()
1030 kr = mach_vm_allocate(user_map, in vm_test_per_mapping_internal_accounting()
1379 kr = mach_vm_allocate(kernel_map, &kernel_addr, PAGE_SIZE, VM_FLAGS_ANYWHERE); in vm_test_address_canonicalization()
1389 kr = mach_vm_allocate(user_map, &user_addr, PAGE_SIZE, VM_FLAGS_ANYWHERE); in vm_test_address_canonicalization()
1616 kr = mach_vm_allocate(map64, &alloced_addr, size_16kb, VM_FLAGS_ANYWHERE); in vm_map_null_tests()
1647 kr = mach_vm_allocate(VM_MAP_NULL, &throwaway_addr, size_16kb, VM_FLAGS_ANYWHERE); in vm_map_null_tests()
2068 kr = mach_vm_allocate(map_4k, &alloced_addr, size_16kb, VM_FLAGS_ANYWHERE); in vm_map_copy_entry_subrange_test()
2170 kr = mach_vm_allocate(map, &alloced_addr, 2 * size_16kb, VM_FLAGS_ANYWHERE); in vm_memory_entry_map_size_overflow_tests()
2220 kr = mach_vm_allocate(map_4k, &alloced_addr_4k, size_16kb, VM_FLAGS_ANYWHERE); in vm_memory_entry_map_size_copy_tests()
2234 kr = mach_vm_allocate(map_16k, &alloced_addr_16k, size_16kb, VM_FLAGS_ANYWHERE); in vm_memory_entry_map_size_copy_tests()
[all …]

12