Searched refs:ALLOCATION_SIZE (Results 1 – 2 of 2) sorted by relevance
| /xnu-12377.81.4/tests/vm/ |
| H A D | vm_ranges.c | 33 #define ALLOCATION_SIZE (PAGE_SIZE) macro 132 int ret = mach_vm_allocate(mach_task_self(), &dst, ALLOCATION_SIZE, vm_flags); in assert_allocate() 170 ALLOCATION_SIZE, vm_flags), "vm_allocate"); in assert_allocate_eq() 260 assert_allocate_in_range(HEAP, range.min_address - ALLOCATION_SIZE, RANGE_HEAP_FLAGS); 277 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() 296 if (def.max_address + 3 * ALLOCATION_SIZE <= heap.min_address) { in ensure_rogue_fixed_fails() 297 addr = heap.min_address - 2 * ALLOCATION_SIZE; in ensure_rogue_fixed_fails() 304 addr = heap.max_address + ALLOCATION_SIZE; in ensure_rogue_fixed_fails() [all …]
|
| H A D | neural_footprint.c | 23 #define ALLOCATION_SIZE (10 * vm_kernel_page_size) /* 10 pages */ macro 383 mach_vm_size_t dirty_size = ALLOCATION_SIZE; 389 vm_size = ALLOCATION_SIZE;
|