Searched refs:lmid (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj_lm.c48 kobj_lm_lookup(int lmid) argument
50 if (lmid < 0 || lmid >= KOBJ_LM_NENT)
53 return (kobj_linkmaps[lmid]);
57 kobj_lm_append(int lmid, struct modctl *modp) argument
61 if (lmid < 0 || lmid >= KOBJ_LM_NENT)
64 lpp = &kobj_linkmaps[lmid];
83 kobj_lm_dump(int lmid) argument
87 for (lp = kobj_lm_lookup(lmid); l
[all...]
H A Dkobj.c1090 add_primary(const char *filename, int lmid) argument
1129 kobj_lm_append(lmid, cp);
1135 bind_primary(val_t *bootaux, int lmid) argument
1137 struct modctl_list *linkmap = kobj_lm_lookup(lmid);
1295 load_primary(struct module *mp, int lmid) argument
1330 cp = add_primary(modname, lmid);
1351 if (load_primary(dmp, lmid) == -1) {
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddlink_init.c51 Lmid_t lmid; local
60 if (dlinfo(RTLD_SELF, RTLD_DI_LMID, &lmid) == -1) {
65 dtrace_link_dof(&__SUNW_dof, lmid, lmp->l_name, lmp->l_addr);
H A Ddlink_common.c96 dtrace_link_dof(dof_hdr_t *dof, Lmid_t lmid, const char *name, uintptr_t addr) argument
129 if (lmid == LM_ID_BASE) {
134 "LM%lu`%s", lmid, modname);
H A Ddlink_audit.c70 la_objopen(Link_map *lmp, Lmid_t lmid, uintptr_t *cookie) argument
85 node->ol_lmid = lmid;
H A Ddt_pid.c66 * Compose the lmid and object name into the canonical representation. We
67 * omit the lmid for the default link map for convenience.
70 dt_pid_objname(char *buf, size_t len, Lmid_t lmid, const char *obj) argument
72 if (lmid == LM_ID_BASE)
75 (void) snprintf(buf, len, "LM%lx`%s", lmid, obj);
398 Lmid_t lmid = PR_LMID_EVERY; local
412 lmid = strtoul(&pdp->dtpd_mod[2], &end, 16);
423 if ((pmp = Plmid_to_map(P, lmid, obj)) == NULL)
432 (void) Plmid(P, pmp->pr_vaddr, &lmid);
433 dt_pid_objname(pdp->dtpd_mod, sizeof (pdp->dtpd_mod), lmid, ob
791 Lmid_t lmid; local
[all...]
H A Ddt_module.c568 Lmid_t lmid; local
596 if (Plmid(dcp->dpa_proc, prmap->pr_vaddr, &lmid) != 0)
597 lmid = 0;
599 if (lmid == 0)
603 "LM%lx`%s", lmid, p);
/illumos-gate/usr/src/cmd/sgs/libcrle/common/
H A Daudit.c113 la_objopen(Link_map * lmp, Lmid_t lmid, uintptr_t *cookie) argument
118 if ((lmid == LM_ID_BASE) &&
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dsymbindrep.c68 la_objopen(Link_map *lmp, Lmid_t lmid, uintptr_t *cookie) argument
H A Dperfcnt.c142 la_objopen(Link_map *lmp, Lmid_t lmid, uintptr_t *cookie) argument
H A Dtruss.c152 la_objopen(Link_map *lmp, Lmid_t lmid, uintptr_t *cookie) argument
H A Dwho.c266 la_objopen(Link_map *lmp, Lmid_t lmid, uintptr_t *cookie) argument
H A Dbindings.c339 la_objopen(Link_map *lmp, Lmid_t lmid, uintptr_t *cookie) argument
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_dl.c59 dlmopen(Lmid_t lmid, const char *pathname, int mode) argument
/illumos-gate/usr/src/lib/libproc/common/
H A DPsymtab.c377 dprintf("loaded rd object %s lmid %lx\n",
659 Plmid_to_map(struct ps_prochandle *P, Lmid_t lmid, const char *name) argument
666 if ((mptr = object_name_to_map(P, lmid, name)) != NULL)
699 Plmid_to_loadobj(struct ps_prochandle *P, Lmid_t lmid, const char *name) argument
706 if ((mptr = object_name_to_map(P, lmid, name)) == NULL)
819 Plmid_to_ctf(struct ps_prochandle *P, Lmid_t lmid, const char *name) argument
827 if ((mptr = object_name_to_map(P, lmid, name)) == NULL ||
2034 * specifying a particular link map id. If lmid is PR_LMID_EVERY, the
2038 object_to_map(struct ps_prochandle *P, Lmid_t lmid, const char *objname) argument
2050 lmid
2120 object_name_to_map(struct ps_prochandle *P, Lmid_t lmid, const char *name) argument
2483 Pxlookup_by_name( struct ps_prochandle *P, Lmid_t lmid, const char *oname, const char *sname, GElf_Sym *symp, prsyminfo_t *sip) argument
2761 Psymbol_iter_com(struct ps_prochandle *P, Lmid_t lmid, const char *object_name, int which, int mask, pr_order_t order, proc_xsym_f *func, void *cd) argument
2886 Pxsymbol_iter(struct ps_prochandle *P, Lmid_t lmid, const char *object_name, int which, int mask, proc_xsym_f *func, void *cd) argument
2894 Psymbol_iter_by_lmid(struct ps_prochandle *P, Lmid_t lmid, const char *object_name, int which, int mask, proc_sym_f *func, void *cd) argument
[all...]
H A Dllib-lproc184 const prmap_t *Plmid_to_map(struct ps_prochandle *Pr, Lmid_t lmid,
192 Lmid_t lmid, const char *object_name, const char *symbol_name,
211 int Psymbol_iter_by_lmid(struct ps_prochandle *Pr, Lmid_t lmid,
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dfiles.c90 const char *lmid, Aliste lmco)
97 dbg_print(lml, MSG_INTL(MSG_FIL_DATA_LL), lmid, EC_XWORD(lmco));
102 const char *lmid, Aliste lmco)
116 dbg_print(lml, MSG_INTL(MSG_FIL_DATA_LL), lmid, EC_XWORD(lmco));
120 Dbg_file_ldso(Rt_map *lmp, char **envp, auxv_t *auxv, const char *lmid, argument
134 dbg_print(lml, MSG_INTL(MSG_FIL_DATA_LL), lmid, EC_XWORD(lmco));
89 Dbg_file_aout(Lm_list *lml, const char *name, Addr addr, size_t size, const char *lmid, Aliste lmco) argument
101 Dbg_file_elf(Lm_list *lml, const char *name, Addr addr, size_t size, const char *lmid, Aliste lmco) argument
H A Daudit.c215 Dbg_audit_skip(Lm_list *lml, const char *name, const char *lmid) argument
220 dbg_print(lml, MSG_INTL(MSG_AUD_SKIP), name, lmid);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c2496 Lmid_t lmid = PR_LMID_EVERY; local
2500 lmid = LM_ID_BASE; /* restrict scope to a.out's link map */
2504 lmid = strntoul(object, (size_t)(p - object), mdb.m_radix);
2508 *lmidp = lmid;
2513 tlsbase(mdb_tgt_t *t, mdb_tgt_tid_t tid, Lmid_t lmid, const char *object, argument
2537 if ((loadobjp = Plmid_to_loadobj(t->t_pshandle, lmid, object)) == NULL)
2623 Lmid_t lmid; local
2627 object = pt_resolve_lmid(object, &lmid);
2634 pl.pl_lmid = lmid;
2650 * This can fail either due to an invalid lmid o
2890 Lmid_t lmid; local
2942 Lmid_t lmid = PR_LMID_EVERY; local
2975 Lmid_t lmid; local
3031 Lmid_t lmid; local
3199 Lmid_t lmid; local
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Daudit.c460 Lmid_t lmid = get_linkmap_id(clml); local
508 flags = (*alp->al_objopen)((Link_map *)hlmp, lmid,
560 _audit_objopen(APlist *list, Rt_map *nlmp, Lmid_t lmid, Audit_info *aip, argument
588 flags = (*alp->al_objopen)((Link_map *)nlmp, lmid,
633 Lmid_t lmid = get_linkmap_id(LIST(nlmp)); local
685 lmid, aip, &ndx);
688 lmid, aip, &ndx);
691 lmid, aip, &ndx);
1348 * identify the lmid of the caller, here we use the lmid o
[all...]
H A Ddlfcns.c608 static uint_t lmid = 0; variable
620 if (lmid == UINT_MAX) {
625 lml->lm_lmid = lmid++;
1041 dlmopen(Lmid_t lmid, const char *path, int mode) argument
1051 ghp = dlmopen_check((Lm_list *)lmid, path, mode, clmp);
/illumos-gate/usr/src/cmd/sgs/ldprof/common/
H A Dprofile.c376 la_objopen(Link_map *lmp, Lmid_t lmid, uintptr_t *cookie) argument
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dapptrace.c331 la_objopen(Link_map *lmp, Lmid_t lmid, uintptr_t *cookie) argument

Completed in 107 milliseconds