Home
last modified time | relevance | path

Searched refs:TEST_ALLOC_SIZE (Results 1 – 3 of 3) sorted by relevance

/xnu-11215/osfmk/tests/
H A Dvm_parameter_validation_kern.c121 allocation_t src_base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_READ); in test_src_kerneldst_size()
858 mach_port_t mementry = make_a_mem_entry(map, TEST_ALLOC_SIZE + 1); in call_mach_memory_entry_ownership__ledger_tag()
867 mach_port_t mementry = make_a_mem_entry(map, TEST_ALLOC_SIZE + 1); in call_mach_memory_entry_ownership__ledger_flag()
893 memory_object_size_t s = (memory_object_size_t)TEST_ALLOC_SIZE + 1; in call_mach_memory_entry_map_size__start_size()
1217 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in call_map_fn__memobject_fixed()
1229 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in call_map_fn__memobject_fixed_copy()
1241 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in call_map_fn__memobject_anywhere()
1313 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in help_call_map_fn__memobject__inherit()
1361 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in call_map_fn__memobject__flags()
1372 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in call_map_fn__memobject_copy__flags()
[all …]
H A Dvm_parameter_validation.h214 #define TEST_ALLOC_SIZE (4 * KB16) macro
3615 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT);
3792 allocation_t src SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); in help_call_remap_fn__dst_size()
4643 unallocation_t dst SMART_UNALLOCATE_VM(map, TEST_ALLOC_SIZE); in test_mach_allocation_func_with_start_size()
4678 kern_return_t ret = func(map, &addr, TEST_ALLOC_SIZE, trial.flags); in test_mach_allocation_func_with_vm_map_kernel_flags_t()
4690 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); in test_mach_with_allocated_vm_map_kernel_flags_t()
4705 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); in test_unix_with_allocated_vm_prot_t()
4748 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); in test_kext_unix_with_allocated_start_size()
4768 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); in test_kext_tagged_with_allocated_addr()
4836 allocation_t base SMART_ALLOCATE_VM(map, TEST_ALLOC_SIZE, VM_PROT_DEFAULT); in test_deallocator()
[all …]
/xnu-11215/tests/vm/
H A Dvm_parameter_validation.c732 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in call_map_fn__memobject_fixed()
744 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in call_map_fn__memobject_fixed_copy()
756 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in call_map_fn__memobject_anywhere()
828 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in help_call_map_fn__memobject__inherit()
876 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in call_map_fn__memobject__flags()
887 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in call_map_fn__memobject_copy__flags()
926 mach_port_t memobject = make_a_mem_object(TEST_ALLOC_SIZE + 1); in help_call_map_fn__memobject__prot_pairs()
1278 mach_port_t mementry = make_a_mem_entry(TEST_ALLOC_SIZE + 1); in call_mach_memory_entry_ownership__ledger_tag()
1287 mach_port_t mementry = make_a_mem_entry(TEST_ALLOC_SIZE + 1); in call_mach_memory_entry_ownership__ledger_flag()
2228 unallocation_t dst_base SMART_UNALLOCATE_VM(map, TEST_ALLOC_SIZE); in test_dst_size_fileoff()
[all …]