Lines Matching refs:eaddr

1424 		caddr_t eaddr = seg->s_base + pr_getsegsize(seg, reserved);  in prnsegs()  local
1432 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in prnsegs()
1434 &saddr, &naddr, eaddr); in prnsegs()
1865 caddr_t eaddr = seg->s_base + pr_getsegsize(seg, reserved); in prgetmap() local
1873 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in prgetmap()
1875 &saddr, &naddr, eaddr); in prgetmap()
1980 caddr_t eaddr = seg->s_base + pr_getsegsize(seg, reserved); in prgetmap32() local
1988 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in prgetmap32()
1990 &saddr, &naddr, eaddr); in prgetmap32()
2086 caddr_t eaddr = seg->s_base + pr_getsegsize(seg, 0); in prpdsize() local
2095 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in prpdsize()
2096 (void) pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr); in prpdsize()
2120 caddr_t eaddr = seg->s_base + pr_getsegsize(seg, 0); in prpdsize32() local
2129 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in prpdsize32()
2130 (void) pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr); in prpdsize32()
2176 caddr_t eaddr = seg->s_base + pr_getsegsize(seg, 0); in prpdread() local
2184 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in prpdread()
2192 prot = pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr); in prpdread()
2327 caddr_t eaddr = seg->s_base + pr_getsegsize(seg, 0); in prpdread32() local
2335 for (saddr = seg->s_base; saddr < eaddr; saddr = naddr) { in prpdread32()
2343 prot = pr_getprot(seg, 0, &tmp, &saddr, &naddr, eaddr); in prpdread32()
3963 caddr_t eaddr = pwa->wa_eaddr; in set_watched_area() local
3995 target->wa_eaddr != eaddr) in set_watched_area()
3998 error = set_watched_page(p, vaddr, eaddr, in set_watched_area()
4005 error = set_watched_page(p, vaddr, eaddr, flags, 0); in set_watched_area()
4136 set_watched_page(proc_t *p, caddr_t vaddr, caddr_t eaddr, in set_watched_page() argument
4155 addr < eaddr; addr += PAGESIZE) { in set_watched_page()
4246 if ((vaddr = pwp->wp_vaddr + PAGESIZE) < eaddr) in set_watched_page()
4268 clear_watched_page(proc_t *p, caddr_t vaddr, caddr_t eaddr, ulong_t flags) in clear_watched_page() argument
4289 while (pwp != NULL && pwp->wp_vaddr < eaddr) { in clear_watched_page()
4397 pr_pagev_fill(prpagev_t *pagev, struct seg *seg, caddr_t addr, caddr_t eaddr) in pr_pagev_fill() argument
4399 ulong_t lastpg = seg_page(seg, eaddr - 1); in pr_pagev_fill()
4404 ASSERT(addr >= seg->s_base && addr <= eaddr); in pr_pagev_fill()
4406 if (addr == eaddr) in pr_pagev_fill()
4407 return (eaddr); in pr_pagev_fill()
4410 ASSERT(addr < eaddr); in pr_pagev_fill()
4416 len = (size_t)(eaddr - addr); in pr_pagev_fill()
4438 } while ((addr += PAGESIZE) < eaddr && pn < pnlim); in pr_pagev_fill()
4444 if (addr < eaddr) in pr_pagev_fill()
4459 caddr_t *saddrp, caddr_t eaddr, uint_t *protp) in pr_pagev_nextprot() argument
4478 if ((addr += PAGESIZE) == eaddr) { in pr_pagev_nextprot()
4484 addr = pr_pagev_fill(pagev, seg, addr, eaddr); in pr_pagev_nextprot()
4485 if (addr == eaddr) { in pr_pagev_nextprot()
4510 while ((addr += PAGESIZE) < eaddr) { in pr_pagev_nextprot()
4519 caddr_t naddr = pr_pagev_fill(pagev, seg, addr, eaddr); in pr_pagev_nextprot()
4622 caddr_t *saddrp, caddr_t *naddrp, caddr_t eaddr) in pr_getprot() argument
4641 ASSERT(saddr >= seg->s_base && saddr < eaddr); in pr_getprot()
4642 ASSERT(eaddr <= seg->s_base + seg->s_size); in pr_getprot()
4665 naddr = eaddr; in pr_getprot()
4671 naddr = eaddr; in pr_getprot()
4685 saddr = pr_pagev_fill(pagev, seg, saddr, eaddr); in pr_getprot()
4690 ASSERT(saddr <= eaddr); in pr_getprot()
4693 if (saddr == eaddr) { in pr_getprot()
4704 naddr = pr_pagev_nextprot(pagev, seg, saddrp, eaddr, &prot); in pr_getprot()
4705 ASSERT(naddr <= eaddr); in pr_getprot()
4709 if (naddr == eaddr) in pr_getprot()
4750 pr_getpagesize(struct seg *seg, caddr_t saddr, caddr_t *naddrp, caddr_t eaddr) in pr_getpagesize() argument
4756 ASSERT(IS_P2ALIGNED(eaddr, PAGESIZE)); in pr_getpagesize()
4757 ASSERT(saddr < eaddr); in pr_getpagesize()
4768 while (saddr < eaddr) { in pr_getpagesize()
4775 *naddrp = ((saddr < eaddr) ? saddr : eaddr); in pr_getpagesize()
4809 caddr_t eaddr = seg->s_base + pr_getsegsize(seg, 0); in prgetxmap() local
4825 for (saddr = seg->s_base; saddr < eaddr; saddr = baddr) { in prgetxmap()
4826 prot = pr_getprot(seg, 0, &tmp, &saddr, &baddr, eaddr); in prgetxmap()
4827 ASSERT(baddr >= saddr && baddr <= eaddr); in prgetxmap()
5009 caddr_t eaddr = seg->s_base + pr_getsegsize(seg, 0); in prgetxmap32() local
5026 for (saddr = seg->s_base; saddr < eaddr; saddr = baddr) { in prgetxmap32()
5027 prot = pr_getprot(seg, 0, &tmp, &saddr, &baddr, eaddr); in prgetxmap32()
5028 ASSERT(baddr >= saddr && baddr <= eaddr); in prgetxmap32()