Home
last modified time | relevance | path

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

/xnu-8020.121.3/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-8020.121.3/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 Dvm_test_mach_map.c71 kr = mach_vm_allocate(mach_task_self(), in test_memory_entry_tagging()
84 kr = mach_vm_allocate(mach_task_self(), in test_memory_entry_tagging()
290 kr = mach_vm_allocate(mach_task_self(), in test_map_memory_entry()
435 kr = mach_vm_allocate(mach_task_self(),
739 kr = mach_vm_allocate(mach_task_self(),
751 kr = mach_vm_allocate(mach_task_self(),
800 kr = mach_vm_allocate(mach_task_self(),
873 kr = mach_vm_allocate(mach_task_self(),
H A Dvoucher_traps.c76 kr = mach_vm_allocate(mach_task_self(), &alloc_addr,
H A Dvm_phys_footprint.c196 kr = mach_vm_allocate(mach_task_self(), in pre_warm()
244 kr = mach_vm_allocate(mach_task_self(), &vm_addr, vm_size,
416 kr = mach_vm_allocate(mach_task_self(), &vm_addr, vm_size,
535 kr = mach_vm_allocate(mach_task_self(), &vm_addr, vm_size,
H A Dmemorystatus_zone_test.c143 …if ((mach_vm_allocate(mach_task_self(), &addr, (mach_vm_size_t)alloc_size, vmflags)) != KERN_SUCCE… in allocate_vm_stuff()
/xnu-8020.121.3/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-8020.121.3/tests/vm/ !
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_allocation.c428 return mach_vm_allocate(map, address, size, flags); in wrapper_mach_vm_allocate()
/xnu-8020.121.3/libsyscall/mach/ !
H A Dmach_vm.c47 mach_vm_allocate( in mach_vm_allocate() function
122 rv = mach_vm_allocate(task, &mach_addr, size, flags); in vm_allocate()
/xnu-8020.121.3/osfmk/vm/ !
H A Dvm_tests.c279 kr = mach_vm_allocate(user_map, in vm_test_wire_and_extract()
1068 kr = mach_vm_allocate(user_map, in vm_test_per_mapping_internal_accounting()
1217 kr = mach_vm_allocate(map, &addr, size, VM_FLAGS_ANYWHERE); in vm_map_non_aligned_test()
/xnu-8020.121.3/osfmk/mach/ !
H A Dmach_vm.defs107 routine PREFIX(KERNEL_SERVER_SUFFIX(mach_vm_allocate)) (
483 * created via a call to mach_vm_allocate() with VM_FLAGS_PURGABLE