Lines Matching refs:saddr

3542 		caddr_t saddr, naddr;
3545 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) {
3546 prot = pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr);
3547 if (saddr == naddr)
3552 mp->pr_vaddr = saddr;
3553 mp->pr_size = naddr - saddr;
3554 mp->pr_off = SEGOP_GETOFFSET(seg, saddr);
3562 if (SEGOP_GETTYPE(seg, saddr) & MAP_SHARED)
3602 caddr_t saddr, naddr;
3605 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) {
3606 prot = pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr);
3607 if (saddr == naddr)
3612 mp->pr_vaddr = (caddr32_t)(uintptr_t)saddr;
3613 mp->pr_size = (size32_t)(naddr - saddr);
3614 mp->pr_off = (off32_t)SEGOP_GETOFFSET(seg, saddr);
3622 if (SEGOP_GETTYPE(seg, saddr) & MAP_SHARED)
3654 caddr_t saddr, naddr;
3658 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) {
3659 (void) pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr);
3660 if ((npage = (naddr - saddr) / PAGESIZE) != 0)
3684 caddr_t saddr, naddr;
3688 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) {
3689 (void) pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr);
3690 if ((npage = (naddr - saddr) / PAGESIZE) != 0)
3735 caddr_t saddr, naddr;
3738 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) {
3744 prot = pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr);
3745 if ((len = naddr - saddr) == 0)
3780 pmp->pr_vaddr = saddr;
3782 pmp->pr_off = SEGOP_GETOFFSET(seg, saddr);
3790 if (SEGOP_GETTYPE(seg, saddr) & MAP_SHARED)
3793 hat_getstat(as, saddr, len, hatid,
3842 caddr_t saddr, naddr;
3845 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) {
3851 prot = pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr);
3852 if ((len = naddr - saddr) == 0)
3887 pmp->pr_vaddr = (uint32_t)(uintptr_t)saddr;
3889 pmp->pr_off = (int32_t)SEGOP_GETOFFSET(seg, saddr);
3897 if (SEGOP_GETTYPE(seg, saddr) & MAP_SHARED)
3900 hat_getstat(as, saddr, len, hatid,