Searched refs:_allocation_size (Results 1 – 1 of 1) sorted by relevance
| /xnu-8796.121.2/tests/vm/ |
| H A D | vm_ranges.c | 20 static vm_size_t _allocation_size = 0; variable 51 _allocation_size = sz; in set_allocation_size() 113 int ret = mach_vm_allocate(mach_task_self(), &dst, _allocation_size, vm_flags); in assert_allocate() 138 void *ret = mmap(addr, _allocation_size, VM_PROT_READ | VM_PROT_WRITE, in assert_mmap() 151 _allocation_size, vm_flags), "vm_allocate"); in assert_allocate_eq() 223 assert_allocate_in_range(HEAP, range.min_address - _allocation_size, RANGE_HEAP_FLAGS); 242 vm_deallocate(mach_task_self(), addr, _allocation_size); in ensure_fixed_mappings_succeed_cross() 246 vm_deallocate(mach_task_self(), addr, _allocation_size); in ensure_fixed_mappings_succeed_cross() 250 vm_deallocate(mach_task_self(), addr, _allocation_size); in ensure_fixed_mappings_succeed_cross() 261 if (def.max_address + 3 * _allocation_size <= heap.min_address) { in ensure_rogue_fixed_fails() [all …]
|