/linux-master/scripts/kconfig/ |
H A D | confdata.c | 236 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) argument 240 switch (sym->type) { 243 sym->def[def].tri = mod; 244 sym->flags |= def_flags; 250 sym->def[def].tri = yes; 251 sym->flags |= def_flags; 255 sym->def[def].tri = no; 256 sym->flags |= def_flags; 261 p, sym->name); 283 if (sym_string_valid(sym, 325 struct symbol *sym; local 491 struct symbol *sym; local 636 __print_symbol(FILE *fp, struct symbol *sym, enum output_n output_n, bool escape_string) argument 664 print_symbol_for_dotconfig(FILE *fp, struct symbol *sym) argument 669 print_symbol_for_autoconf(FILE *fp, struct symbol *sym) argument 674 print_symbol_for_listconfig(struct symbol *sym) argument 679 print_symbol_for_c(FILE *fp, struct symbol *sym) argument 721 print_symbol_for_rustccfg(FILE *fp, struct symbol *sym) argument 786 struct symbol *sym; local 837 struct symbol *sym; local 994 struct symbol *sym; local 1074 struct symbol *sym; local 1113 struct symbol *sym; local 1182 struct symbol *sym; local [all...] |
H A D | menu.c | 67 void menu_add_entry(struct symbol *sym) argument 73 menu->sym = sym; 81 if (sym) { 82 menu_add_symbol(P_SYMBOL, sym, NULL); 83 list_add_tail(&menu->link, &sym->menus); 120 if (e->left.sym == &symbol_mod) 136 struct symbol *sym = current_entry->sym; local 138 if (sym 231 menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) argument 236 menu_validate_number(struct symbol *sym, struct symbol *sym2) argument 242 sym_check_prop(struct symbol *sym) argument 307 struct symbol *sym; local 624 struct symbol *sym; local 759 get_symbol_props_str(struct gstr *r, struct symbol *sym, enum prop_type tok, const char *prefix) argument 780 get_symbol_str(struct gstr *r, struct symbol *sym, struct list_head *head) argument 834 struct symbol *sym; local 848 struct symbol *sym = menu->sym; local [all...] |
H A D | conf.c | 120 struct symbol *sym; local 136 expr_list_for_each_sym(prop->expr, e, sym) 146 expr_list_for_each_sym(prop->expr, e, sym) { 148 sym->def[S_DEF_USER].tri = yes; 149 csym->def[S_DEF_USER].val = sym; 151 sym->def[S_DEF_USER].tri = no; 153 sym->flags |= SYMBOL_DEF_USER; 155 sym->flags &= ~SYMBOL_VALID; 174 struct symbol *sym, *csym; local 230 for_all_symbols(sym) { 307 struct symbol *sym; local 317 conf_askvalue(struct symbol *sym, const char *def) argument 351 struct symbol *sym = menu->sym; local 384 struct symbol *sym = menu->sym; local 451 struct symbol *sym, *def_sym; local 559 struct symbol *sym; local 626 struct symbol *sym; local [all...] |
H A D | expr.c | 18 struct expr *expr_alloc_symbol(struct symbol *sym) argument 22 e->left.sym = sym; 47 e->left.sym = s1; 48 e->right.sym = s2; 88 e->left.sym = org->left.sym; 89 e->right.sym = org->right.sym; 168 e1->left.sym 851 expr_contains_symbol(struct expr *dep, struct symbol *sym) argument 879 expr_depends_symbol(struct expr *dep, struct symbol *sym) argument 922 expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym) argument 1229 expr_print_file_helper(void *data, struct symbol *sym, const char *str) argument 1239 expr_print_gstr_helper(void *data, struct symbol *sym, const char *str) argument [all...] |
H A D | lkc.h | 91 void menu_add_entry(struct symbol *sym); 96 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); 113 struct symbol *sym_choice_default(struct symbol *sym); 114 struct property *sym_get_range_prop(struct symbol *sym); 115 const char *sym_get_string_default(struct symbol *sym); 116 struct symbol *sym_check_deps(struct symbol *sym); 119 static inline tristate sym_get_tristate_value(struct symbol *sym) argument 121 return sym->curr.tri; 125 static inline struct symbol *sym_get_choice_value(struct symbol *sym) argument 127 return (struct symbol *)sym 130 sym_is_choice(struct symbol *sym) argument 136 sym_is_choice_value(struct symbol *sym) argument 141 sym_has_value(struct symbol *sym) argument [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_rtsym.c | 208 u64 nfp_rtsym_size(const struct nfp_rtsym *sym) argument 210 switch (sym->type) { 212 pr_err("rtsym '%s': type NONE\n", sym->name); 215 pr_warn("rtsym '%s': unknown type: %d\n", sym->name, sym->type); 219 return sym->size; 226 nfp_rtsym_to_dest(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, argument 229 if (sym->type != NFP_RTSYM_TYPE_OBJECT) { 231 sym->name); 235 *addr = sym 257 __nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, void *buf, size_t len) argument 288 nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, void *buf, size_t len) argument 294 __nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, u32 *value) argument 314 nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, u32 *value) argument 320 __nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, u64 *value) argument 345 nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, u64 *value) argument 351 __nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, void *buf, size_t len) argument 373 nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, void *buf, size_t len) argument 379 __nfp_rtsym_writel(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, u32 value) argument 399 nfp_rtsym_writel(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, u32 value) argument 405 __nfp_rtsym_writeq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, u64 value) argument 425 nfp_rtsym_writeq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, u64 value) argument 446 const struct nfp_rtsym *sym; local 497 const struct nfp_rtsym *sym; local 526 const struct nfp_rtsym *sym; local [all...] |
H A D | nfp_nffw.h | 74 int __nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, 76 int nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, 78 int __nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, 80 int nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, 82 int __nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, 84 int nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, 86 int __nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, 88 int nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, 90 int __nfp_rtsym_writel(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, 92 int nfp_rtsym_writel(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u6 [all...] |
/linux-master/lib/zlib_inflate/ |
H A D | inftrees.c | 27 unsigned sym; /* index of code symbols */ local 95 for (sym = 0; sym < codes; sym++) 96 count[lens[sym]]++; 132 for (sym = 0; sym < codes; sym++) 133 if (lens[sym] != 0) work[offs[lens[sym]] [all...] |
/linux-master/tools/perf/util/ |
H A D | demangle-rust.c | 50 static bool looks_like_rust(const char *sym, size_t len); 55 * sym: symbol that has been through BFD-demangling 77 rust_is_mangled(const char *sym) argument 81 if (!sym) 84 len = strlen(sym); 90 if (!is_prefixed_hash(sym + len_without_hash)) 93 return looks_like_rust(sym, len_without_hash); 176 * sym: symbol for which rust_is_mangled(sym) returns true 182 rust_demangle_sym(char *sym) argument [all...] |
H A D | trace-event-parse.c | 133 static const char *convert_sym(struct tep_print_flag_sym *sym) argument 140 for (; sym; sym = sym->next) { 141 long bitmask = strtoul(sym->value, NULL, 0); 150 save_states[i] = sym->str[0]; 193 struct tep_print_flag_sym *sym = NULL; local 199 sym = search_op(prev_state_field, arg->op.left); 200 if (sym) 201 return sym; 215 struct tep_print_flag_sym *sym; local [all...] |
/linux-master/arch/arm/include/asm/ |
H A D | module.h | 48 static inline unsigned long kallsyms_symbol_value(const Elf_Sym *sym) argument 50 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC) 51 return sym->st_value & ~1; 53 return sym->st_value;
|
/linux-master/fs/ntfs3/lib/ |
H A D | decompress_common.c | 124 u32 sym; local 132 for (sym = 0; sym < num_syms; sym++) 133 len_counts[lens[sym]]++; 189 for (sym = 0; sym < num_syms; sym++) 190 if (lens[sym]) 191 sorted_syms[offsets[lens[sym]] [all...] |
H A D | xpress_decompress.c | 90 u32 sym; local 95 sym = read_huffsym(&is, d->decode_table, 97 if (sym < 256) { 99 *out_next++ = sym; 102 length = sym & 0xf; 103 log2_offset = (sym >> 4) & 0xf;
|
/linux-master/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-drv.h | 88 #define IWL_EXPORT_SYMBOL(sym) EXPORT_SYMBOL_NS_GPL(sym, IWLWIFI) 90 #define IWL_EXPORT_SYMBOL(sym) 94 #define EXPORT_SYMBOL_IF_IWLWIFI_KUNIT(sym) EXPORT_SYMBOL_IF_KUNIT(sym) 97 #define EXPORT_SYMBOL_IF_IWLWIFI_KUNIT(sym)
|
/linux-master/scripts/genksyms/ |
H A D | genksyms.c | 155 struct symbol *sym; local 157 for (sym = symtab[h]; sym; sym = sym->hash_next) 158 if (map_to_ns(sym->type) == map_to_ns(ns) && 159 strcmp(name, sym->name) == 0 && 160 sym->is_declared) 163 if (exact && sym && sym 168 is_unknown_symbol(struct symbol *sym) argument 188 struct symbol *sym; local 458 struct string_list *sym, *def; local 528 expand_and_crc_sym(struct symbol *sym, unsigned long crc) argument 634 struct symbol *sym; local 813 struct symbol *sym = visited_symbols; local [all...] |
/linux-master/tools/perf/tests/shell/ |
H A D | pipe_test.sh | 9 sym="noploop" 11 skip_test_missing_symbol ${sym} 22 if ! perf record -e task-clock:u -o - ${prog} | perf inject -b | perf report -i - | grep ${sym}; then 28 if ! perf report -i ${data} | grep ${sym}; then 34 if ! perf inject -b -i ${data} | perf report -i - | grep ${sym}; then
|
/linux-master/arch/powerpc/include/asm/ |
H A D | ftrace.h | 94 static inline bool arch_syscall_match_sym_name(const char *sym, const char *name) argument 96 return !strcmp(sym, name) || 97 (!strncmp(sym, "__se_sys", 8) && !strcmp(sym + 5, name)) || 98 (!strncmp(sym, "ppc_", 4) && !strcmp(sym + 4, name + 4)) || 99 (!strncmp(sym, "ppc32_", 6) && !strcmp(sym + 6, name + 4)) || 100 (!strncmp(sym, "ppc64_", 6) && !strcmp(sym [all...] |
/linux-master/tools/lib/bpf/ |
H A D | elf.c | 77 GElf_Sym sym; member in struct:elf_sym 92 struct elf_sym sym; member in struct:elf_sym_iter 157 struct elf_sym *ret = &iter->sym; 158 GElf_Sym *sym = &ret->sym; local 165 if (!gelf_getsym(iter->syms, idx, sym)) 167 if (GELF_ST_TYPE(sym->st_info) != iter->st_type) 169 name = elf_strptr(iter->elf, iter->strtabidx, sym->st_name); 172 sym_scn = elf_getscn(iter->elf, sym->st_shndx); 223 static bool symbol_match(struct elf_sym_iter *iter, int sh_type, struct elf_sym *sym, argument 266 elf_sym_offset(struct elf_sym *sym) argument 313 struct elf_sym *sym; local 438 struct elf_sym *sym; local 519 struct elf_sym *sym; local [all...] |
/linux-master/tools/objtool/include/objtool/ |
H A D | check.h | 77 struct symbol *sym; member in struct:instruction 84 struct symbol *sym = insn->sym; local 86 if (sym && sym->type != STT_FUNC) 87 sym = NULL; 89 return sym;
|
/linux-master/arch/arm64/kernel/ |
H A D | image.h | 37 #define DEFINE_IMAGE_LE64(sym, data) \ 38 sym##_lo32 = DATA_LE32((data) & 0xffffffff); \ 39 sym##_hi32 = DATA_LE32((data) >> 32)
|
/linux-master/scripts/mod/ |
H A D | symsearch.c | 54 for (Elf_Sym *sym = elf->symtab_start; sym < elf->symtab_stop; sym++) { 55 if (is_valid_name(elf, sym)) 74 for (Elf_Sym *sym = elf->symtab_start; sym < elf->symtab_stop; sym++) { 75 if (is_valid_name(elf, sym)) { 78 table->symbol_index = sym - elf->symtab_start; 79 table->section_index = get_secindex(elf, sym); [all...] |
/linux-master/tools/perf/ui/browsers/ |
H A D | map.c | 27 struct symbol *sym = rb_entry(nd, struct symbol, rb_node); local 34 mb->addrlen, sym->start, mb->addrlen, sym->end, 35 sym->binding == STB_GLOBAL ? 'g' : 36 sym->binding == STB_LOCAL ? 'l' : 'w'); 39 ui_browser__write_nstring(browser, sym->name, width); 51 struct symbol *sym; local 60 sym = map__find_symbol(browser->map, addr); 62 sym = map__find_symbol_by_name(browser->map, target); 64 if (sym ! [all...] |
/linux-master/kernel/module/ |
H A D | kallsyms.c | 38 static char elf_type(const Elf_Sym *sym, const struct load_info *info) argument 42 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) { 43 if (ELF_ST_TYPE(sym->st_info) == STT_OBJECT) 48 if (sym->st_shndx == SHN_UNDEF) 50 if (sym->st_shndx == SHN_ABS || sym->st_shndx == info->index.pcpu) 52 if (sym->st_shndx >= SHN_LORESERVE) 54 if (sechdrs[sym->st_shndx].sh_flags & SHF_EXECINSTR) 56 if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC && 57 sechdrs[sym 281 const Elf_Sym *sym = &kallsyms->symtab[i]; local 368 const char *sym; local 397 const Elf_Sym *sym = &kallsyms->symtab[symnum]; local 420 const Elf_Sym *sym = &kallsyms->symtab[i]; local 500 const Elf_Sym *sym = &kallsyms->symtab[i]; local [all...] |
/linux-master/arch/m68k/kernel/ |
H A D | module.c | 30 Elf32_Sym *sym; local 41 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr 47 *location += sym->st_value; 51 *location += sym->st_value - (uint32_t)location; 70 Elf32_Sym *sym; local 81 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr 87 *location = rel[i].r_addend + sym->st_value; 91 *location = rel[i].r_addend + sym->st_value - (uint32_t)location;
|
/linux-master/arch/x86/include/asm/ |
H A D | ftrace.h | 119 static inline bool arch_syscall_match_sym_name(const char *sym, const char *name) argument 125 return !strcmp(sym + 3, name + 3) || 126 (!strncmp(sym, "__x64_", 6) && !strcmp(sym + 9, name + 3)) || 127 (!strncmp(sym, "__ia32_", 7) && !strcmp(sym + 10, name + 3)) || 128 (!strncmp(sym, "__do_sys", 8) && !strcmp(sym + 8, name + 3));
|