Searched refs:regionbuffers (Results 1 - 1 of 1) sorted by relevance
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | machvm_tests.c | 20 char *regionbuffers[] = { NULL, NULL, NULL, NULL, NULL, NULL }; local 33 regionbuffers[i] = (char *)addr; 37 kret = vm_deallocate(mach_task_self(), (vm_address_t)regionbuffers[4], regionsizes[4]*pagesize); 42 regionbuffers[4] = NULL; 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); 51 regionbuffers[3] = NULL; 55 memset(regionbuffers[5] + i*pagesize, (unsigned char)i, pagesize); 57 kret = vm_protect(mach_task_self(), (vm_offset_t)regionbuffers[5], regionsizes[5]*pagesize, FALSE, VM_PROT_READ); 68 kret = vm_read(mach_task_self(), (vm_address_t)regionbuffers[ [all...] |
Completed in 63 milliseconds