Searched refs:pagesize (Results 1 - 5 of 5) sorted by relevance
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | machvm_tests.c | 18 int pagesize = getpagesize(); local 28 kret = vm_allocate(mach_task_self(), &addr, regionsizes[i]*pagesize, VM_FLAGS_ANYWHERE); 37 kret = vm_deallocate(mach_task_self(), (vm_address_t)regionbuffers[4], regionsizes[4]*pagesize); 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); 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[5] + (regionsizes[5]-5)*pagesize, 5*pagesize, 79 vm_deallocate(mach_task_self(), newdata, 5*pagesize); local 358 vm_deallocate(mach_task_self(), (vm_address_t)regionbuffers[i], regionsizes[i]*pagesize); local [all...] |
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | msync.c | 56 static int pagesize; variable 113 pagesize = getpagesize(); 158 for (j = 0; j < optl; j += pagesize) { 164 for (j = 0; j < optl; j += pagesize) {
|
H A D | mprotect.c | 60 static int pagesize; variable 144 pagesize = getpagesize(); 169 for (j = k = 0; j < optl; j += pagesize)
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/helpers/ |
H A D | data_exec.c | 15 #define ALT_STK_SIZE (MINSIGSTKSZ + pagesize) 73 psint_t pagesize; local 95 pagesize = getpagesize(); 156 base = (psint_t)func & ~(pagesize - 1); 184 base = (psint_t)func & ~(pagesize - 1);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_mib.c | 318 /* hw.pagesize and hw.tbfrequency are expected as 64 bit values */ 351 SYSCTL_PROC (_hw, OID_AUTO, pagesize, CTLTYPE_QUAD | CTLFLAG_RD | CTLFLAG_KERN | CTLFLAG_LOCKED, 0, 0, sysctl_pagesize, "Q", "");
|
Completed in 78 milliseconds