Lines Matching refs:pgsz
372 size_t pgsz = MMU_PAGESIZE; in map_pgsz() local
404 pgsz = LEVEL_SIZE(l); in map_pgsz()
411 if (addr == 0 && (pgsz < hw_page_array[mszc].hp_size)) { in map_pgsz()
412 pgsz = hw_page_array[mszc].hp_size; in map_pgsz()
414 return (pgsz); in map_pgsz()
423 return (pgsz); in map_pgsz()
434 size_t pgsz; in map_szcvec() local
442 pgsz = page_get_pagesize(i); in map_szcvec()
443 if (pgsz > max_lpsize) { in map_szcvec()
446 raddr = (caddr_t)P2ROUNDUP((uintptr_t)addr, pgsz); in map_szcvec()
447 readdr = (caddr_t)P2ALIGN((uintptr_t)eaddr, pgsz); in map_szcvec()
451 if (P2PHASE((uintptr_t)addr ^ off, pgsz)) { in map_szcvec()
1448 mtype_init(vnode_t *vp, caddr_t vaddr, uint_t *flags, size_t pgsz) in mtype_init() argument
1465 if (RESTRICT16M_ALLOC(freemem4g - btop(pgsz), in mtype_init()
1466 btop(pgsz), *flags)) { in mtype_init()
1482 } else if (RESTRICT16M_ALLOC(freemem, btop(pgsz), *flags)) { in mtype_init()