Lines Matching defs:clmp
105 analyze_lmc(Lm_list *lml, Aliste nlmco, Rt_map *nlmp, Rt_map *clmp,
152 if ((olmp = elf_obj_fini(lml, lmp, clmp,
465 relocate_lmc(Lm_list *lml, Aliste nlmco, Rt_map *clmp, Rt_map *nlmp,
534 remove_lmc(lml, clmp, nlmco, NAME(nlmp));
843 trace_so(Rt_map *clmp, Rej_desc *rej, const char *name, const char *path,
856 if (FLAGS1(clmp) & FL1_RT_LDDSTUB)
1096 file_notfound(Lm_list *lml, const char *name, Rt_map *clmp, uint_t flags,
1115 trace_so(clmp, rej, name, 0, 0,
1118 trace_so(clmp, rej, name, 0, 0,
1140 file_open(int err, Lm_list *lml, Rt_map *clmp, uint_t flags, Fdesc *fdp,
1240 DBG_CALL(Dbg_file_skip(LIST(clmp),
1266 DBG_CALL(Dbg_audit_skip(LIST(clmp),
1284 DBG_CALL(Dbg_file_skip(LIST(clmp),
1352 find_path(Lm_list *lml, Rt_map *clmp, uint_t flags, Fdesc *fdp, Rej_desc *rej,
1394 ret = file_open(0, lml, clmp, flags, fdp,
1406 return (file_open(err, lml, clmp, flags, fdp, rej, in_nfavl));
1413 _find_file(Lm_list *lml, Rt_map *clmp, uint_t flags, Fdesc *fdp, Rej_desc *rej,
1420 ((FLAGS1(clmp) & FL1_RT_LDDSTUB) == 0)) {
1430 if ((lml->lm_tflags | AFLAGS(clmp)) & LML_TFLG_AUD_OBJSEARCH) {
1433 if ((aname = audit_objsearch(clmp, nname,
1444 return (file_open(0, lml, clmp, flags, fdp, rej, in_nfavl));
1448 find_file(Lm_list *lml, Rt_map *clmp, uint_t flags, Fdesc *fdp, Rej_desc *rej,
1528 ret = _find_file(lml, clmp, flags, fdp,
1548 if ((fdp->fd_nname = (LM_GET_SO(clmp)(pdp->pd_pname, oname,
1552 return (_find_file(lml, clmp, flags, fdp, rej, pdp, 0, in_nfavl));
1764 load_file(Lm_list *lml, Aliste lmco, Rt_map *clmp, Fdesc *fdp, int *in_nfavl)
1814 if ((nlmp = elf_obj_file(lml, lmco, clmp, nname, hmpp, ompp,
1834 msize, NULL, clmp, in_nfavl)) == NULL)
1869 remove_so(lml, nlmp, clmp);
1874 remove_so(lml, nlmp, clmp);
1921 remove_so(lml, nlmp, clmp);
1939 load_so(Lm_list *lml, Aliste lmco, Rt_map *clmp, uint_t flags,
1976 if (clmp == 0)
1977 clmp = lml_rtld.lm_head;
2001 if (find_path(lml, clmp, flags, fdp, &_rej, in_nfavl) == 0) {
2025 for (pdp = get_next_dir(&sd, clmp, flags); pdp;
2026 pdp = get_next_dir(&sd, clmp, flags)) {
2047 if (find_file(lml, clmp, flags, &fd, &_rej, pdp,
2094 trace_so(clmp, 0, fdp->fd_oname, fdp->fd_nname,
2101 return (load_file(lml, lmco, clmp, fdp, in_nfavl));
2108 load_trace(Lm_list *lml, Pdesc *pdp, Rt_map *clmp, Fdesc *fdp)
2118 ((FLAGS1(clmp) & FL1_RT_LDDSTUB) == 0))
2119 (void) printf(MSG_INTL(MSG_LDD_FIL_FIND), name, NAME(clmp));
2132 ((lml->lm_tflags | AFLAGS(clmp)) & LML_TFLG_AUD_ACTIVITY))
2133 audit_activity(clmp, LA_ACT_ADD);
2135 if ((lml->lm_tflags | AFLAGS(clmp)) & LML_TFLG_AUD_OBJSEARCH) {
2142 audit_objsearch(clmp, name, LA_SER_ORIG)) == NULL) {
2163 load_finish(Lm_list *lml, const char *name, Rt_map *clmp, int nmode,
2175 if (((rtld_flags & RT_FL_NOVERSION) == 0) && THIS_IS_ELF(clmp) &&
2176 VERNEED(clmp) && (elf_verify_vers(name, clmp, nlmp) == 0))
2283 if ((ghp = hdl_create(lml, nlmp, clmp, hflags, rdflags,
2313 if (GROUPS(clmp) == NULL)
2322 for (APLIST_TRAVERSE(GROUPS(clmp), idx1, ghp)) {
2337 if (gdp->gd_depend == clmp)
2414 load_path(Lm_list *lml, Aliste lmco, Rt_map *clmp, int nmode, uint_t flags,
2432 if ((nlmp = load_so(lml, lmco, clmp, flags, fdp, rej,
2462 remove_so(lml, nlmp, clmp);
2473 ((FLAGS1(clmp) & FL1_RT_LDDSTUB) == 0)) {
2475 NAME(clmp));
2503 if (load_finish(lml, name, clmp, nmode, flags, hdl, nlmp) == 0) {
2512 remove_so(lml, nlmp, clmp);
2525 if ((lml->lm_tflags | AFLAGS(clmp) | AFLAGS(nlmp)) &
2527 if (audit_objopen(clmp, nlmp) == 0) {
2528 remove_so(lml, nlmp, clmp);
2543 load_one(Lm_list *lml, Aliste lmco, Alist *palp, Rt_map *clmp, int mode,
2559 lmp = load_cap(lml, lmco, pdp->pd_pname, clmp,
2569 if (load_trace(lml, pdp, clmp, &fd) == NULL)
2575 lmp = load_path(lml, lmco, clmp, mode, flags, hdl, &fd,
2592 file_notfound(lml, name, clmp, flags, &rej);
2624 Rt_map *lmp, *clmp, *dlmp = srp->sr_dmap;
2656 clmp = dlmp;
2658 clmp = slp->sl_cmap;
2660 lml = LIST(clmp);
2751 if (callable(clmp, lmp, 0, sl.sl_flags)) {
2798 Rt_map *dlmp, *clmp = slp->sl_cmap;
2819 slp->sl_imap = LIST(clmp)->lm_head;
2821 if (ret = SYMINTP(clmp)(slp, srp, binfo, in_nfavl))
2843 for (APLIST_TRAVERSE(CALLERS(clmp), idx1, bdp)) {
2856 for (APLIST_TRAVERSE(HANDLES(clmp), idx1, ghp)) {
2875 sl.sl_imap = lmp = clmp;
2894 (LIST(dlmp) == LIST(clmp)))) {
2952 Rt_map *clmp = slp->sl_cmap;
2953 Lm_list *lml = LIST(clmp);
2975 ((sip = SYMINFO(clmp)) != NULL)) {
2983 sip = (Syminfo *)((char *)sip + (rsymndx * SYMINENT(clmp)));
3008 lmp = elf_lazy_load(clmp, slp, bound,
3022 if (((FLAGS(clmp) & FLG_RT_TRANS) ||
3025 ((FLAGS1(clmp) & FL1_RT_DIRECT) ||
3064 if ((FLAGS1(clmp) & FL1_RT_SYMBOLIC) &&
3067 sl.sl_imap = clmp;
3068 if (SYMINTP(clmp)(&sl, srp, binfo, in_nfavl)) {
3127 lmp = LIST(clmp)->lm_head;
3141 ret = rescan_lazy_find_sym(clmp, &sl, srp, binfo,
3171 Rt_map *clmp = slp->sl_cmap;
3198 slp->sl_imap = clmp;
3199 return (SYMINTP(clmp)(slp, srp, binfo, in_nfavl));
3241 mode = MODE(clmp);
3293 bind_one(Rt_map *clmp, Rt_map *dlmp, uint_t flags)
3303 for (APLIST_TRAVERSE(DEPENDS(clmp), idx, bdp)) {
3317 bdp->b_caller = clmp;
3325 if (aplist_append(&DEPENDS(clmp), bdp, AL_CNT_DEPENDS) == NULL)
3338 DBG_CALL(Dbg_file_bind_entry(LIST(clmp), bdp));