/linux-master/scripts/kconfig/ |
H A D | gconf.c | 780 struct symbol *sym; local 786 sym = menu->sym; 791 sym_set_string_value(sym, new_def); 801 struct symbol *sym = menu->sym; local 804 if (!sym) 816 switch (sym_get_type(sym)) { 819 if (!sym_tristate_within_range(sym, newval)) 821 sym_set_tristate_value(sym, newva 1033 struct symbol *sym = menu->sym; local 1252 struct symbol *sym; local 1333 struct symbol *sym; local [all...] |
H A D | parser.y | 219 current_entry->sym->name, modules_sym->name); 220 modules_sym = current_entry->sym; 227 struct symbol *sym = sym_lookup(NULL, SYMBOL_CHOICE); 228 sym->flags |= SYMBOL_NO_WRITE; 229 menu_add_entry(sym); 277 current_entry->sym->flags |= SYMBOL_OPTIONAL; 394 current_entry->sym->name ?: "<choice>"); 400 current_entry->sym->name ?: "<choice>"); 522 if (menu->sym && sym_check_deps(menu->sym)) [all...] |
/linux-master/tools/objtool/include/objtool/ |
H A D | elf.h | 41 struct symbol *sym; member in struct:section 54 GElf_Sym sym; member in struct:symbol 78 struct symbol *sym; member in struct:reloc 127 struct symbol *sym, 278 static inline void set_reloc_sym(struct elf *elf, struct reloc *reloc, unsigned int sym) argument 281 ELF32_R_INFO(sym, reloc_type(reloc)) : 282 ELF64_R_INFO(sym, reloc_type(reloc)); 302 #define sec_for_each_sym(sec, sym) \ 303 list_for_each_entry(sym, &sec->symbol_list, list) 305 #define for_each_sym(file, sym) \ [all...] |
/linux-master/tools/perf/util/ |
H A D | symbol-elf.c | 100 * @sym: GElf_Sym iterator 102 #define elf_symtab__for_each_symbol(syms, nr_syms, idx, sym) \ 103 for (idx = 0, gelf_getsym(syms, idx, &sym);\ 105 idx++, gelf_getsym(syms, idx, &sym)) 107 static inline uint8_t elf_sym__type(const GElf_Sym *sym) argument 109 return GELF_ST_TYPE(sym->st_info); 112 static inline uint8_t elf_sym__visibility(const GElf_Sym *sym) argument 114 return GELF_ST_VISIBILITY(sym->st_other); 121 static inline int elf_sym__is_function(const GElf_Sym *sym) argument 123 return (elf_sym__type(sym) 129 elf_sym__is_object(const GElf_Sym *sym) argument 136 elf_sym__is_label(const GElf_Sym *sym) argument 146 elf_sym__filter(GElf_Sym *sym) argument 151 elf_sym__name(const GElf_Sym *sym, const Elf_Data *symstrs) argument 407 struct symbol *sym; local 598 GElf_Sym sym; local 638 struct symbol *sym; local 675 GElf_Sym sym; local 1419 dso__process_kernel_symbol(struct dso *dso, struct map *map, GElf_Sym *sym, GElf_Shdr *shdr, struct maps *kmaps, struct kmap *kmap, struct dso **curr_dsop, struct map **curr_mapp, const char *section_name, bool adjust_kernel_syms, bool kmodule, bool *remap_kernel, u64 max_text_sh_offset) argument 1562 GElf_Sym sym; local [all...] |
H A D | block-info.c | 74 if (!bi_l->sym || !bi_r->sym) { 75 if (!bi_l->sym && !bi_r->sym) 77 else if (!bi_l->sym) 83 cmp = strcmp(bi_l->sym->name, bi_r->sym->name); 99 static void init_block_info(struct block_info *bi, struct symbol *sym, argument 103 bi->sym = sym; [all...] |
H A D | thread-stack.c | 816 struct symbol *sym) 826 if (tse->cp->sym == sym) 866 struct symbol *sym; local 871 sym = from_al->sym; 874 sym = to_al->sym; 879 cp = call_path__findnew(cpr, &cpr->call_path, sym, ip, 911 struct symbol *fsym = from_al->sym; 814 thread_stack__pop_cp(struct thread *thread, struct thread_stack *ts, u64 ret_addr, u64 timestamp, u64 ref, struct symbol *sym) argument 1055 struct symbol *sym = tse->cp->sym; local [all...] |
/linux-master/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_macro_gram.y | 71 symbol_t *sym; 77 %token <sym> T_SYMBOL
|
/linux-master/arch/sparc/kernel/ |
H A D | module.c | 61 Elf_Sym *sym; local 71 sym = (Elf_Sym *)sechdrs[symidx].sh_addr; 75 if (sym[i].st_shndx == SHN_UNDEF) { 76 if (ELF_ST_TYPE(sym[i].st_info) == STT_REGISTER) 77 sym[i].st_shndx = SHN_ABS; 91 Elf_Sym *sym; local 109 sym = (Elf_Sym *)sechdrs[symindex].sh_addr 111 v = sym->st_value + rel[i].r_addend;
|
/linux-master/arch/alpha/kernel/ |
H A D | module.c | 139 Elf64_Sym *symtab, *sym; local 164 sym = symtab + r_sym; 165 value = sym->st_value + rela[i].r_addend; 207 if (sym->st_shndx == SHN_UNDEF) 209 if ((sym->st_other & STO_ALPHA_STD_GPLOAD) == 258 if (ELF64_ST_TYPE (sym->st_info) == STT_SECTION) 261 me->name, r_type, sym->st_shndx); 265 me->name, r_type, strtab + sym->st_name);
|
/linux-master/tools/perf/tests/shell/ |
H A D | record+zstd_comp_decomp.sh | 28 $perf_tool report -i "$trace_file" --stdio -F comm,dso,sym | head -n -3 > "$trace_file.comp.output" && 29 $perf_tool report -i "$trace_file.decomp" --stdio -F comm,dso,sym | head -n -3 > "$trace_file.decomp.output" &&
|
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_lib.sh | 125 local sym="${1}" 129 grep -q " ${sym}" /proc/kallsyms 134 local sym="${1}" 136 if __mptcp_lib_kallsyms_has "${sym}"; then 140 mptcp_lib_fail_if_expected_feature "${sym} symbol not found" 145 local sym="${1}" 147 if ! __mptcp_lib_kallsyms_has "${sym}"; then 151 mptcp_lib_fail_if_expected_feature "${sym} symbol has been found"
|
/linux-master/tools/perf/ui/browsers/ |
H A D | annotate.c | 37 return symbol__annotation(ms->sym); 156 struct symbol *sym = ms->sym; local 157 struct annotation *notes = symbol__annotation(sym); 163 if (strstr(sym->name, "@plt")) 166 if (!disasm_line__is_valid_local_jump(cursor, sym)) 307 struct symbol *sym = ms->sym; local 308 struct annotation *notes = symbol__annotation(sym); 315 symbol__calc_percent(sym, evse 437 sym_title(struct symbol *sym, struct map *map, char *title, size_t sz, int percent_type) argument 659 struct symbol *sym = ms->sym; local 713 struct symbol *sym = ms->sym; local 949 struct symbol *sym = ms->sym; local [all...] |
/linux-master/arch/s390/kernel/ |
H A D | machine_kexec_file.c | 328 const Elf_Sym *sym; /* symbol to relocate */ local 333 sym = (void *)pi->ehdr + symtab->sh_offset; 334 sym += ELF64_R_SYM(relas[i].r_info); 336 if (sym->st_name) 337 name = strtab + sym->st_name; 339 name = shstrtab + sechdrs[sym->st_shndx].sh_name; 341 if (sym->st_shndx == SHN_UNDEF) { 346 if (sym->st_shndx == SHN_COMMON) { 351 if (sym->st_shndx >= pi->ehdr->e_shnum && 352 sym [all...] |
/linux-master/arch/xtensa/kernel/ |
H A D | module.c | 55 Elf32_Sym *sym; local 65 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr 67 value = sym->st_value + rela[i].r_addend; 89 "sym '%s'\n", 91 strtab + sym->st_name); 113 "sym '%s'\n", 115 strtab + sym->st_name);
|
/linux-master/tools/lib/bpf/ |
H A D | linker.c | 172 Elf64_Sym *sym, const char *sym_name, int src_sym_idx); 274 Elf64_Sym *syms, *sym; local 275 size_t sym_cnt = symtab->sec_sz / sizeof(*sym); 277 syms = libbpf_reallocarray(symtab->raw_data, sym_cnt + 1, sizeof(*sym)); 281 sym = &syms[sym_cnt]; 282 memset(sym, 0, sizeof(*sym)); 285 symtab->sec_sz += sizeof(*sym); 286 symtab->shdr->sh_size += sizeof(*sym); 287 symtab->data->d_size += sizeof(*sym); 785 Elf64_Sym *sym; local 1243 Elf64_Sym *sym = symtab->data->d_buf; local 1300 struct glob_sym *syms, *sym; local 1599 glob_map_defs_match(const char *sym_name, struct bpf_linker *linker, struct glob_sym *glob_sym, struct src_obj *obj, Elf64_Sym *sym, int btf_id) argument 1639 glob_syms_match(const char *sym_name, struct bpf_linker *linker, struct glob_sym *glob_sym, struct src_obj *obj, Elf64_Sym *sym, size_t sym_idx, int btf_id) argument 1677 find_glob_sym_btf(struct src_obj *obj, Elf64_Sym *sym, const char *sym_name, int *out_btf_sec_id, int *out_btf_id) argument 1811 sym_update_bind(Elf64_Sym *sym, int sym_bind) argument 1816 sym_update_type(Elf64_Sym *sym, int sym_type) argument 1821 sym_update_visibility(Elf64_Sym *sym, int sym_vis) argument 1830 linker_append_elf_sym(struct bpf_linker *linker, struct src_obj *obj, Elf64_Sym *sym, const char *sym_name, int src_sym_idx) argument 2125 Elf64_Sym *sym = symtab->data->d_buf; local 2218 Elf64_Sym *sym; local [all...] |
/linux-master/arch/arm64/include/asm/ |
H A D | assembler.h | 172 * @sym: name of the symbol 174 .macro adr_l, dst, sym 175 adrp \dst, \sym 176 add \dst, \dst, :lo12:\sym 181 * @sym: name of the symbol 186 .macro ldr_l, dst, sym, tmp= variable 188 adrp \dst, \sym 189 ldr \dst, [\dst, :lo12:\sym] 191 adrp \tmp, \sym 192 ldr \dst, [\tmp, :lo12:\sym] 202 .macro str_l, src, sym, tmp variable 237 .macro adr_this_cpu, dst, sym, tmp variable 249 .macro ldr_this_cpu dst, sym, tmp variable [all...] |
/linux-master/tools/testing/selftests/vDSO/ |
H A D | parse_vdso.c | 210 ELF(Sym) *sym = &vdso_info.symtab[chain]; 213 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) 215 if (ELF64_ST_BIND(sym->st_info) != STB_GLOBAL && 216 ELF64_ST_BIND(sym->st_info) != STB_WEAK) 218 if (sym->st_shndx == SHN_UNDEF) 220 if (strcmp(name, vdso_info.symstrings + sym->st_name)) 229 return (void *)(vdso_info.load_offset + sym->st_value);
|
/linux-master/tools/perf/dlfilters/ |
H A D | dlfilter-test-api-v0.c | 78 const char *sym; member in struct:perf_dlfilter_al 237 CHECK(al->sym && !strcmp("foo", al->sym)); 251 CHECK(addr_al->sym && !strcmp("bar", addr_al->sym)); 270 CHECK(address_al.sym && al->sym); 271 CHECK(!strcmp(address_al.sym, al->sym));
|
H A D | dlfilter-test-api-v2.c | 86 const char *sym; member in struct:perf_dlfilter_al 252 CHECK(al->sym && !strcmp("foo", al->sym)); 266 CHECK(addr_al->sym && !strcmp("bar", addr_al->sym)); 285 CHECK(address_al.sym && al->sym); 286 CHECK(!strcmp(address_al.sym, al->sym));
|
/linux-master/tools/perf/tests/ |
H A D | hists_link.c | 22 struct symbol *sym; member in struct:sample 102 fake_common_samples[k].sym = al.sym; 122 fake_samples[i][k].sym = al.sym; 153 samples->sym == s) 183 he->thread, he->ms.map, he->ms.sym)) { 235 he->thread, he->ms.map, he->ms.sym) && 238 he->thread, he->ms.map, he->ms.sym)) { 306 /* default sort order (comm,dso,sym) wil [all...] |
/linux-master/arch/sh/kernel/ |
H A D | module.c | 32 Elf32_Sym *sym; local 45 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr 47 relocation = sym->st_value + rel[i].r_addend;
|
/linux-master/arch/nios2/kernel/ |
H A D | module.c | 61 Elf32_Sym *sym local 64 uint32_t v = sym->st_value + rela[i].r_addend; 68 rela[i].r_offset, strtab + sym->st_name);
|
/linux-master/arch/s390/include/asm/ |
H A D | ftrace.h | 129 static inline bool arch_syscall_match_sym_name(const char *sym, argument 137 return !strcmp(sym + 7, name) || !strcmp(sym + 8, name);
|
/linux-master/arch/parisc/kernel/ |
H A D | module.c | 64 me->name, strtab + sym->st_name, (unsigned long)val, bits); \ 509 Elf32_Sym *sym; local 528 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr 530 if (!sym->st_value) { 532 me->name, strtab + sym->st_name); 538 val = sym->st_value; 544 strtab + sym->st_name, 608 val = get_stub(me, sym->st_value, addend, 623 val = get_stub(me, sym->st_value, addend, 654 Elf64_Sym *sym; local [all...] |
/linux-master/arch/mips/vdso/ |
H A D | genvdso.h | 63 const ELF(Sym) *sym; 110 sym = symtab + (j * st_entsize); 111 name = strtab + swap_uint32(sym->st_name); 114 offset = FUNC(swap_uint)(sym->st_value);
|