Lines Matching defs:rbase
726 const Elf_Phdr *phdr, u_long rbase, u_long *base_addrp)
745 (caddr_t)(uintptr_t)phdr[i].p_vaddr + rbase,
754 base_addr = trunc_page(phdr[i].p_vaddr + rbase);
791 u_long rbase;
841 rbase = *addr;
843 rbase = 0;
861 error = __elfN(load_sections)(imgp, hdr, phdr, rbase, &base_addr);
869 *entry = (unsigned long)hdr->e_entry + rbase;
899 u_long rbase, res;
908 arc4rand(&rbase, sizeof(rbase), 0);
909 res = roundup(minv, (u_long)align) + rbase % (maxv - minv);
915 ("res %#lx < minv %#lx, maxv %#lx rbase %#lx",
916 res, minv, maxv, rbase));
918 ("res %#lx > maxv %#lx, minv %#lx rbase %#lx",
919 res, maxv, minv, rbase));