Home
last modified time | relevance | path

Searched refs:vm_deallocate (Results 1 – 25 of 44) sorted by relevance

12

/xnu-12377.41.6/tests/
H A Dvm_kern_count_wired_kernelcache.c60 kr = vm_deallocate(mach_task_self(), (vm_address_t) name,
66 kr = vm_deallocate(mach_task_self(), (vm_address_t) info,
72 kr = vm_deallocate(mach_task_self(), (vm_address_t) wiredInfo,
H A Dverify_kalloc_config.c51 kr = vm_deallocate(mach_task_self(), (vm_address_t) name, in run_test()
57 kr = vm_deallocate(mach_task_self(), (vm_address_t) info, in run_test()
63 kr = vm_deallocate(mach_task_self(), (vm_address_t) wiredInfo, in run_test()
H A Darm_mte.c160 vm_deallocate(mach_task_self(), address, ALLOC_SIZE); in do_mte_tag_check()
222 vm_deallocate(mach_task_self(), address, MTE_GRANULE_SIZE);
313 vm_deallocate(mach_task_self(), address, buf_size); in run_mte_copyio_tests()
516 kr = vm_deallocate(mach_task_self(), address, vm_alloc_sz); in do_fork_test()
527 kr = vm_deallocate(mach_task_self(), address, vm_alloc_sz); in do_fork_test()
538 kr = vm_deallocate(mach_task_self(), address, vm_alloc_sz); in do_fork_test()
561 kr = vm_deallocate(mach_task_self(), address, vm_alloc_sz); in do_fork_test()
661 vm_deallocate(mach_task_self(), addr, MTE_GRANULE_SIZE);
768 vm_deallocate(mach_task_self(), addr, sz_rounded); in mte_mach_vm_read()
957 kr = vm_deallocate(mach_task_self(), addresses[j], MTE_GRANULE_SIZE);
[all …]
H A Dsysctl_get_owned_vmobjects.c221 kr = vm_deallocate(__self, tmp_buf, tmp_size); in main_test()
226 kr = vm_deallocate(__self, tmp_buf2, tmp_size); in main_test()
H A Dxnu_quick_test.c56 vm_deallocate(mach_task_self(), (vm_address_t)my_pathp, PATH_MAX);
H A Darm_mte_knobs_policies.c100 vm_deallocate(mach_task_self(), address, ALLOC_SIZE); in tag_violate_template()
H A Darm_mte_unentitled.c58 kr = vm_deallocate(mach_task_self(), address, alloc_size);
H A Darm_mte_stress.c129 …T_QUIET; T_ASSERT_MACH_SUCCESS(vm_deallocate(mach_task_self(), address, ALLOC_SIZE), "Deallocated … in allocate_memory_and_wait()
H A Darm_mte_mach_msg.c320 …T_EXPECT_MACH_SUCCESS(vm_deallocate(mach_task_self(), (vm_address_t)untagged_ptr, sz_rounded), "vm… in ool_memory_client_template()
562 …T_EXPECT_MACH_SUCCESS(vm_deallocate(mach_task_self(), (vm_address_t) untagged_ptr, sz_rounded), "v… in memory_entry_client_template()
H A Dproc_core_name_mte.c324 vm_deallocate(mach_task_self(), vm_addr, BUFFER_SZ_4MB);
H A Dvm_test_mach_map.c716 vm_deallocate(mach_task_self(), vmaddr, vmsize);
720 vm_deallocate(mach_task_self(), vmaddr2, vmsize);
772 vm_deallocate(mach_task_self(), vmaddr, vmsize);
874 vm_deallocate(mach_task_self(), vmaddr, vmsize);
1110 kr = vm_deallocate(mach_task_self(), vmaddr, 1);
H A Darm_mte_compress.c967 kr = vm_deallocate(mach_task_self(), address, bufsize); in test_pattern()
1017 kern_return_t kr = vm_deallocate(mach_task_self(), b->address, b->bufsize); in un_preload_compressed_bytes()
1211 kern_return_t kr = vm_deallocate(mach_task_self(), address, bufsize); in dealloc()
/xnu-12377.41.6/tests/vm/
H A Dvm_unaligned_copy_protection_race.c173 vm_deallocate(mach_task_self(), ctx->e0, ctx->obj_size);
175 vm_deallocate(mach_task_self(), e1, ctx->obj_size);
177 vm_deallocate(mach_task_self(), e2, ctx->obj_size);
179 vm_deallocate(mach_task_self(), e5, ctx->obj_size);
H A Dvm_unaligned_copy_switch_race.c194 kr = vm_deallocate(mach_task_self(), tmp_addr, ctx->obj_size);
279 vm_deallocate(mach_task_self(), ctx->e0, ctx->obj_size);
281 vm_deallocate(mach_task_self(), e2, ctx->obj_size);
293 kr = vm_deallocate(mach_task_self(), ro_addr, ctx->obj_size);
295 kr = vm_deallocate(mach_task_self(), e5, ctx->obj_size);
H A Dvm_ranges.c277 vm_deallocate(mach_task_self(), addr, ALLOCATION_SIZE); in ensure_fixed_mappings_succeed_cross()
281 vm_deallocate(mach_task_self(), addr, ALLOCATION_SIZE); in ensure_fixed_mappings_succeed_cross()
285 vm_deallocate(mach_task_self(), addr, ALLOCATION_SIZE); in ensure_fixed_mappings_succeed_cross()
H A Dtest_madvise.c63 kr = vm_deallocate(mach_task_self(), vmaddr_4willneed, vmsize_4willneed); in willneed_tear_down()
/xnu-12377.41.6/libsyscall/mach/
H A Dmach_msg.c370 (void) vm_deallocate(mach_task_self_, addr, size); in mach_msg_destroy_memory()
605 vm_deallocate(self, in mach_msg_server_once()
621 vm_deallocate(self, in mach_msg_server_once()
676 (void)vm_deallocate(self, in mach_msg_server_once()
679 (void)vm_deallocate(self, in mach_msg_server_once()
738 vm_deallocate(self, in mach_msg_server()
843 vm_deallocate(self, in mach_msg_server()
852 (void)vm_deallocate(self, in mach_msg_server()
855 (void)vm_deallocate(self, in mach_msg_server()
H A Dmig_deallocate.c62 (void)vm_deallocate(mach_task_self_, in mig_deallocate()
H A Dtask.c101 vm_deallocate(target_task, addr, size); in mach_ports_lookup()
/xnu-12377.41.6/tests/iokit/
H A Dmap_memory_port_leak_45265408.c29vm_deallocate(mach_task_self(), (vm_address_t) portNameArray, portNameCount * sizeof(*portNameArra… in getPortNameCount()
30vm_deallocate(mach_task_self(), (vm_address_t) portTypeArray, portTypeCount * sizeof(*portTypeArra… in getPortNameCount()
H A Dport_object_description_race_77259918.c65 …T_QUIET; T_ASSERT_MACH_SUCCESS(vm_deallocate(mach_task_self(), (vm_address_t) portNameArray, portN… in iokit_port_object_description_thread()
66 …T_QUIET; T_ASSERT_MACH_SUCCESS(vm_deallocate(mach_task_self(), (vm_address_t) portTypeArray, portT… in iokit_port_object_description_thread()
/xnu-12377.41.6/iokit/Kernel/
H A DIOGuardPageMemoryDescriptor.cpp88 vm_deallocate(kernel_map, _buffer, _size); in free()
/xnu-12377.41.6/tests/ipc/
H A Dipc_thread_ports_race.c81 vm_deallocate(mach_task_self(), (vm_address_t)threadList, in test_race()
H A Dimm_pinned_control_port_entitled.c120 kr = vm_deallocate(mach_task_self(), (vm_address_t)psets, (vm_size_t)pcnt * sizeof(mach_port_t)); in test_task_thread_port_values()
/xnu-12377.41.6/libkern/
H A DOSKextLib.cpp365 (void)vm_deallocate(kernel_map, (vm_offset_t)request, requestLengthIn); in kext_request()

12