Home
last modified time | relevance | path

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

12

/xnu-11215.61.5/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 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 Dvm_test_mach_map.c702 vm_deallocate(mach_task_self(), vmaddr, vmsize);
706 vm_deallocate(mach_task_self(), vmaddr2, vmsize);
758 vm_deallocate(mach_task_self(), vmaddr, vmsize);
860 vm_deallocate(mach_task_self(), vmaddr, vmsize);
1000 kr = vm_deallocate(mach_task_self(), vmaddr, 1);
H A Dimm_pinned_control_port.c302 vm_deallocate(mach_task_self(), (vm_address_t)psets, (vm_size_t)pcnt * sizeof(mach_port_t)); in test_task_thread_port_values()
H A Dperf_vmfault.c127 T_QUIET; T_ASSERT_MACH_SUCCESS(vm_deallocate(mach_task_self(), addr1, size), "vm_deallocate"); in map_mem_regions_single()
/xnu-11215.61.5/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_vm_no_pager.m128 vm_deallocate(mach_task_self(), (uintptr_t)local_start, local_len);
/xnu-11215.61.5/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()
H A Dmach_vm.c133 vm_deallocate( in vm_deallocate() function
/xnu-11215.61.5/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-11215.61.5/iokit/Kernel/
H A DIOGuardPageMemoryDescriptor.cpp88 vm_deallocate(kernel_map, _buffer, _size); in free()
H A DIOUserClient.cpp2681 vm_deallocate( kernel_map, data, matchingCnt ); in is_io_service_match_property_table_ool()
2763 vm_deallocate( kernel_map, data, matchingCnt ); in is_io_service_get_matching_services_ool()
2846 vm_deallocate( kernel_map, data, matchingCnt ); in is_io_service_get_matching_service_ool()
3066 vm_deallocate( kernel_map, data, matchingCnt ); in internal_io_service_add_notification_ool()
3443 vm_deallocate(kernel_map, map_data, path_oolCnt); in is_io_registry_entry_from_path_ool()
4086 vm_deallocate( kernel_map, data, propertiesCnt ); in is_io_registry_entry_set_properties()
4381 vm_deallocate( kernel_map, data, propertiesCnt ); in is_io_service_open_extended()
6121 vm_deallocate( kernel_map, data, inDataCount ); in is_io_catalog_send_data()
/xnu-11215.61.5/tests/ipc/
H A Dipc_thread_ports_race.c77 vm_deallocate(mach_task_self(), (vm_address_t)threadList, in test_race()
H A Dipc_read_inspect.c211 vm_deallocate(mach_task_self(), (vm_address_t)threadList, in test_task_threads()
H A Dmach_msg_transport.c96 kr = vm_deallocate(mach_task_self(), (vm_address_t)addr, size); in t_vm_deallocate()
/xnu-11215.61.5/libkern/
H A DOSKextLib.cpp365 (void)vm_deallocate(kernel_map, (vm_offset_t)request, requestLengthIn); in kext_request()
/xnu-11215.61.5/osfmk/vm/
H A Dvm_tests.c487 kr = vm_deallocate(kernel_map, anon_mapping, size); in vm_test_device_pager_transpose()
492 kr = vm_deallocate(kernel_map, device_mapping, size); in vm_test_device_pager_transpose()
559 kr = vm_deallocate(test_map, alloc1_addr, alloc1_size); in vm_test_4k()
668 kr = vm_deallocate(test_map, dealloc_addr, FOURK_PAGE_SIZE); in vm_test_4k()
1621 kr = vm_deallocate(VM_MAP_NULL, alloced_addr, size_16kb); in vm_map_null_tests()
/xnu-11215.61.5/osfmk/mach/
H A Dvm32_map.defs101 routine PREFIX(vm_deallocate)(

12