Lines Matching refs:pagesize
803 static size_t pagesize; /* alignment of memory pages */ variable
848 bufbeg = buflim = ALIGN_TO (buffer + 1, pagesize); in reset()
885 if (pagesize <= buffer + bufalloc - sizeof (uword) - buflim) in fillbuf()
892 size_t minsize = save + pagesize; in fillbuf()
898 for (newsize = bufalloc - pagesize - sizeof (uword); in fillbuf()
901 if ((SIZE_MAX - pagesize - sizeof (uword)) / 2 < newsize) in fillbuf()
923 newalloc = newsize + pagesize + sizeof (uword); in fillbuf()
926 readbuf = ALIGN_TO (newbuf + 1 + save, pagesize); in fillbuf()
940 readsize -= readsize % pagesize; in fillbuf()
2925 pagesize = psize; in main()
2926 bufalloc = ALIGN_TO (INITIAL_BUFSIZE, pagesize) + pagesize + sizeof (uword); in main()