Home
last modified time | relevance | path

Searched refs:sym_name (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v6.6/scripts/
Dfaddr2line99 local sym_name=${func_addr%+*}
107 if [[ -z $sym_name ]] || [[ -z $func_offset ]] || [[ $sym_name = $func_addr ]]; then
171 [[ $cur_sym_name = $sym_name ]]; then
185 …warn "can't find symbol: sym_name: $sym_name sym_sec: $sym_sec sym_addr: $sym_addr sym_elf_size: $…
214 echo "skipping $sym_name address at $addr due to size mismatch ($user_size != $sym_size)"
221 echo "skipping $sym_name address at $addr due to size mismatch ($func_offset > $sym_size)"
230 echo "$sym_name+$func_offset/$sym_size:"
263 …done < <(${READELF} --symbols --wide $objfile | sed 's/\[.*\]//' | ${AWK} -v fn=$sym_name '$4 == "…
Dkallsyms.c83 static char *sym_name(const struct sym_entry *s) in sym_name() function
185 strcpy(sym_name(sym), name); in read_symbol()
209 const char *name = sym_name(s); in symbol_valid()
367 ret = strcmp(sym_name(sa), sym_name(sb)); in compare_names()
707 const char *symbol = sym_name(se); in may_be_linker_script_provide_symbol()
764 wa = strspn(sym_name(sa), "_"); in compare_symbols()
765 wb = strspn(sym_name(sb), "_"); in compare_symbols()
/Linux-v6.6/kernel/debug/kdb/
Dkdb_support.c94 symtab->sym_name = kallsyms_lookup(addr, &symbolsize , &offset, in kdbnearsym()
97 symtab->sym_name = NULL; in kdbnearsym()
102 ret = symtab->sym_name != NULL && *(symtab->sym_name) != '\0'; in kdbnearsym()
107 ret, symtab->sym_start, symtab->mod_name, symtab->sym_name, symtab->sym_name); in kdbnearsym()
208 if (!(symtab_p2->sym_name || (punc & KDB_SP_VALUE))) in kdb_symbol_print()
214 if (symtab_p2->sym_name) { in kdb_symbol_print()
221 kdb_printf("%s", symtab_p2->sym_name); in kdb_symbol_print()
Dkdb_private.h81 const char *sym_name; /* Full symbol name, including member
/Linux-v6.6/tools/lib/bpf/
Dlinker.c172 Elf64_Sym *sym, const char *sym_name, int src_sym_idx);
1227 const char *sym_name; in linker_append_elf_syms() local
1240 sym_name = elf_strptr(obj->elf, str_sec_idx, sym->st_name); in linker_append_elf_syms()
1241 if (!sym_name) { in linker_append_elf_syms()
1246 err = linker_append_elf_sym(linker, obj, sym, sym_name, i); in linker_append_elf_syms()
1262 static struct glob_sym *find_glob_sym(struct bpf_linker *linker, const char *sym_name) in find_glob_sym() argument
1272 if (strcmp(name, sym_name) == 0) in find_glob_sym()
1298 static bool glob_sym_btf_matches(const char *sym_name, bool exact, in glob_sym_btf_matches() argument
1318 sym_name, n1, n2); in glob_sym_btf_matches()
1328 sym_name, btf_kflag(t1) ? "union" : "struct", btf_kind_str(t2)); in glob_sym_btf_matches()
[all …]
Dlibbpf.c4049 __u32 insn_idx, const char *sym_name, in bpf_program__record_reloc() argument
4062 prog->name, sym_name, insn_idx, insn->code); in bpf_program__record_reloc()
4078 prog->name, sym_name, sym_idx); in bpf_program__record_reloc()
4102 prog->name, sym_name, sym_sec_name); in bpf_program__record_reloc()
4107 prog->name, sym_name, (size_t)sym->st_value); in bpf_program__record_reloc()
4118 prog->name, sym_name, shdr_idx); in bpf_program__record_reloc()
4129 prog->name, sym_name, (size_t)sym->st_value, insn->imm); in bpf_program__record_reloc()
4146 prog->name, sym_name, sym_sec_name); in bpf_program__record_reloc()
4242 const char *sym_name; in bpf_object__collect_prog_relos() local
4299 sym_name = elf_sec_name(obj, elf_sec_by_idx(obj, sym->st_shndx)); in bpf_object__collect_prog_relos()
[all …]
/Linux-v6.6/security/selinux/ss/
Dmls.c49 len += strlen(sym_name(p, SYM_LEVELS, index_sens - 1)); in mls_compute_context_len()
59 nm = sym_name(p, SYM_CATS, prev); in mls_compute_context_len()
62 nm = sym_name(p, SYM_CATS, i); in mls_compute_context_len()
69 nm = sym_name(p, SYM_CATS, prev); in mls_compute_context_len()
107 strcpy(scontextp, sym_name(p, SYM_LEVELS, in mls_sid_to_context()
123 nm = sym_name(p, SYM_CATS, prev); in mls_sid_to_context()
131 nm = sym_name(p, SYM_CATS, i); in mls_sid_to_context()
144 nm = sym_name(p, SYM_CATS, prev); in mls_sid_to_context()
168 sym_name(p, SYM_LEVELS, l->sens - 1)); in mls_level_isvalid()
462 char *name = sym_name(oldp, SYM_LEVELS, in mls_convert_context()
[all …]
Dservices.c476 tclass_name = sym_name(policydb, SYM_CLASSES, tclass - 1); in security_dump_masked_av()
736 o, n, t, sym_name(p, SYM_CLASSES, tclass-1)); in security_validtrans_handle_fail()
1234 *scontext_len += strlen(sym_name(p, SYM_USERS, context->user - 1)) + 1; in context_struct_to_string()
1235 *scontext_len += strlen(sym_name(p, SYM_ROLES, context->role - 1)) + 1; in context_struct_to_string()
1236 *scontext_len += strlen(sym_name(p, SYM_TYPES, context->type - 1)) + 1; in context_struct_to_string()
1252 sym_name(p, SYM_USERS, context->user - 1), in context_struct_to_string()
1253 sym_name(p, SYM_ROLES, context->role - 1), in context_struct_to_string()
1254 sym_name(p, SYM_TYPES, context->type - 1)); in context_struct_to_string()
1653 s, t, sym_name(policydb, SYM_CLASSES, tclass-1)); in compute_sid_handle_invalid_context()
2037 sym_name(args->oldp, SYM_USERS, oldc->user - 1)); in services_convert_context()
[all …]
Dpolicydb.h385 static inline char *sym_name(struct policydb *p, unsigned int sym_num, unsigned int element_nr) in sym_name() function
/Linux-v6.6/tools/perf/util/
Dmap.h153 #define __map__for_each_symbol_by_name(map, sym_name, pos, idx) \ argument
154 for (pos = map__find_symbol_by_name_idx(map, sym_name, &idx); \
156 !symbol__match_symbol_name(pos->name, sym_name, \
160 #define map__for_each_symbol_by_name(map, sym_name, pos, idx) \ argument
161 __map__for_each_symbol_by_name(map, sym_name, (pos), idx)
Dauxtrace.c2393 static int sym_not_found_error(const char *sym_name, int idx) in sym_not_found_error() argument
2397 idx, sym_name); in sym_not_found_error()
2399 pr_err("Global symbol '%s' not found.\n", sym_name); in sym_not_found_error()
2401 pr_err("Symbol '%s' not found.\n", sym_name); in sym_not_found_error()
2408 static int find_kern_sym(const char *sym_name, u64 *start, u64 *size, int idx) in find_kern_sym() argument
2411 .name = sym_name, in find_kern_sym()
2428 pr_err("Multiple kernel symbols with name '%s'\n", sym_name); in find_kern_sym()
2432 sym_name); in find_kern_sym()
2439 return sym_not_found_error(sym_name, idx); in find_kern_sym()
2580 static void print_duplicate_syms(struct dso *dso, const char *sym_name) in print_duplicate_syms() argument
[all …]
/Linux-v6.6/drivers/scsi/bfa/
Dbfa_fcs.c764 strscpy(port_cfg->sym_name.symname, model, in bfa_fcs_fabric_psymb_init()
766 strlcat(port_cfg->sym_name.symname, BFA_FCS_PORT_SYMBNAME_SEPARATOR, in bfa_fcs_fabric_psymb_init()
770 strlcat(port_cfg->sym_name.symname, driver_info->version, in bfa_fcs_fabric_psymb_init()
772 strlcat(port_cfg->sym_name.symname, BFA_FCS_PORT_SYMBNAME_SEPARATOR, in bfa_fcs_fabric_psymb_init()
776 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
779 strlcat(port_cfg->sym_name.symname, BFA_FCS_PORT_SYMBNAME_SEPARATOR, in bfa_fcs_fabric_psymb_init()
788 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
791 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
795 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
798 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
[all …]
Dbfad_attr.c368 strcpy((char *)&port_cfg.sym_name, vname); in bfad_im_vport_create()
573 char *sym_name = fc_vport->symbolic_name; in bfad_im_vport_set_symbolic_name() local
588 if (strlen(sym_name) > 0) in bfad_im_vport_set_symbolic_name()
589 bfa_fcs_lport_set_symname(&fcs_vport->lport, sym_name); in bfad_im_vport_set_symbolic_name()
837 strscpy(symname, port_attr.port_cfg.sym_name.symname, in bfad_im_symbolic_name_show()
Dbfa_defs_fcs.h88 struct bfa_lport_symname_s sym_name; /* vm port symbolic name */ member
/Linux-v6.6/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c162 "ISTAT=0x%02x.\n", sym_name(np), istat); in sym_soft_reset()
215 sym_name(np)); in sym_reset_scsi_bus()
218 sym_name(np), in sym_reset_scsi_bus()
243 printf ("%s: enabling clock multiplier\n", sym_name(np)); in sym_selectclock()
256 sym_name(np)); in sym_selectclock()
356 sym_name(np), gen, ms/4, f); in getfreq()
389 printf ("%s: clock multiplier found\n", sym_name(np)); in sym_getclock()
403 printf ("%s: chip clock is %uKHz\n", sym_name(np), f1); in sym_getclock()
412 sym_name(np)); in sym_getclock()
918 printf("%s: %s, ID %d, Fast-%d, %s, %s\n", sym_name(np),
[all …]
Dsym_glue.c143 printf_notice("%s: SCSI BUS has been reset.\n", sym_name(np)); in sym_xpt_async_bus_reset()
148 sym_name(np), sym_driver_setup.settle_delay); in sym_xpt_async_bus_reset()
441 sym_name(np)); in sym_timer()
1296 printf_warning("%s: No suitable DMA available\n", sym_name(np)); in sym_attach()
1311 sym_name(np), pdev->irq); in sym_attach()
1362 "TERMINATION, DEVICE POWER etc.!\n", sym_name(np)); in sym_attach()
1604 printk("%s: detaching ...\n", sym_name(np)); in sym_detach()
1613 printk("%s: resetting chip\n", sym_name(np)); in sym_detach()
1806 sym_name(np)); in sym2_io_slot_reset()
1810 sym_name(np)); in sym2_io_slot_reset()
[all …]
Dsym_nvram.c149 sym_name(np), nvram->host_id & 0x0f, in sym_display_Symbios_nvram()
161 sym_name(np), i, in sym_display_Symbios_nvram()
193 sym_name(np), nvram->host_id & 0x0f, in sym_display_Tekram_nvram()
211 sym_name(np), i, in sym_display_Tekram_nvram()
Dsym_fw.c369 sym_name(np), (int) (cur-start)); in sym_fw_bind_script()
412 sym_name(np), (int) (cur-start)); in sym_fw_bind_script()
Dsym_glue.h184 #define sym_name(np) (np)->s.inst_name macro
/Linux-v6.6/arch/x86/tools/
Drelocs.c121 static int is_reloc(enum symtype type, const char *sym_name) in is_reloc() argument
124 !regexec(&sym_regex_c[type], sym_name, 0, NULL, 0); in is_reloc()
271 static const char *sym_name(const char *sym_strtab, Elf_Sym *sym) in sym_name() function
617 name = sym_name(sym_strtab, sym); in print_absolute_symbols()
664 name = sym_name(sym_strtab, sym); in print_absolute_relocs()
746 const char *symname = sym_name(sym_strtab, sym); in walk_relocs()
/Linux-v6.6/arch/x86/entry/vdso/
Dvdso2c.h131 const char *sym_name = raw_addr + in BITSFUNC() local
136 if (!strcmp(sym_name, required_syms[k].name)) { in BITSFUNC()
/Linux-v6.6/arch/mips/boot/tools/
Drelocs.c41 static int regex_skip_reloc(const char *sym_name) in regex_skip_reloc() argument
43 return !regexec(&sym_regex_c, sym_name, 0, NULL, 0); in regex_skip_reloc()
119 static const char *sym_name(const char *sym_strtab, Elf_Sym *sym) in sym_name() function
493 const char *symname = sym_name(sym_strtab, sym); in walk_relocs()
/Linux-v6.6/drivers/crypto/intel/qat/qat_common/
Dicp_qat_uclo.h284 unsigned int sym_name; member
294 unsigned int sym_name; member
/Linux-v6.6/kernel/livepatch/
Dcore.c198 char sym_name[KSYM_NAME_LEN]; in klp_resolve_symbols() local
230 sym_objname, sym_name, &sympos); in klp_resolve_symbols()
247 sym_name); in klp_resolve_symbols()
253 sym_name, sympos, &addr); in klp_resolve_symbols()
/Linux-v6.6/tools/bpf/bpftool/
Dprog.c774 char sym_name[SYM_MAX_NAME]; in prog_dump() local
792 sprintf(sym_name, "%s", sym->name); in prog_dump()
794 sprintf(sym_name, "0x%016llx", ksyms[i]); in prog_dump()
796 strcpy(sym_name, "unknown"); in prog_dump()
813 jsonw_string(json_wtr, sym_name); in prog_dump()
818 printf("%s:\n", sym_name); in prog_dump()

12