Lines Matching refs:pgsz
62 size_t pgsz; in memcntl() local
165 pgsz = STRUCT_FGET(mha, mha_pagesize); in memcntl()
187 if (pgsz != 0) { in memcntl()
194 if (pgsz == 0) { in memcntl()
202 pgsz = map_pgsz(type, p, 0, 0, 1); in memcntl()
217 if (pgsz == 0) { in memcntl()
228 if (!IS_P2ALIGNED(addr, pgsz) || in memcntl()
229 !IS_P2ALIGNED(len, pgsz)) { in memcntl()
234 szc = mem_getpgszc(pgsz); in memcntl()
269 if (!IS_P2ALIGNED(p->p_brkbase + p->p_brksize, pgsz)) { in memcntl()
277 pgsz); in memcntl()
279 ASSERT(IS_P2ALIGNED(len, pgsz)); in memcntl()
310 if (!IS_P2ALIGNED(p->p_usrstack - p->p_stksize, pgsz)) { in memcntl()
318 len = P2ALIGN(p->p_stksize, pgsz); in memcntl()
329 ASSERT(IS_P2ALIGNED(addr, pgsz)); in memcntl()
330 ASSERT(IS_P2ALIGNED(len, pgsz)); in memcntl()
408 mem_getpgszc(size_t pgsz) { in mem_getpgszc() argument
409 return ((uint_t)page_szc_user_filtered(pgsz)); in mem_getpgszc()