Home
last modified time | relevance | path

Searched refs:symid (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/test/util-tests/tests/ctf/
H A Dcheck-merge-static.c74 check_global(ctf_file_t *fp, GElf_Sym *symp, int symid, const char *file, in check_global() argument
85 if ((tid = ctf_lookup_by_symbol(fp, symid)) == CTF_ERR) { in check_global()
86 warnx("failed to get type for symbol %s (%d): %s", name, symid, in check_global()
93 name, symid, ctf_errmsg(ctf_errno(fp))); in check_global()
99 name, symid, buf, type); in check_global()
107 check_mumble(ctf_file_t *fp, GElf_Sym *symp, int symid, const char *file, in check_mumble() argument
124 if (ctf_func_info(fp, symid, &fi) != 0) { in check_mumble()
126 name, symid, ctf_errmsg(ctf_errno(fp))); in check_mumble()
132 "expected %d", name, symid, fi.ctc_argc, 1); in check_mumble()
138 "expected %d", name, symid, fi.ctc_flags, 0); in check_mumble()
[all …]
/illumos-gate/usr/src/cmd/sgs/dump/common/
H A Ddump.c293 int type, symid; in print_rela() local
316 symid = (int)GELF_R_SYM(rela.r_info); in print_rela()
318 if ((symid > (no_syms - 1)) || (symid < 0)) { in print_rela()
321 symid, p_scns->scn_name); in print_rela()
325 (void) gelf_getsym(sym_data, symid, &sym); in print_rela()
346 if ((symid < d_low) || (symid > d_hi)) { in print_rela()
354 (void) printf("%-22d%-18d", symid, type); in print_rela()
370 (void) printf("%-22d", symid); in print_rela()
397 int type, symid; in print_rel() local
421 symid = (int)GELF_R_SYM(rel.r_info); in print_rel()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_dl.c101 uint_t symid; in dl_findsym() local
104 &symid) < 0) in dl_findsym()
H A Dkmdb_module.c92 uint_t symid; in kmdb_module_lookup_by_addr() local
121 symid = sip->sym_id; in kmdb_module_lookup_by_addr()
129 sip->sym_id = symid; in kmdb_module_lookup_by_addr()
H A Dkmdb_kvm.c871 uint_t symid; in kmt_lookup_by_addr() local
916 symid = sip->sym_id; in kmt_lookup_by_addr()
939 sip->sym_id = symid; in kmt_lookup_by_addr()
978 uint_t symid; in kmt_lookup_by_name() local
1023 &sym, &symid) == 0 && sym.st_shndx != SHN_UNDEF) in kmt_lookup_by_name()
1032 sip->sym_id = symid; in kmt_lookup_by_name()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_kproc.c578 uint_t symid; in kp_lookup_by_name() local
621 symid = sip->sym_id; in kp_lookup_by_name()
630 sip->sym_id = symid; in kp_lookup_by_name()
645 uint_t symid; in kp_lookup_by_addr() local
661 symid = sip->sym_id; in kp_lookup_by_addr()
703 symid = sip->sym_id; in kp_lookup_by_addr()
711 sip->sym_id = symid; in kp_lookup_by_addr()
H A Dmdb_kvm.c907 uint_t symid; /* ID of best symbol found so far */ in kt_lookup_by_addr() local
956 symid = sip->sym_id; in kt_lookup_by_addr()
964 sip->sym_id = symid; in kt_lookup_by_addr()
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap.c42 ap_symid(apd_t *a, char *apid, char *symid, size_t bufsize) in ap_symid() argument
51 *symid = '\0'; in ap_symid()
79 (void) snprintf(symid, bufsize, "%s", dp->d_name); in ap_symid()