Searched refs:ALLOCATION_SIZE (Results 1 – 1 of 1) sorted by relevance
| /xnu-10063.101.15/tests/vm/ |
| H A D | vm_ranges.c | 18 #define ALLOCATION_SIZE (PAGE_SIZE) macro 104 int ret = mach_vm_allocate(mach_task_self(), &dst, ALLOCATION_SIZE, vm_flags); in assert_allocate() 129 void *ret = mmap(addr, ALLOCATION_SIZE, VM_PROT_READ | VM_PROT_WRITE, in assert_mmap() 142 ALLOCATION_SIZE, vm_flags), "vm_allocate"); in assert_allocate_eq() 224 assert_allocate_in_range(HEAP, range.min_address - ALLOCATION_SIZE, RANGE_HEAP_FLAGS); 241 vm_deallocate(mach_task_self(), addr, ALLOCATION_SIZE); in ensure_fixed_mappings_succeed_cross() 245 vm_deallocate(mach_task_self(), addr, ALLOCATION_SIZE); in ensure_fixed_mappings_succeed_cross() 249 vm_deallocate(mach_task_self(), addr, ALLOCATION_SIZE); in ensure_fixed_mappings_succeed_cross() 260 if (def.max_address + 3 * ALLOCATION_SIZE <= heap.min_address) { in ensure_rogue_fixed_fails() 261 addr = heap.min_address - 2 * ALLOCATION_SIZE; in ensure_rogue_fixed_fails() [all …]
|