Lines Matching refs:maddr
88 caddr_t maddr; /* pointer to mapping claim */ in __rtld() local
197 maddr = (caddr_t)MMAP(0, mlen, PROT_READ | PROT_EXEC, in __rtld()
199 if (maddr == (caddr_t)-1) in __rtld()
201 faddr = (caddr_t)ROUND(maddr, fph->p_align); in __rtld()
206 if (faddr != maddr) { in __rtld()
207 (void) MUNMAP(maddr, mlen); in __rtld()
211 maddr = (caddr_t)MMAP(0, mlen, PROT_READ | PROT_EXEC, in __rtld()
213 if (maddr == (caddr_t)-1) in __rtld()
215 faddr = (caddr_t)ROUND(maddr, fph->p_align); in __rtld()
257 if (addr - maddr) { in __rtld()
258 (void) MUNMAP(maddr, addr - maddr); in __rtld()
259 mlen -= addr - maddr; in __rtld()
305 maddr = addr + ROUND(flen, page_size); in __rtld()
306 mlen -= maddr - addr; in __rtld()
313 (void) MUNMAP(maddr, mlen); in __rtld()