Lines Matching refs:saddr

3486 		caddr_t saddr, naddr;  in oprgetmap()  local
3493 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in oprgetmap()
3494 prot = pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr); in oprgetmap()
3495 if (saddr == naddr) in oprgetmap()
3500 mp->pr_vaddr = saddr; in oprgetmap()
3501 mp->pr_size = naddr - saddr; in oprgetmap()
3502 mp->pr_off = SEGOP_GETOFFSET(seg, saddr); in oprgetmap()
3510 if (SEGOP_GETTYPE(seg, saddr) & MAP_SHARED) in oprgetmap()
3550 caddr_t saddr, naddr; in oprgetmap32() local
3557 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in oprgetmap32()
3558 prot = pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr); in oprgetmap32()
3559 if (saddr == naddr) in oprgetmap32()
3564 mp->pr_vaddr = (caddr32_t)(uintptr_t)saddr; in oprgetmap32()
3565 mp->pr_size = (size32_t)(naddr - saddr); in oprgetmap32()
3566 mp->pr_off = (off32_t)SEGOP_GETOFFSET(seg, saddr); in oprgetmap32()
3574 if (SEGOP_GETTYPE(seg, saddr) & MAP_SHARED) in oprgetmap32()
3606 caddr_t saddr, naddr; in oprpdsize() local
3614 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in oprpdsize()
3615 (void) pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr); in oprpdsize()
3616 if ((npage = (naddr - saddr) / PAGESIZE) != 0) in oprpdsize()
3640 caddr_t saddr, naddr; in oprpdsize32() local
3648 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in oprpdsize32()
3649 (void) pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr); in oprpdsize32()
3650 if ((npage = (naddr - saddr) / PAGESIZE) != 0) in oprpdsize32()
3695 caddr_t saddr, naddr; in oprpdread() local
3702 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in oprpdread()
3708 prot = pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr); in oprpdread()
3709 if ((len = naddr - saddr) == 0) in oprpdread()
3744 pmp->pr_vaddr = saddr; in oprpdread()
3746 pmp->pr_off = SEGOP_GETOFFSET(seg, saddr); in oprpdread()
3754 if (SEGOP_GETTYPE(seg, saddr) & MAP_SHARED) in oprpdread()
3757 hat_getstat(as, saddr, len, hatid, in oprpdread()
3806 caddr_t saddr, naddr; in oprpdread32() local
3813 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in oprpdread32()
3819 prot = pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr); in oprpdread32()
3820 if ((len = naddr - saddr) == 0) in oprpdread32()
3855 pmp->pr_vaddr = (uint32_t)(uintptr_t)saddr; in oprpdread32()
3857 pmp->pr_off = (int32_t)SEGOP_GETOFFSET(seg, saddr); in oprpdread32()
3865 if (SEGOP_GETTYPE(seg, saddr) & MAP_SHARED) in oprpdread32()
3868 hat_getstat(as, saddr, len, hatid, in oprpdread32()