Lines Matching defs:pgsize
80 size_t pgsize = getpagesize();
83 if (pgsize < sizeof(*p))
90 else if (mprotect(p, pgsize, PROT_READ | PROT_WRITE))
94 p = mmap(NULL, pgsize, PROT_READ | PROT_WRITE,
103 p->max = (pgsize - ((char *)&p->fns[0] - (char *)p)) /
112 if (mprotect(p, pgsize, PROT_READ))
131 int n, pgsize = getpagesize();
151 if (mprotect(p, pgsize, PROT_READ | PROT_WRITE) == 0) {
153 mprotect(p, pgsize, PROT_READ);
174 munmap(q, pgsize);
194 size_t pgsize = getpagesize();
196 if (pgsize < sizeof(*p))
203 p = mmap(NULL, pgsize, PROT_READ | PROT_WRITE,
208 p->max = (pgsize - ((char *)&p->fns[0] - (char *)p)) /
213 if (mprotect(p, pgsize, PROT_READ | PROT_WRITE))
219 mprotect(p, pgsize, PROT_READ);