Searched refs:_allocation_size (Results 1 – 1 of 1) sorted by relevance
| /xnu-8792.81.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 assert_allocate_eq(range.min_address - _allocation_size, VM_FLAGS_FIXED | VM_MEMORY_RANGE_HEAP); 267 T_ASSERT_POSIX_SUCCESS(ftruncate(fd, (off_t)_allocation_size), NULL); 289 mach_vm_address_t target = range.min_address - _allocation_size; 337 int ret = mach_vm_map(mach_task_self(), &addr, _allocation_size, [all …]
|