/linux-6.1.9/scripts/ |
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 == "…
|
D | kallsyms.c | 95 static char *sym_name(const struct sym_entry *s) in sym_name() function 259 strcpy(sym_name(sym), name); in read_symbol() 283 const char *name = sym_name(s); in symbol_valid() 711 const char *symbol = sym_name(se); in may_be_linker_script_provide_symbol() 768 wa = strspn(sym_name(sa), "_"); in compare_symbols() 769 wb = strspn(sym_name(sb), "_"); in compare_symbols()
|
/linux-6.1.9/kernel/debug/kdb/ |
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()
|
D | kdb_private.h | 81 const char *sym_name; /* Full symbol name, including member
|
/linux-6.1.9/tools/lib/bpf/ |
D | linker.c | 172 Elf64_Sym *sym, const char *sym_name, int src_sym_idx); 1215 const char *sym_name; in linker_append_elf_syms() local 1228 sym_name = elf_strptr(obj->elf, str_sec_idx, sym->st_name); in linker_append_elf_syms() 1229 if (!sym_name) { in linker_append_elf_syms() 1234 err = linker_append_elf_sym(linker, obj, sym, sym_name, i); in linker_append_elf_syms() 1250 static struct glob_sym *find_glob_sym(struct bpf_linker *linker, const char *sym_name) in find_glob_sym() argument 1260 if (strcmp(name, sym_name) == 0) in find_glob_sym() 1286 static bool glob_sym_btf_matches(const char *sym_name, bool exact, in glob_sym_btf_matches() argument 1306 sym_name, n1, n2); in glob_sym_btf_matches() 1316 sym_name, btf_kflag(t1) ? "union" : "struct", btf_kind_str(t2)); in glob_sym_btf_matches() [all …]
|
/linux-6.1.9/security/selinux/ss/ |
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 …]
|
D | services.c | 482 tclass_name = sym_name(policydb, SYM_CLASSES, tclass - 1); in security_dump_masked_av() 743 o, n, t, sym_name(p, SYM_CLASSES, tclass-1)); in security_validtrans_handle_fail() 1251 *scontext_len += strlen(sym_name(p, SYM_USERS, context->user - 1)) + 1; in context_struct_to_string() 1252 *scontext_len += strlen(sym_name(p, SYM_ROLES, context->role - 1)) + 1; in context_struct_to_string() 1253 *scontext_len += strlen(sym_name(p, SYM_TYPES, context->type - 1)) + 1; in context_struct_to_string() 1269 sym_name(p, SYM_USERS, context->user - 1), in context_struct_to_string() 1270 sym_name(p, SYM_ROLES, context->role - 1), in context_struct_to_string() 1271 sym_name(p, SYM_TYPES, context->type - 1)); in context_struct_to_string() 1682 s, t, sym_name(policydb, SYM_CLASSES, tclass-1)); in compute_sid_handle_invalid_context() 2076 sym_name(args->oldp, in convert_context() [all …]
|
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.1.9/tools/perf/util/ |
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))
|
D | auxtrace.c | 2384 static int sym_not_found_error(const char *sym_name, int idx) in sym_not_found_error() argument 2388 idx, sym_name); in sym_not_found_error() 2390 pr_err("Global symbol '%s' not found.\n", sym_name); in sym_not_found_error() 2392 pr_err("Symbol '%s' not found.\n", sym_name); in sym_not_found_error() 2399 static int find_kern_sym(const char *sym_name, u64 *start, u64 *size, int idx) in find_kern_sym() argument 2402 .name = sym_name, in find_kern_sym() 2419 pr_err("Multiple kernel symbols with name '%s'\n", sym_name); in find_kern_sym() 2423 sym_name); in find_kern_sym() 2430 return sym_not_found_error(sym_name, idx); in find_kern_sym() 2568 static void print_duplicate_syms(struct dso *dso, const char *sym_name) in print_duplicate_syms() argument [all …]
|
/linux-6.1.9/drivers/scsi/bfa/ |
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() 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 …]
|
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()
|
D | bfa_defs_fcs.h | 88 struct bfa_lport_symname_s sym_name; /* vm port symbolic name */ member
|
/linux-6.1.9/drivers/scsi/sym53c8xx_2/ |
D | sym_hipd.c | 162 "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 …]
|
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 …]
|
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()
|
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()
|
D | sym_glue.h | 184 #define sym_name(np) (np)->s.inst_name macro
|
/linux-6.1.9/arch/x86/tools/ |
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.1.9/arch/x86/entry/vdso/ |
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.1.9/arch/mips/boot/tools/ |
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.1.9/drivers/crypto/qat/qat_common/ |
D | icp_qat_uclo.h | 284 unsigned int sym_name; member 294 unsigned int sym_name; member
|
/linux-6.1.9/kernel/livepatch/ |
D | core.c | 199 char sym_name[KSYM_NAME_LEN]; in klp_resolve_symbols() local 231 sym_objname, sym_name, &sympos); in klp_resolve_symbols() 248 sym_name); in klp_resolve_symbols() 254 sym_name, sympos, &addr); in klp_resolve_symbols()
|
/linux-6.1.9/tools/bpf/bpftool/ |
D | prog.c | 776 char sym_name[SYM_MAX_NAME]; in prog_dump() local 794 sprintf(sym_name, "%s", sym->name); in prog_dump() 796 sprintf(sym_name, "0x%016llx", ksyms[i]); in prog_dump() 798 strcpy(sym_name, "unknown"); in prog_dump() 815 jsonw_string(json_wtr, sym_name); in prog_dump() 820 printf("%s:\n", sym_name); in prog_dump()
|
/linux-6.1.9/scripts/mod/ |
D | modpost.c | 723 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name() function 1280 fromsym = sym_name(elf, from); in default_mismatch_handler() 1284 tosym = sym_name(elf, to); in default_mismatch_handler() 1345 const char* fromsym_name = sym_name(elf, fromsym); in report_extable_warnings() 1347 const char* tosym_name = sym_name(elf, tosym); in report_extable_warnings()
|