Lines Matching defs:pgsz
115 size_t pgsz, len;
134 pgsz = map_pgsz(MAPPGSZ_HEAP, p, bssbase, len, 0);
135 szc = page_szc(pgsz);
166 addr = (caddr_t)P2ROUNDUP((uintptr_t)p->p_bssbase, pgsz);
170 if (addr >= p->p_bssbase && brkend > addr && IS_P2ALIGNED(len, pgsz)) {
190 size_t pgsz;
201 pgsz = page_get_pagesize(szc);
202 ASSERT(pgsz > PAGESIZE);
204 pgsz = PAGESIZE;
222 * for heap size). If pgsz is greater than PAGESIZE calculate the
223 * heap size as the real new heap size by rounding it up to pgsz.
230 if (pgsz > PAGESIZE) {
231 caddr_t tnva = (caddr_t)P2ROUNDUP((uintptr_t)nva, pgsz);
236 pgsz = PAGESIZE;
248 nva = (caddr_t)P2ROUNDUP((uintptr_t)nva, pgsz);
273 * page sizes if ova is not aligned to szc's pgsz.
279 pgsz);
280 if (IS_P2ALIGNED(p->p_bssbase, pgsz) || ova > rbss) {
356 size_t pgsz;
366 pgsz = map_pgsz(MAPPGSZ_STK, p, sp, newsize, 0);
367 szc = page_szc(pgsz);
400 * any pgsz pages in the segment already faulted in beyond that
404 addr = (caddr_t)P2ROUNDUP((uintptr_t)saddr, pgsz);
405 growend = (caddr_t)P2ALIGN((uintptr_t)p->p_usrstack, pgsz);
408 if (addr >= saddr && growend > addr && IS_P2ALIGNED(len, pgsz)) {
428 size_t pgsz;
442 pgsz = page_get_pagesize(szc);
443 ASSERT(pgsz > PAGESIZE);
444 newsize = p->p_usrstack - (caddr_t)P2ALIGN((uintptr_t)sp, pgsz);
447 pgsz = PAGESIZE;
451 pgsz = PAGESIZE;
477 * if not aligned to szc's pgsz.
482 pgsz);
484 if (IS_P2ALIGNED(p->p_usrstack, pgsz) || oldsp < austk) {