Lines Matching defs:rbase
702 const Elf_Phdr *phdr, u_long rbase, u_long *base_addrp)
721 (caddr_t)(uintptr_t)phdr[i].p_vaddr + rbase,
730 base_addr = trunc_page(phdr[i].p_vaddr + rbase);
767 u_long rbase;
817 rbase = *addr;
819 rbase = 0;
837 error = __elfN(load_sections)(imgp, hdr, phdr, rbase, &base_addr);
842 *entry = (unsigned long)hdr->e_entry + rbase;
862 u_long rbase, res;
868 arc4rand(&rbase, sizeof(rbase), 0);
869 res = roundup(minv, (u_long)align) + rbase % (maxv - minv);
874 ("res %#lx < minv %#lx, maxv %#lx rbase %#lx",
875 res, minv, maxv, rbase));
877 ("res %#lx > maxv %#lx, minv %#lx rbase %#lx",
878 res, maxv, minv, rbase));
2842 uintptr_t range, rbase, gap;
2851 arc4rand(&rbase, sizeof(rbase), 0);
2852 gap = rbase % range;