Lines Matching refs:symname
536 ctf_lookup_symbol_idx (ctf_dict_t *fp, const char *symname) in ctf_lookup_symbol_idx() argument
550 if ((symp = ctf_dynhash_lookup (fp->ctf_dynsyms, symname)) == NULL) in ctf_lookup_symbol_idx()
576 if (ctf_dynhash_lookup_kv (cache->ctf_symhash, symname, NULL, &known_idx)) in ctf_lookup_symbol_idx()
598 if (strcmp (sym.st_name, symname) == 0) in ctf_lookup_symbol_idx()
613 if (strcmp (sym.st_name, symname) == 0) in ctf_lookup_symbol_idx()
629 return ctf_lookup_symbol_idx (fp->ctf_parent, symname); in ctf_lookup_symbol_idx()
794 const char *symname, int is_function) in ctf_try_lookup_indexed() argument
802 if (symname == NULL) in ctf_try_lookup_indexed()
803 symname = ctf_lookup_symbol_name (fp, symidx); in ctf_try_lookup_indexed()
806 "indexed symtypetab\n", symidx, symname); in ctf_try_lookup_indexed()
808 if (symname[0] == '\0') in ctf_try_lookup_indexed()
853 ctf_lookup_idx_key_t key = { fp, symname, names }; in ctf_try_lookup_indexed()
860 ctf_dprintf ("%s not found in idx\n", symname); in ctf_try_lookup_indexed()
868 ctf_dprintf ("Symbol %lx (%s) is of type %x\n", symidx, symname, in ctf_try_lookup_indexed()
881 const char *symname) in ctf_lookup_by_sym_or_name() argument
892 if (symname) in ctf_lookup_by_sym_or_name()
894 "writable dict symtypetab\n", symname); in ctf_lookup_by_sym_or_name()
904 if (!symname) in ctf_lookup_by_sym_or_name()
917 symname = sym->st_name; in ctf_lookup_by_sym_or_name()
922 ctf_dynhash_lookup (fp->ctf_objthash, symname)) == 0)) in ctf_lookup_by_sym_or_name()
926 ctf_dynhash_lookup (fp->ctf_funchash, symname)) == 0)) in ctf_lookup_by_sym_or_name()
934 if (symname && fp->ctf_flags & LCTF_RDWR) in ctf_lookup_by_sym_or_name()
938 ctf_dynhash_lookup (fp->ctf_objthash, symname)) == 0)) in ctf_lookup_by_sym_or_name()
942 ctf_dynhash_lookup (fp->ctf_funchash, symname)) == 0)) in ctf_lookup_by_sym_or_name()
955 if (symname == NULL && symidx >= fp->ctf_nsyms) in ctf_lookup_by_sym_or_name()
960 if ((type = ctf_try_lookup_indexed (fp, symidx, symname, 0)) == CTF_ERR) in ctf_lookup_by_sym_or_name()
965 if ((type = ctf_try_lookup_indexed (fp, symidx, symname, 1)) == CTF_ERR) in ctf_lookup_by_sym_or_name()
979 if (symname != NULL) in ctf_lookup_by_sym_or_name()
980 if ((symidx = ctf_lookup_symbol_idx (fp, symname)) == (unsigned long) -1) in ctf_lookup_by_sym_or_name()
996 symname); in ctf_lookup_by_sym_or_name()
1016 ctf_lookup_by_symbol_name (ctf_dict_t *fp, const char *symname) in ctf_lookup_by_symbol_name() argument
1018 return ctf_lookup_by_sym_or_name (fp, 0, symname); in ctf_lookup_by_symbol_name()