Lines Matching refs:pgsz
62 size_t pgsz; in memcntl() local
164 pgsz = STRUCT_FGET(mha, mha_pagesize); in memcntl()
186 if (pgsz != 0) { in memcntl()
193 if (pgsz == 0) { in memcntl()
201 pgsz = map_pgsz(type, p, 0, 0, 1); in memcntl()
216 if (pgsz == 0) { in memcntl()
227 if (!IS_P2ALIGNED(addr, pgsz) || in memcntl()
228 !IS_P2ALIGNED(len, pgsz)) { in memcntl()
233 szc = mem_getpgszc(pgsz); in memcntl()
268 if (!IS_P2ALIGNED(p->p_brkbase + p->p_brksize, pgsz)) { in memcntl()
276 pgsz); in memcntl()
278 ASSERT(IS_P2ALIGNED(len, pgsz)); in memcntl()
309 if (!IS_P2ALIGNED(p->p_usrstack - p->p_stksize, pgsz)) { in memcntl()
317 len = P2ALIGN(p->p_stksize, pgsz); in memcntl()
328 ASSERT(IS_P2ALIGNED(addr, pgsz)); in memcntl()
329 ASSERT(IS_P2ALIGNED(len, pgsz)); in memcntl()
407 mem_getpgszc(size_t pgsz) { in mem_getpgszc() argument
408 return ((uint_t)page_szc_user_filtered(pgsz)); in mem_getpgszc()