Searched refs:regionsizes (Results 1 - 1 of 1) sorted by relevance
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | machvm_tests.c | 19 int regionsizes[] = { 1, 3, 7, 13, 77, 1223 }; /* sizes must be in increasing order */ local 25 for (i=0; i < sizeof(regionsizes)/sizeof(regionsizes[0]); i++) { 28 kret = vm_allocate(mach_task_self(), &addr, regionsizes[i]*pagesize, VM_FLAGS_ANYWHERE); 30 warnx("vm_allocate of %d pages failed: %d", regionsizes[i], kret); 37 kret = vm_deallocate(mach_task_self(), (vm_address_t)regionbuffers[4], regionsizes[4]*pagesize); 39 warnx("vm_deallocate of %d pages failed: %d", regionsizes[4], kret); 44 memset(regionbuffers[3], 0x4f, pagesize*MIN(3, regionsizes[3])); 46 kret = vm_deallocate(mach_task_self(), (vm_address_t)regionbuffers[3], regionsizes[3]*pagesize); 48 warnx("vm_deallocate of %d pages failed: %d", regionsizes[ [all...] |
Completed in 18 milliseconds