Lines Matching defs:pgsz
384 size_t pgsz;
566 pgsz = page_get_pagesize(seg->s_szc);
568 for (a = addr, pidx = 0; pidx < npages; a += pgsz, pidx += pgcnt) {
569 sz = MIN(pgsz, ptob(npages - pidx));
1836 size_t pgsz;
1872 pgsz = page_get_pagesize(sptseg->s_szc);
1874 shm_addr = (caddr_t)P2ALIGN((uintptr_t)(addr), pgsz);
1875 size = P2ROUNDUP((uintptr_t)(((addr + len) - shm_addr)), pgsz);
1922 for (; pidx < npages; a += pgsz, pidx += pgcnt) {
1924 a, pgsz, &ppa[pidx], sptd->spt_prot,
1934 for (; pidx < npages; a += pgsz, pidx += pgcnt) {
1936 a, pgsz, &ppa[pidx],
2021 size_t pgsz;
2063 pgsz = page_get_pagesize(sptseg->s_szc);
2065 shm_addr = (caddr_t)P2ALIGN((uintptr_t)(addr), pgsz);
2066 size = P2ROUNDUP((uintptr_t)(((addr + len) - shm_addr)), pgsz);
2171 for (; pidx < npages; a += pgsz, pidx += pgcnt) {
2172 sz = MIN(pgsz, ptob(npages - pidx));
2184 for (; pidx < npages; a += pgsz, pidx += pgcnt) {
2185 sz = MIN(pgsz, ptob(npages - pidx));