Searched refs:clmp (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Ddlfcns.c32 Dbg_dl_iphdr_enter(Rt_map *clmp, u_longlong_t cnt_map, u_longlong_t cnt_unmap) argument
34 Lm_list *lml = LIST(clmp);
40 dbg_print(lml, MSG_INTL(MSG_DL_IPHDR_ENTER), NAME(clmp));
79 Dbg_dl_dlopen(Rt_map *clmp, const char *name, int *in_nfavl, int mode) argument
82 Lm_list *lml = LIST(clmp);
101 dbg_print(lml, MSG_INTL(MSG_DL_DLOPEN), name, NAME(clmp), retry,
106 Dbg_dl_dlclose(Rt_map *clmp, const char *name, int flag) argument
109 Lm_list *lml = LIST(clmp);
120 dbg_print(lml, MSG_INTL(MSG_DL_DLCLOSE), name, NAME(clmp), str);
124 Dbg_dl_dldump(Rt_map *clmp, cons argument
139 Dbg_dl_dlerror(Rt_map *clmp, const char *str) argument
152 Dbg_dl_dladdr(Rt_map *clmp, void *addr) argument
164 Dbg_dl_dlsym(Rt_map *clmp, const char *sym, int *in_nfavl, const char *next, int type) argument
210 Dbg_dl_dlinfo(Rt_map *clmp, const char *name, int request, void *addr) argument
[all...]
H A Dutil.c202 Dbg_util_edge_in(Lm_list *lml, Rt_map *clmp, uint_t flags, Rt_map *dlmp, argument
218 if ((clmp == 0) || (ectoggle == 0))
220 if (clmp == 0) {
229 NAME(clmp), conv_bnd_type(flags, &bnd_type_buf));
235 Dbg_util_edge_out(Rt_map *clmp, Rt_map *dlmp) argument
242 dbg_print(LIST(clmp), MSG_INTL(MSG_UTL_EDGE_OUT), SORTVAL(clmp),
243 NAME(clmp), NAME(dlmp));
H A Daudit.c33 Dbg_audit_lib(Rt_map *clmp, const char *lib, int type) argument
35 Lm_list *clml = LIST(clmp);
55 dbg_print(clml, MSG_INTL(MSG_AUD_LIB), lib, NAME(clmp), str);
H A Dfiles.c393 Dbg_file_lazyload(Rt_map *clmp, const char *fname, const char *sname) argument
395 Lm_list *lml = LIST(clmp);
401 dbg_print(lml, MSG_INTL(MSG_FIL_LAZYLOAD), fname, NAME(clmp),
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Ddlfcns.c104 Rt_map *clmp; local
109 clmp = _caller(caller(), CL_EXECDEF);
111 DBG_CALL(Dbg_dl_dlerror(clmp, lasterr));
117 leave(LIST(clmp), 0);
190 * clmp - represents the caller who is requesting the handle.
200 hdl_create(Lm_list *lml, Rt_map *rlmp, Rt_map *clmp, uint_t hflags, argument
368 if (clmp && (hdl_add(ghp, clmp, cdflags, NULL) == NULL))
457 dlclose_core(Grp_hdl *ghp, Rt_map *clmp, Lm_list *lml) argument
473 DBG_CALL(Dbg_dl_dlclose(clmp, MSG_ORI
528 dlclose_intn(Grp_hdl *ghp, Rt_map *clmp) argument
569 dlclose_check(void *handle, Rt_map *clmp) argument
595 Rt_map *clmp; local
640 dlmopen_core(Lm_list *lml, Lm_list *olml, const char *path, int mode, Rt_map *clmp, uint_t flags, uint_t orig, int *in_nfavl) argument
856 dlmopen_intn(Lm_list *lml, const char *path, int mode, Rt_map *clmp, uint_t flags, uint_t orig) argument
973 dlmopen_check(Lm_list *lml, const char *path, int mode, Rt_map *clmp) argument
1019 Rt_map *clmp; local
1044 Rt_map *clmp; local
1066 Rt_map *clmp = slp->sl_cmap; local
1206 sym_lookup_in_caller(Rt_map *clmp, Slookup *slp, Sresult *srp, uint_t *binfo) argument
1223 dlsym_core(void *handle, const char *name, Rt_map *clmp, Rt_map **dlmp, int *in_nfavl) argument
1414 dlsym_intn(void *handle, const char *name, Rt_map *clmp, Rt_map **dlmp) argument
1487 dlsym_check(void *handle, const char *name, Rt_map *clmp, Rt_map **dlmp) argument
1517 Rt_map *clmp, *dlmp = NULL; local
1565 Rt_map *clmp, *almp; local
1600 Rt_map *clmp, *almp; local
1652 dldump_core(Rt_map *clmp, Rt_map *lmp, const char *ipath, const char *opath, int flags) argument
1720 Rt_map *clmp, *lmp; local
1792 dlinfo_core(void *handle, int request, void *p, Rt_map *clmp) argument
2186 Rt_map *clmp; local
2296 Rt_map *lmp, *clmp; local
[all...]
H A Daudit.c264 _audit_objsearch(APlist *list, char *oname, Rt_map *clmp, uint_t flags) argument
268 Lm_list *clml = LIST(clmp);
278 if ((acp = _audit_client(AUDINFO(clmp), almp)) == NULL)
306 audit_objsearch(Rt_map *clmp, const char *name, uint_t flags) argument
318 clmp, flags);
319 if (nname && AUDITORS(clmp) &&
320 (AUDITORS(clmp)->ad_flags & LML_TFLG_AUD_OBJSEARCH))
321 nname = _audit_objsearch(AUDITORS(clmp)->ad_list, nname,
322 clmp, flags);
326 DBG_CALL(Dbg_libs_audit(LIST(clmp), nam
335 _audit_activity(APlist *list, Rt_map *clmp, uint_t flags, Boolean client) argument
396 audit_activity(Rt_map *clmp, uint_t flags) argument
457 _audit_add_head(Rt_map *clmp, Rt_map *hlmp, int preinit, int activity) argument
631 audit_objopen(Rt_map *clmp, Rt_map *nlmp) argument
750 audit_objclose(Rt_map *lmp, Rt_map *clmp) argument
1102 _audit_preinit(APlist *list, Rt_map *clmp, Boolean client) argument
1144 Rt_map *clmp; local
1176 audit_desc_cleanup(Rt_map *clmp) argument
1218 remove_auditor(APlist *alp, Rt_map *clmp) argument
1235 audit_info_cleanup(Rt_map *clmp) argument
1363 audit_disable(char *name, Rt_map *clmp, Grp_hdl *ghp, Audit_list *alp) argument
1379 audit_setup(Rt_map *clmp, Audit_desc *adp, uint_t orig, int *in_nfavl) argument
[all...]
H A Danalyze.c105 analyze_lmc(Lm_list *lml, Aliste nlmco, Rt_map *nlmp, Rt_map *clmp, argument
152 if ((olmp = elf_obj_fini(lml, lmp, clmp,
465 relocate_lmc(Lm_list *lml, Aliste nlmco, Rt_map *clmp, Rt_map *nlmp, argument
534 remove_lmc(lml, clmp, nlmco, NAME(nlmp));
843 trace_so(Rt_map *clmp, Rej_desc *rej, const char *name, const char *path, argument
856 if (FLAGS1(clmp) & FL1_RT_LDDSTUB)
1096 file_notfound(Lm_list *lml, const char *name, Rt_map *clmp, uint_t flags, argument
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_ argument
1352 find_path(Lm_list *lml, Rt_map *clmp, uint_t flags, Fdesc *fdp, Rej_desc *rej, int *in_nfavl) argument
1413 _find_file(Lm_list *lml, Rt_map *clmp, uint_t flags, Fdesc *fdp, Rej_desc *rej, Pdesc *pdp, int aflag, int *in_nfavl) argument
1448 find_file(Lm_list *lml, Rt_map *clmp, uint_t flags, Fdesc *fdp, Rej_desc *rej, Pdesc *pdp, Word *strhash, int *in_nfavl) argument
1764 load_file(Lm_list *lml, Aliste lmco, Rt_map *clmp, Fdesc *fdp, int *in_nfavl) argument
1939 load_so(Lm_list *lml, Aliste lmco, Rt_map *clmp, uint_t flags, Fdesc *fdp, Rej_desc *rej, int *in_nfavl) argument
2108 load_trace(Lm_list *lml, Pdesc *pdp, Rt_map *clmp, Fdesc *fdp) argument
2163 load_finish(Lm_list *lml, const char *name, Rt_map *clmp, int nmode, uint_t flags, Grp_hdl **hdl, Rt_map *nlmp) argument
2414 load_path(Lm_list *lml, Aliste lmco, Rt_map *clmp, int nmode, uint_t flags, Grp_hdl **hdl, Fdesc *fdp, Rej_desc *rej, int *in_nfavl) argument
2543 load_one(Lm_list *lml, Aliste lmco, Alist *palp, Rt_map *clmp, int mode, uint_t flags, Grp_hdl **hdl, int *in_nfavl) argument
2624 Rt_map *lmp, *clmp, *dlmp = srp->sr_dmap; local
2798 Rt_map *dlmp, *clmp = slp->sl_cmap; local
2952 Rt_map *clmp = slp->sl_cmap; local
3171 Rt_map *clmp = slp->sl_cmap; local
3293 bind_one(Rt_map *clmp, Rt_map *dlmp, uint_t flags) argument
[all...]
H A Da.out.c126 aout_fix_name(const char *oname, Rt_map *clmp, Alist **alpp, Aliste alni, argument
157 DBG_CALL(Dbg_file_fixname(LIST(clmp), nname, oname));
197 aout_needed(Lm_list *lml, Aliste lmco, Rt_map *clmp, int *in_nfavl) argument
202 for (need = &TEXTBASE(clmp)[AOUTDYN(clmp)->v2->ld_need];
203 need != &TEXTBASE(clmp)[0];
204 need = &TEXTBASE(clmp)[((Lnk_obj *)(need))->lo_next]) {
208 name = &TEXTBASE(clmp)[((Lnk_obj *)(need))->lo_name];
249 for (pdp = get_next_dir(&sd, clmp, 0); pdp;
250 pdp = get_next_dir(&sd, clmp,
505 aout_new_lmp(Lm_list *lml, Aliste lmco, Fdesc *fdp, Addr addr, size_t msize, void *odyn, Rt_map *clmp, int *in_nfavl) argument
[all...]
H A Delf.c132 elf_fix_name(const char *name, Rt_map *clmp, Alist **alpp, Aliste alni, argument
150 DBG_CALL(Dbg_file_fixname(LIST(clmp), name,
163 return (expand_paths(clmp, name, alpp, alni, orig, 0));
361 elf_lazy_load(Rt_map *clmp, Slookup *slp, uint_t ndx, const char *sym, argument
366 Dyninfo *dip = &DYNINFO(clmp)[ndx], *pdip;
368 Lm_list *lml = LIST(clmp);
394 DBG_CALL(Dbg_file_lazyload(clmp, name, sym));
419 if (elf_fix_name(name, clmp, &palp, AL_CNT_NEEDED, 0) == 0)
434 load_one(lml, lmco, palp, clmp, MODE(clmp), flag
502 elf_verify_vers(const char *name, Rt_map *clmp, Rt_map *nlmp) argument
631 elf_needed(Lm_list *lml, Aliste lmco, Rt_map *clmp, int *in_nfavl) argument
821 Rt_map *clmp = slp->sl_cmap; local
1649 elf_new_lmp(Lm_list *lml, Aliste lmco, Fdesc *fdp, Addr addr, size_t msize, void *odyn, Rt_map *clmp, int *in_nfavl) argument
2689 Rt_map *lmp1, *lmp = slp->sl_imap, *clmp = slp->sl_cmap; local
[all...]
H A Dremove.c212 remove_so(Lm_list *lml, Rt_map *lmp, Rt_map *clmp) argument
223 lm_delete(lml, lmp, clmp);
445 Rt_map *clmp = bdp->b_caller; local
457 if (lazy && ((dip = DYNINFO(clmp)) != NULL)) {
458 uint_t cnt, max = DYNINFOCNT(clmp);
467 if (LAZY(clmp)++ == 0)
468 LIST(clmp)->lm_lazy++;
473 (void) aplist_delete_value(DEPENDS(clmp), bdp);
508 remove_incomplete(Lm_list *lml, Aliste lmco, Rt_map *clmp) argument
524 if ((lml->lm_tflags | AFLAGS(clmp))
850 remove_lmc(Lm_list *lml, Rt_map *clmp, Aliste lmco, const char *name) argument
1020 remove_hdl(Grp_hdl *ghp, Rt_map *clmp, int *removed) argument
1475 remove_so(LIST(lmp), lmp, clmp); local
[all...]
H A Dobject.c158 elf_obj_file(Lm_list *lml, Aliste lmco, Rt_map *clmp, const char *name, argument
181 remove_so(lml, olmp, clmp);
191 remove_so(lml, olmp, clmp);
233 elf_obj_fini(Lm_list *lml, Rt_map *lmp, Rt_map *clmp, int *in_nfavl) argument
333 ofl->ofl_size, NULL, clmp, in_nfavl)) == NULL)
H A Dpaths.c828 is_path_secure(char *opath, Rt_map *clmp, uint_t info, uint_t flags) argument
833 Lm_list *lml = LIST(clmp);
938 salpp = LM_SECURE_DIRS(LIST(clmp)->lm_head)();
952 if ((FLAGS1(clmp) & FL1_RT_LDDSTUB) == 0)
968 if ((FLAGS1(clmp) & FL1_RT_LDDSTUB) == 0) {
973 opath, NAME(clmp));
991 ((FLAGS1(clmp) & FL1_RT_LDDSTUB) == 0))
1029 expand_paths(Rt_map *clmp, const char *list, Alist **alpp, Aliste alni, argument
1090 clmp)) == 0)
1100 (is_path_secure(str, clmp, ori
[all...]
H A Dsetup.c92 preload(const char *str, Rt_map *mlmp, Rt_map **clmp) argument
108 (FLAGS1(*clmp) & FL1_RT_LDDSTUB);
137 if (expand_paths(*clmp, ptr, &palp, AL_CNT_NEEDED,
139 nlmp = load_one(&lml_main, ALIST_OFF_DATA, palp, *clmp,
144 if (nlmp && (bind_one(*clmp, nlmp, BND_NEEDED) == 0))
157 if (bind_one(*clmp, nlmp, BND_REFER) == 0)
170 *clmp = nlmp;
200 Rt_map *rlmp, *mlmp, *clmp, **tobj = NULL; local
1033 clmp = mlmp;
1034 if (rpl_preload && (preload(rpl_preload, mlmp, &clmp)
[all...]
H A Dtsort.c216 Rt_map *clmp = bdp->b_caller; local
221 if (CYCGROUP(lmp) != CYCGROUP(clmp))
308 _dep_visit(Lm_list *lml, int min, Rt_map *clmp, Rt_map *dlmp, uint_t bflags, argument
368 if ((_min = dep_visit(lml, clmp, bflags, dlmp,
380 DBG_CALL(Dbg_util_edge_out(clmp, sort->s_stack[_min]));
390 dep_visit(Lm_list *lml, Rt_map *clmp, uint_t cbflags, Rt_map *lmp, Sort *sort, argument
404 DBG_CALL(Dbg_util_edge_in(lml, clmp, cbflags, lmp, min, flag));
H A Dutil.c615 is_dep_init(Rt_map *dlmp, Rt_map *clmp) argument
623 if ((LIST(clmp)->lm_tflags & LML_TFLG_NOAUDIT) &&
627 if ((dlmp == clmp) || (rtld_flags & RT_FL_INITFIRST))
798 call_fini(Lm_list *lml, Rt_map **tobj, Rt_map *clmp) argument
842 audit_objclose(lmp, clmp);
1174 lm_delete(Lm_list *lml, Rt_map *lmp, Rt_map *clmp) argument
1196 if (clmp && (aud_activity ||
1197 ((LIST(clmp)->lm_tflags | AFLAGS(clmp)) & LML_TFLG_AUD_ACTIVITY)))
1198 audit_activity(clmp, LA_ACT_DELET
3337 Rt_map *clmp; local
3453 callable(Rt_map *clmp, Rt_map *dlmp, Grp_hdl *ghp, uint_t slflags) argument
[all...]
H A Dcap.c515 cap_dir(Alist **fdalpp, Lm_list *lml, const char *dname, Rt_map *clmp, argument
578 if (load_trace(lml, &pd, clmp, &fd) == NULL)
587 if (find_path(lml, clmp, flags, &fd, &_rej, in_nfavl) == 0) {
655 Rt_map *flmp, Rt_map *clmp, const char *ref, int mode, uint_t flags,
733 clmp, in_nfavl)) == NULL) ||
784 load_cap(Lm_list *lml, Aliste lmco, const char *dir, Rt_map *clmp, argument
796 if (cap_dir(&fdalp, lml, dir, clmp, flags, rej, in_nfavl) == 0)
806 if ((found == 0) && ((lmp = load_path(lml, lmco, clmp, mode,
654 cap_filtees(Alist **alpp, Aliste oidx, const char *dir, Aliste nlmco, Rt_map *flmp, Rt_map *clmp, const char *ref, int mode, uint_t flags, int *in_nfavl) argument

Completed in 117 milliseconds