/linux-6.3-rc2/scripts/ |
A D | faddr2line | 99 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 == "…
|
A D | kallsyms.c | 98 static char *sym_name(const struct sym_entry *s) in sym_name() function 262 strcpy(sym_name(sym), name); in read_symbol() 286 const char *name = sym_name(s); in symbol_valid() 783 const char *symbol = sym_name(se); in may_be_linker_script_provide_symbol() 840 wa = strspn(sym_name(sa), "_"); in compare_symbols() 841 wb = strspn(sym_name(sb), "_"); in compare_symbols()
|
/linux-6.3-rc2/kernel/debug/kdb/ |
A D | kdb_support.c | 94 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()
|
A D | kdb_private.h | 81 const char *sym_name; /* Full symbol name, including member
|
/linux-6.3-rc2/tools/lib/bpf/ |
A D | linker.c | 1215 const char *sym_name; in linker_append_elf_syms() local 1229 if (!sym_name) { in linker_append_elf_syms() 1260 if (strcmp(name, sym_name) == 0) in find_glob_sym() 1306 sym_name, n1, n2); in glob_sym_btf_matches() 1428 sym_name, i, n1, n2); in glob_sym_btf_matches() 1433 sym_name, i, n1); in glob_sym_btf_matches() 1475 sym_name, btf_kind_str(t1)); in glob_sym_btf_matches() 1625 btf_kind_str(src_t), sym_name); in glob_syms_match() 1668 if (strcmp(name, sym_name) != 0) in find_glob_sym_btf() 1693 sym_name, btf_id, vi->type); in find_glob_sym_btf() [all …]
|
/linux-6.3-rc2/security/selinux/ss/ |
A D | mls.c | 49 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() 460 char *name = sym_name(oldp, SYM_LEVELS, in mls_convert_context() [all …]
|
A D | services.c | 476 tclass_name = sym_name(policydb, SYM_CLASSES, tclass - 1); in security_dump_masked_av() 737 o, n, t, sym_name(p, SYM_CLASSES, tclass-1)); in security_validtrans_handle_fail() 1263 sym_name(p, SYM_USERS, context->user - 1), in context_struct_to_string() 1264 sym_name(p, SYM_ROLES, context->role - 1), in context_struct_to_string() 1265 sym_name(p, SYM_TYPES, context->type - 1)); in context_struct_to_string() 1676 s, t, sym_name(policydb, SYM_CLASSES, tclass-1)); in compute_sid_handle_invalid_context() 2071 sym_name(args->oldp, SYM_USERS, oldc->user - 1)); in services_convert_context() 2078 sym_name(args->oldp, SYM_ROLES, oldc->role - 1)); in services_convert_context() 2085 sym_name(args->oldp, SYM_TYPES, oldc->type - 1)); in services_convert_context() 3048 (*names)[i] = kstrdup(sym_name(policydb, SYM_BOOLS, i), in security_get_bools() [all …]
|
A D | policydb.h | 382 static inline char *sym_name(struct policydb *p, unsigned int sym_num, unsigned int element_nr) in sym_name() function
|
/linux-6.3-rc2/tools/perf/util/ |
A D | map.h | 85 #define __map__for_each_symbol_by_name(map, sym_name, pos) \ argument 86 for (pos = map__find_symbol_by_name(map, sym_name); \ 88 !symbol__match_symbol_name(pos->name, sym_name, \ 92 #define map__for_each_symbol_by_name(map, sym_name, pos) \ argument 93 __map__for_each_symbol_by_name(map, sym_name, (pos))
|
A D | auxtrace.c | 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() 2411 .name = 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() 2583 pr_err("Multiple symbols with name '%s'\n", sym_name); in print_duplicate_syms() 2587 if (dso_sym_match(sym, sym_name, &cnt, -1)) { in print_duplicate_syms() 2602 sym_name); in print_duplicate_syms() 2624 print_duplicate_syms(dso, sym_name); in find_dso_sym() [all …]
|
/linux-6.3-rc2/drivers/scsi/bfa/ |
A D | bfa_fcs.c | 764 strlcpy(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() 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() 803 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init() [all …]
|
A D | bfad_attr.c | 368 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 strlcpy(symname, port_attr.port_cfg.sym_name.symname, in bfad_im_symbolic_name_show()
|
A D | bfa_defs_fcs.h | 88 struct bfa_lport_symname_s sym_name; /* vm port symbolic name */ member
|
/linux-6.3-rc2/drivers/scsi/sym53c8xx_2/ |
A D | sym_hipd.c | 215 sym_name(np)); in sym_reset_scsi_bus() 218 sym_name(np), in sym_reset_scsi_bus() 256 sym_name(np)); in sym_selectclock() 356 sym_name(np), gen, ms/4, f); in getfreq() 412 sym_name(np)); in sym_getclock() 930 sym_name(np), 936 sym_name(np)); 1039 sym_name(np)); 2505 sym_name (np)); 2511 sym_name (np)); [all …]
|
A D | sym_glue.c | 143 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 …]
|
A D | sym_nvram.c | 149 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()
|
A D | sym_fw.c | 369 sym_name(np), (int) (cur-start)); in sym_fw_bind_script() 412 sym_name(np), (int) (cur-start)); in sym_fw_bind_script()
|
A D | sym_glue.h | 184 #define sym_name(np) (np)->s.inst_name macro
|
/linux-6.3-rc2/arch/x86/tools/ |
A D | relocs.c | 121 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-6.3-rc2/arch/x86/entry/vdso/ |
A D | vdso2c.h | 131 const char *sym_name = raw_addr + in BITSFUNC() local 136 if (!strcmp(sym_name, required_syms[k].name)) { in BITSFUNC()
|
/linux-6.3-rc2/arch/mips/boot/tools/ |
A D | relocs.c | 41 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-6.3-rc2/drivers/crypto/qat/qat_common/ |
A D | icp_qat_uclo.h | 284 unsigned int sym_name; member 294 unsigned int sym_name; member
|
/linux-6.3-rc2/kernel/livepatch/ |
A D | core.c | 198 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-6.3-rc2/tools/bpf/bpftool/ |
A D | prog.c | 774 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()
|
/linux-6.3-rc2/scripts/mod/ |
A D | modpost.c | 722 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name() function 1279 fromsym = sym_name(elf, from); in default_mismatch_handler() 1283 tosym = sym_name(elf, to); in default_mismatch_handler() 1344 const char* fromsym_name = sym_name(elf, fromsym); in report_extable_warnings() 1346 const char* tosym_name = sym_name(elf, tosym); in report_extable_warnings()
|