Lines Matching refs:sptseg_addr
1574 segspt_softunlock(struct seg *seg, caddr_t sptseg_addr,
1614 hat_unlock(sptseg->s_as->a_hat, sptseg_addr, len);
1619 anon_index = seg_page(sptseg, sptseg_addr);
1621 for (adr = sptseg_addr; adr < sptseg_addr + len; adr += PAGESIZE) {
2013 caddr_t sptseg_addr, shm_addr;
2073 sptseg_addr = sptseg->s_base + ptob(anon_index);
2080 if ((sptseg_addr + ptob(npages)) >
2082 size = (sptseg->s_base + sptd->spt_realsize) - sptseg_addr;
2086 ASSERT(sptseg_addr < (sptseg->s_base + sptseg->s_size));
2139 * sptseg_addr and npages now account for large pages.
2143 anon_index = seg_page(sptseg, sptseg_addr);
2164 a = sptseg_addr;
2205 * but the sptseg_addr is the virtual address within the
2208 segspt_softunlock(seg, sptseg_addr, ptob(npages), rw);
2943 caddr_t sptseg_addr;
2961 sptseg_addr = sptseg->s_base + ptob(anon_index);
2962 if ((sptseg_addr + size) >
2965 sptseg_addr;