Lines Matching refs:slp
2622 lookup_sym_interpose(Slookup *slp, Sresult *srp, uint_t *binfo, int *in_nfavl)
2658 clmp = slp->sl_cmap;
2695 SRESULT_INIT(sr, slp->sl_name);
2696 sl = *slp;
2729 sl = *slp;
2760 SRESULT_INIT(sr, slp->sl_name);
2795 lookup_sym_direct(Slookup *slp, Sresult *srp, uint_t *binfo, Syminfo *sip,
2798 Rt_map *dlmp, *clmp = slp->sl_cmap;
2817 if (((slp->sl_flags & LKUP_COPY) == 0) &&
2819 slp->sl_imap = LIST(clmp)->lm_head;
2821 if (ret = SYMINTP(clmp)(slp, srp, binfo, in_nfavl))
2830 sl = *slp;
2895 if (lookup_sym_interpose(slp, srp, binfo, in_nfavl))
2903 core_lookup_sym(Rt_map *ilmp, Slookup *slp, Sresult *srp, uint_t *binfo,
2912 if ((off == ALIST_OFF_DATA) && (slp->sl_flags & LKUP_COPY) && ilmp)
2918 if (callable(slp->sl_cmap, lmp, 0, slp->sl_flags)) {
2920 slp->sl_imap = lmp;
2921 if ((SYMINTP(lmp)(slp, srp, binfo, in_nfavl)) ||
2930 rescan_lazy_find_sym(Rt_map *ilmp, Slookup *slp, Sresult *srp, uint_t *binfo,
2938 if (callable(slp->sl_cmap, lmp, 0, slp->sl_flags)) {
2940 slp->sl_imap = lmp;
2941 if (elf_lazy_find_sym(slp, srp, binfo, in_nfavl))
2949 _lookup_sym(Slookup *slp, Sresult *srp, uint_t *binfo, int *in_nfavl)
2951 const char *name = slp->sl_name;
2952 Rt_map *clmp = slp->sl_cmap;
2954 Rt_map *ilmp = slp->sl_imap, *lmp;
2966 if (slp->sl_flags & LKUP_FIRST)
2967 return (SYMINTP(ilmp)(slp, srp, binfo, in_nfavl));
2974 if (((rsymndx = slp->sl_rsymndx) != 0) &&
3008 lmp = elf_lazy_load(clmp, slp, bound,
3024 ((slp->sl_flags & LKUP_SINGLETON) == 0))) &&
3027 ret = lookup_sym_direct(slp, srp, binfo,
3057 sl = *slp;
3169 lookup_sym(Slookup *slp, Sresult *srp, uint_t *binfo, int *in_nfavl)
3171 Rt_map *clmp = slp->sl_cmap;
3172 Sym *rsym = slp->sl_rsym;
3173 uchar_t rtype = slp->sl_rtype, vis;
3176 if (slp->sl_hash == 0)
3177 slp->sl_hash = elf_hash(slp->sl_name);
3196 ((slp->sl_flags & LKUP_DLSYM) == 0) &&
3198 slp->sl_imap = clmp;
3199 return (SYMINTP(clmp)(slp, srp, binfo, in_nfavl));
3206 if ((slp->sl_flags & LKUP_STDRELOC) &&
3208 slp->sl_flags |= LKUP_WEAK;
3211 slp->sl_flags |= LKUP_SINGLETON;
3217 if ((slp->sl_flags & LKUP_STDRELOC) && rtype) {
3219 slp->sl_flags |= LKUP_COPY;
3222 slp->sl_flags |= LKUP_SPEC;
3231 if (LIST(slp->sl_cmap)->lm_flags & LML_FLG_TRC_NOUNRESWEAK)
3232 slp->sl_bind = STB_GLOBAL;
3233 else if ((slp->sl_bind = ELF_ST_BIND(rsym->st_info)) ==
3235 slp->sl_flags |= LKUP_WEAK;
3247 if (((ret = _lookup_sym(slp, srp, binfo, in_nfavl)) == 0) &&
3249 Slookup sl = *slp;
3282 (lookup_sym_interpose(slp, srp, binfo, in_nfavl)))