Home
last modified time | relevance | path

Searched refs:mach_vm_deallocate (Results 1 – 25 of 62) sorted by relevance

123

/xnu-12377.41.6/tools/tests/superpages/
H A Dtestsp.c228 kr = mach_vm_deallocate(mach_task_self(), global_addr, global_size); in test_deallocate()
265 kr = mach_vm_deallocate(mach_task_self(), addr, size); in test_allocate_size_any()
302 kr = mach_vm_deallocate(mach_task_self(), addr, size); in test_allocatefixed()
371 kr = mach_vm_deallocate(mach_task_self(), addr + PAGE_SIZE, size); in test_deallocatesubpage()
405 mach_vm_deallocate(mach_task_self(), addr, size); in test_reallocate()
409 kr = mach_vm_deallocate(mach_task_self(), addr, size); in test_reallocate()
446 kr = mach_vm_deallocate(mach_task_self(), addr, size); in test_wire()
483 kr = mach_vm_deallocate(mach_task_self(), addr, size); in test_unwire()
522 kr = mach_vm_deallocate(mach_task_self(), addr, size); in test_readonly()
561 kr = mach_vm_deallocate(mach_task_self(), addr, size); in test_readonlysubpage()
[all …]
H A Dmeasure_tlbs.c103 mach_vm_deallocate(mach_task_self(), addr, size); in testt()
/xnu-12377.41.6/tests/
H A Dkernel_inspection.c103 mach_vm_deallocate(mach_task_self(), in attempt_kernel_inspection()
117 mach_vm_deallocate(mach_task_self(), in attempt_kernel_inspection()
122 mach_vm_deallocate(mach_task_self(), in attempt_kernel_inspection()
183 mach_vm_deallocate(mach_task_self(),
195 mach_vm_deallocate(mach_task_self(),
202 mach_vm_deallocate(mach_task_self(),
H A Dexc_guard_helper_test.c194 kr = mach_vm_deallocate(mach_task_self(), allocated + PAGE_SIZE, PAGE_SIZE);
212 kr = mach_vm_deallocate(mach_task_self(), allocated, PAGE_SIZE * 3);
220 kr = mach_vm_deallocate(mach_task_self(), allocated, PAGE_SIZE * 3);
H A Darm_mte_unentitled.c142 kr = mach_vm_deallocate(mach_task_self(), dest_addr, ALLOC_SIZE);
144 kr = mach_vm_deallocate(mach_task_self(), src_addr, ALLOC_SIZE);
H A Dvm_test_mach_map.c258 mach_vm_deallocate(mach_task_self(), in test_memory_entry_tagging()
265 mach_vm_deallocate(mach_task_self(), in test_memory_entry_tagging()
272 mach_vm_deallocate(mach_task_self(), in test_memory_entry_tagging()
382 mach_vm_deallocate(mach_task_self(), vmaddr1, vmsize1); in test_map_memory_entry()
387 mach_vm_deallocate(mach_task_self(), vmaddr2, vmsize2); in test_map_memory_entry()
1365 kr = mach_vm_deallocate(mach_task_self(), remap_address, remap_size);
1525 kr = mach_vm_deallocate(mach_task_self(), remap_address, remap_size);
1656 kr = mach_vm_deallocate(mach_task_self(), remap_address, remap_size);
1756 kr = mach_vm_deallocate(mach_task_self(), remap_address, remap_size);
1827 kr = mach_vm_deallocate(mach_task_self(), remap_address, remap_size);
[all …]
H A Dphys_footprint_interval_max.c68 mach_vm_deallocate(mach_task_self(), addr, (mach_vm_size_t)ALLOC_SIZE_LARGE);
H A Dvm_phys_footprint.c209 kr = mach_vm_deallocate(mach_task_self(), in pre_warm_with_tag()
294 kr = mach_vm_deallocate(mach_task_self(), vm_addr, vm_size);
518 kr = mach_vm_deallocate(mach_task_self(), vm_addr, vm_size);
663 kr = mach_vm_deallocate(mach_task_self(), vm_addr, vm_size);
865 kr = mach_vm_deallocate(mach_task_self(), vm_addr, vm_size);
1061 kr = mach_vm_deallocate(mach_task_self(), vm_addr, vm_size);
1183 kr = mach_vm_deallocate(mach_task_self(), vm_addr, vm_size);
1349 kr = mach_vm_deallocate(mach_task_self(), vm_addr, vm_size);
1786 kr = mach_vm_deallocate(mach_task_self(),
H A Darm_mte.c883 kr = mach_vm_deallocate(mach_task_self(), remap_addr, size); in do_remap_test()
885 kr = mach_vm_deallocate(mach_task_self(), untagged_addr, size); in do_remap_test()
888 kern_return_t kr = mach_vm_deallocate(mach_task_self(), untagged_addr, size); in do_remap_test()
1218 kr = mach_vm_deallocate(mach_task_self(), new_addr, alloc_size);
1318 kr = mach_vm_deallocate(mach_task_self(), dest_addr, alloc_size);
1728 kr = mach_vm_deallocate(mach_task_self(), regular_addr, alloc_size);
1730 kr = mach_vm_deallocate(mach_task_self(), inherit_none_addr, alloc_size);
1732 kr = mach_vm_deallocate(mach_task_self(), owned_addr, alloc_size);
2030 kr = mach_vm_deallocate(mach_task_self(), untagged_handle_to_tagged_address, alloc_size);
2032 kr = mach_vm_deallocate(mach_task_self(), untagged_buffer_addr, alloc_size);
H A Dvoucher_traps.c137 kr = mach_vm_deallocate(mach_task_self(), alloc_addr, alloc_sz);
/xnu-12377.41.6/tests/vm/
H A Dconfigurator_vm_deallocate.c57 kr = mach_vm_deallocate(mach_task_self(), start, size); in do_successful_vm_deallocate_guarded()
81 kr = mach_vm_deallocate(mach_task_self(), start, size); in do_vm_deallocate_holes_guarded()
114 kr = mach_vm_deallocate(mach_task_self(), start, size); in successful_vm_deallocate()
160 kr = mach_vm_deallocate(mach_task_self(), start, size); in vm_deallocate_permanent_entry()
179 kr = mach_vm_deallocate(mach_task_self(), start, size); in vm_deallocate_permanent_before_permanent()
198 kr = mach_vm_deallocate(mach_task_self(), start, size); in vm_deallocate_permanent_before_allocation()
217 kr = mach_vm_deallocate(mach_task_self(), start, size); in vm_deallocate_permanent_before_hole()
236 kr = mach_vm_deallocate(mach_task_self(), start, size); in vm_deallocate_permanent_after_allocation()
255 kr = mach_vm_deallocate(mach_task_self(), start, size); in vm_deallocate_permanent_after_hole()
H A Dvm_test_102067976.c74 kr = mach_vm_deallocate(mach_task_self(), address, vm_map_entry_size);
H A Dvm_memory_entry.c114 err = mach_vm_deallocate(mach_task_self(), addr, size);
H A Dneural_footprint.c979 kr = mach_vm_deallocate(mach_task_self(), footprint_vm_addr, vm_size);
981 kr = mach_vm_deallocate(mach_task_self(), nofootprint_vm_addr, vm_size);
983 kr = mach_vm_deallocate(mach_task_self(), footprint_vm_addr2, vm_size);
985 kr = mach_vm_deallocate(mach_task_self(), nofootprint_vm_addr2, vm_size);
H A Dvm_user.c173 kr2 = mach_vm_deallocate(mach_task_self(), addr, size);
/xnu-12377.41.6/libsyscall/wrappers/
H A Dstackshot.c290mach_vm_deallocate(mach_task_self(), (mach_vm_offset_t)s_config->sc_buffer, (mach_vm_size_t)s_conf… in stackshot_config_dealloc_buffer()
318mach_vm_deallocate(mach_task_self(), (mach_vm_offset_t)s_config->sc_buffer, (mach_vm_size_t)s_conf… in stackshot_config_dealloc()
H A Dkdebug_trace.c78 mach_vm_deallocate(mach_task_self(), (mach_vm_offset_t)ptr, KDBG_TYPEFILTER_BITMAP_SIZE); in kdebug_typefilter()
/xnu-12377.41.6/tests/ipc/
H A Dimm_pinned_control_port_entitled.c99 mach_vm_deallocate(mach_task_self(), in test_task_thread_port_values()
145 kr = mach_vm_deallocate(mach_task_self(), in test_task_thread_port_values()
/xnu-12377.41.6/tests/vm_memory_tests_src/
H A Dcommon.c71 mach_vm_deallocate(mach_task_self(), (mach_vm_address_t)buffer, (mach_vm_size_t)sb.st_size); in mach_server_data_cleanup()
75 mach_vm_deallocate(mach_task_self(), src, size); in mach_server_data_cleanup()
H A Dvm_tests.c62 mach_vm_deallocate(mach_task_self(), tmp, size + 16384); in mach_vm_client()
165 mach_vm_deallocate(mach_task_self(), tmp, size + 16384); in mach_vm_client()
181 ret = mach_vm_deallocate(mach_task_self(), dest, size); in mach_vm_client()
385 mach_vm_deallocate(mach_task_self(), src, size); in mach_server_make_memory_entry()
655 mach_vm_deallocate(mach_task_self(), src, size); in mach_server_remap()
/xnu-12377.41.6/bsd/dev/dtrace/
H A Ddtrace_ptss.c272 mach_vm_deallocate(map, addr, size); in dtrace_ptss_free_page()
275 mach_vm_deallocate(map, write_addr, size); in dtrace_ptss_free_page()
/xnu-12377.41.6/bsd/tests/
H A Dcopyio_tests.c540 mach_vm_deallocate(data.user_map, data.unmapped_addr, PAGE_SIZE); in copyio_test()
562 mach_vm_deallocate(kernel_map, kern_addr, copyio_test_buf_size); in copyio_test()
564 mach_vm_deallocate(data.user_map, data.user_lastpage_addr, PAGE_SIZE); in copyio_test()
566 mach_vm_deallocate(data.user_map, data.user_addr, copyio_test_buf_size); in copyio_test()
/xnu-12377.41.6/iokit/Tests/
H A DTestIOMemoryDescriptor.cpp327 kr = mach_vm_deallocate(kernel_map, buffer, bufSize); in IODMACommandLocalMappedNonContig()
1220 mach_vm_deallocate(kernel_map, data[0], bsize); in IOMemoryDescriptorTest()
1302 kern_return_t kr = mach_vm_deallocate(current_map(), vm_memtag_canonicalize_user(buffer), bufSize); in IOMDCPUMapMTETest()
1411 …kern_return_t kr = mach_vm_deallocate(current_map(), vm_memtag_canonicalize_user(buffer), bufSize); in do_iomd_read_write_bytes_test()
1504 kern_return_t kr = mach_vm_deallocate(current_map(), vm_memtag_canonicalize_user(buffer), bufSize); in IOMemoryDescriptorCreateMTEMappingInOtherMapTest()
1542 kern_return_t kr = mach_vm_deallocate(current_map(), vm_memtag_canonicalize_user(buffer), bufSize); in IOMemoryDescriptorCreateMTEMappingInThisMapTest()
1579 kern_return_t kr = mach_vm_deallocate(current_map(), vm_memtag_canonicalize_user(buffer), bufSize); in IOMemoryDescriptorCreateMTEMappingInKernelMapTest()
/xnu-12377.41.6/osfmk/vm/
H A Dvm_mte_tests.c195 mach_vm_deallocate(current_map(), addr, PAGE_SIZE); in vm_mte_test_tag_storage_for_vm_tag()
/xnu-12377.41.6/libsyscall/mach/
H A Dmach_vm.c71 mach_vm_deallocate( in mach_vm_deallocate() function
141 rv = mach_vm_deallocate(task, address, size); in vm_deallocate()

123