Lines Matching refs:symname

539 ctf_lookup_symbol_idx (ctf_dict_t *fp, const char *symname)  in ctf_lookup_symbol_idx()  argument
553 if ((symp = ctf_dynhash_lookup (fp->ctf_dynsyms, symname)) == NULL) in ctf_lookup_symbol_idx()
579 if (ctf_dynhash_lookup_kv (cache->ctf_symhash, symname, NULL, &known_idx)) in ctf_lookup_symbol_idx()
601 if (strcmp (sym.st_name, symname) == 0) in ctf_lookup_symbol_idx()
616 if (strcmp (sym.st_name, symname) == 0) in ctf_lookup_symbol_idx()
635 if ((psym = ctf_lookup_symbol_idx (fp->ctf_parent, symname)) in ctf_lookup_symbol_idx()
806 const char *symname, int is_function) in ctf_try_lookup_indexed() argument
814 if (symname == NULL) in ctf_try_lookup_indexed()
815 symname = ctf_lookup_symbol_name (fp, symidx); in ctf_try_lookup_indexed()
818 "indexed symtypetab\n", symidx, symname); in ctf_try_lookup_indexed()
820 if (symname[0] == '\0') in ctf_try_lookup_indexed()
865 ctf_lookup_idx_key_t key = { fp, symname, names }; in ctf_try_lookup_indexed()
872 ctf_dprintf ("%s not found in idx\n", symname); in ctf_try_lookup_indexed()
880 ctf_dprintf ("Symbol %lx (%s) is of type %x\n", symidx, symname, in ctf_try_lookup_indexed()
893 const char *symname) in ctf_lookup_by_sym_or_name() argument
904 if (symname) in ctf_lookup_by_sym_or_name()
906 "writable dict symtypetab\n", symname); in ctf_lookup_by_sym_or_name()
916 if (!symname) in ctf_lookup_by_sym_or_name()
929 symname = sym->st_name; in ctf_lookup_by_sym_or_name()
934 ctf_dynhash_lookup (fp->ctf_objthash, symname)) == 0)) in ctf_lookup_by_sym_or_name()
938 ctf_dynhash_lookup (fp->ctf_funchash, symname)) == 0)) in ctf_lookup_by_sym_or_name()
946 if (symname && fp->ctf_flags & LCTF_RDWR) in ctf_lookup_by_sym_or_name()
950 ctf_dynhash_lookup (fp->ctf_objthash, symname)) == 0)) in ctf_lookup_by_sym_or_name()
954 ctf_dynhash_lookup (fp->ctf_funchash, symname)) == 0)) in ctf_lookup_by_sym_or_name()
967 if (symname == NULL && symidx >= fp->ctf_nsyms) in ctf_lookup_by_sym_or_name()
972 if ((type = ctf_try_lookup_indexed (fp, symidx, symname, 0)) == CTF_ERR) in ctf_lookup_by_sym_or_name()
977 if ((type = ctf_try_lookup_indexed (fp, symidx, symname, 1)) == CTF_ERR) in ctf_lookup_by_sym_or_name()
991 if (symname != NULL) in ctf_lookup_by_sym_or_name()
992 if ((symidx = ctf_lookup_symbol_idx (fp, symname)) == (unsigned long) -1) in ctf_lookup_by_sym_or_name()
1008 symname); in ctf_lookup_by_sym_or_name()
1028 ctf_lookup_by_symbol_name (ctf_dict_t *fp, const char *symname) in ctf_lookup_by_symbol_name() argument
1030 return ctf_lookup_by_sym_or_name (fp, 0, symname); in ctf_lookup_by_symbol_name()