Lines Matching refs:pagesize
29 static int pagesize = -1;
31 if (pagesize != -1)
32 return pagesize;
37 pagesize = (int) sysconf(_SC_PAGESIZE);
41 if (pagesize == -1)
42 pagesize = (int) sysconf(_SC_PAGE_SIZE);
46 if (pagesize == -1)
47 pagesize = getpagesize();
51 if (pagesize == -1)
52 pagesize = PAGE_SIZE;
55 if (pagesize == -1)
56 pagesize = 0;
58 return pagesize;