/bionic/libc/stdlib/ |
atexit.c | 66 int pgsize = getpagesize(); local 69 if (pgsize < (int)sizeof(*p)) 76 else if (mprotect(p, pgsize, PROT_READ | PROT_WRITE)) 80 p = mmap(NULL, pgsize, PROT_READ | PROT_WRITE, 89 p->max = (pgsize - ((char *)&p->fns[0] - (char *)p)) / 100 if (mprotect(p, pgsize, PROT_READ)) 118 int n, pgsize = getpagesize(); local 139 if (mprotect(p, pgsize, PROT_READ | PROT_WRITE) == 0) { 141 mprotect(p, pgsize, PROT_READ); 170 munmap(q, pgsize); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
vsnprintf.c | 52 static int pgsize; variable 68 if (pgsize == 0) 69 pgsize = getpagesize(); 70 curobj = (char *)malloc(n + EXTRABYTES + pgsize * 2); 74 e = (char *)roundup((unsigned long)e, pgsize); 75 if (mprotect(e, pgsize, PROT_NONE) == -1) { 99 if (mprotect((caddr_t)(p + n + EXTRABYTES), pgsize, 101 mprotect((caddr_t)(p + n + EXTRABYTES), pgsize,
|
/external/mesa3d/src/mesa/main/ |
vsnprintf.c | 52 static int pgsize; variable 68 if (pgsize == 0) 69 pgsize = getpagesize(); 70 curobj = (char *)malloc(n + EXTRABYTES + pgsize * 2); 74 e = (char *)roundup((unsigned long)e, pgsize); 75 if (mprotect(e, pgsize, PROT_NONE) == -1) { 99 if (mprotect((caddr_t)(p + n + EXTRABYTES), pgsize, 101 mprotect((caddr_t)(p + n + EXTRABYTES), pgsize,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/ |
__init__.py | 353 def hashopen(file, flag='c', mode=0666, pgsize=None, ffactor=None, nelem=None, 360 if pgsize is not None: d.set_pagesize(pgsize) 371 pgsize=None, lorder=None): 376 if pgsize is not None: d.set_pagesize(pgsize) 388 rnflags=0, cachesize=None, pgsize=None, lorder=None, 394 if pgsize is not None: d.set_pagesize(pgsize)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/ |
__init__.py | 353 def hashopen(file, flag='c', mode=0666, pgsize=None, ffactor=None, nelem=None, 360 if pgsize is not None: d.set_pagesize(pgsize) 371 pgsize=None, lorder=None): 376 if pgsize is not None: d.set_pagesize(pgsize) 388 rnflags=0, cachesize=None, pgsize=None, lorder=None, 394 if pgsize is not None: d.set_pagesize(pgsize)
|
/external/blktrace/btreplay/ |
btreplay.c | 150 static size_t pgsize; // System Page size variable 314 for (i = 0; i < bsize; i += pgsize) 327 if (posix_memalign(&buf, pgsize, nbytes)) { [all...] |