| /linux/scripts/kconfig/ |
| H A D | symbol.c | 45 enum symbol_type sym_get_type(const struct symbol *sym) in sym_get_type() argument 47 enum symbol_type type = sym->type; in sym_get_type() 80 struct menu *sym_get_prompt_menu(const struct symbol *sym) in sym_get_prompt_menu() argument 84 list_for_each_entry(m, &sym->menus, link) in sym_get_prompt_menu() 98 struct menu *sym_get_choice_menu(const struct symbol *sym) in sym_get_choice_menu() argument 106 menu = sym_get_prompt_menu(sym); in sym_get_choice_menu() 112 } while (menu && !menu->sym); in sym_get_choice_menu() 114 if (menu && menu->sym && sym_is_choice(menu->sym)) in sym_get_choice_menu() 120 static struct property *sym_get_default_prop(struct symbol *sym) in sym_get_default_prop() argument 124 for_all_defaults(sym, prop) { in sym_get_default_prop() [all …]
|
| H A D | confdata.c | 221 static const char *sym_get_user_value_string(struct symbol *sym) in sym_get_user_value_string() argument 223 switch (sym->type) { in sym_get_user_value_string() 226 switch (sym->def[S_DEF_USER].tri) { in sym_get_user_value_string() 235 return sym->def[S_DEF_USER].val ?: ""; in sym_get_user_value_string() 239 static bool sym_user_value_changed(struct symbol *sym) in sym_user_value_changed() argument 241 if (!sym_has_value(sym) || sym->type == S_UNKNOWN) in sym_user_value_changed() 244 switch (sym->type) { in sym_user_value_changed() 247 return sym->def[S_DEF_USER].tri != sym_get_tristate_value(sym); in sym_user_value_changed() 249 return strcmp(sym_get_user_value_string(sym), in sym_user_value_changed() 250 sym_get_string_value(sym)); in sym_user_value_changed() [all …]
|
| H A D | expr.c | 57 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol() argument 59 return expr_lookup(E_SYMBOL, sym, NULL); in expr_alloc_symbol() 127 (*ep1)->left.sym == (*ep2)->left.sym && in __expr_eliminate_eq() 128 ((*ep1)->left.sym == &symbol_yes || (*ep1)->left.sym == &symbol_no)) in __expr_eliminate_eq() 228 return e1->left.sym == e2->left.sym && e1->right.sym == e2->right.sym; in expr_eq() 713 expr_contains_symbol(struct expr * dep,struct symbol * sym) expr_contains_symbol() argument 741 expr_depends_symbol(struct expr * dep,struct symbol * sym) expr_depends_symbol() argument 784 expr_trans_compare(struct expr * e,enum expr_type type,struct symbol * sym) expr_trans_compare() argument 1107 expr_print_file_helper(void * data,struct symbol * sym,const char * str) expr_print_file_helper() argument 1117 expr_print_gstr_helper(void * data,struct symbol * sym,const char * str) expr_print_gstr_helper() argument [all...] |
| H A D | menu.c | 68 void menu_add_entry(struct symbol *sym, enum menu_type type) in menu_add_entry() argument 75 menu->sym = sym; in menu_add_entry() 83 if (sym) in menu_add_entry() 84 list_add_tail(&menu->link, &sym->menus); in menu_add_entry() 121 if (e->left.sym == &symbol_mod) in rewrite_m() 147 struct symbol *sym = current_entry->sym; in menu_set_type() local 149 if (sym->type == type) in menu_set_type() 151 if (sym in menu_set_type() 232 menu_add_symbol(enum prop_type type,struct symbol * sym,struct expr * dep) menu_add_symbol() argument 237 menu_validate_number(struct symbol * sym,struct symbol * sym2) menu_validate_number() argument 243 sym_check_prop(struct symbol * sym) sym_check_prop() argument 308 struct symbol *sym; _menu_finalize() local 548 struct symbol *sym; menu_is_visible() local 700 get_symbol_props_str(struct gstr * r,struct symbol * sym,enum prop_type tok,const char * prefix) get_symbol_props_str() argument 721 get_symbol_str(struct gstr * r,struct symbol * sym,struct list_head * head) get_symbol_str() argument 775 struct symbol *sym; get_relations_str() local 789 struct symbol *sym = menu->sym; menu_get_ext_help() local [all...] |
| H A D | conf.c | 134 struct symbol *sym = menu->sym; in randomize_choice_values() local 136 if (sym && !sym_has_value(sym)) in randomize_choice_values() 144 struct symbol *sym = menu->sym; in randomize_choice_values() local 146 if (sym && !sym_has_value(sym)) in randomize_choice_values() 150 sym->def[S_DEF_USER].tri = yes; in randomize_choice_values() 151 sym in randomize_choice_values() 233 struct symbol *sym = menu->sym; conf_set_all_new_symbols() local 281 struct symbol *sym; conf_rewrite_tristates() local 291 conf_askvalue(struct symbol * sym,const char * def) conf_askvalue() argument 325 struct symbol *sym = menu->sym; conf_string() local 358 struct symbol *sym = menu->sym; conf_sym() local 511 struct symbol *sym; conf() local 576 struct symbol *sym; check_conf() local [all...] |
| H A D | lkc_proto.h | 23 void print_symbol_for_listconfig(struct symbol *sym); 26 void sym_calc_value(struct symbol *sym); 28 enum symbol_type sym_get_type(const struct symbol *sym); 29 bool sym_tristate_within_range(const struct symbol *sym, tristate tri); 30 bool sym_set_tristate_value(struct symbol *sym,tristate tri); 31 void choice_set_value(struct menu *choice, struct symbol *sym); 32 tristate sym_toggle_tristate_value(struct symbol *sym); 33 bool sym_string_valid(struct symbol *sym, const char *newval); 34 bool sym_string_within_range(struct symbol *sym, const char *str); 35 bool sym_set_string_value(struct symbol *sym, const char *newval); [all …]
|
| H A D | mconf.c | 457 struct symbol *sym; in build_conf() local 475 sym = menu->sym; in build_conf() 477 if (!sym) { in build_conf() 517 type = sym_get_type(sym); in build_conf() 518 if (sym_is_choice(sym)) { in build_conf() 524 if (menu_is_visible(child) && child->sym == def_sym) in build_conf() 544 val = sym_get_tristate_value(sym); in build_conf() 547 if (sym_is_changeable(sym)) in build_conf() 560 if (sym_is_changeable(sym)) { in build_conf() 561 if (sym->rev_dep.tri == mod) in build_conf() [all …]
|
| /linux/include/linux/ |
| H A D | export.h | 18 #define __EXPORT_SYMBOL_REF(sym) \ argument 20 .quad sym 22 #define __EXPORT_SYMBOL_REF(sym) \ argument 24 .long sym 33 #define ___EXPORT_SYMBOL(sym, license, ns...) \ argument 35 __export_symbol_##sym: ASM_NL \ 38 __EXPORT_SYMBOL_REF(sym) ASM_NL \ 48 #define __EXPORT_SYMBOL(sym, license, ns) argument 52 #define __EXPORT_SYMBOL(sym, license, ns) __GENKSYMS_EXPORT_SYMBOL(sym) argument 56 #define __EXPORT_SYMBOL(sym, license, ns) \ argument [all …]
|
| /linux/scripts/gendwarfksyms/ |
| H A D | symbols.c | 21 static unsigned int __for_each_addr(struct symbol *sym, symbol_callback_t func, in __for_each_addr() 29 symbol_addr_hash(&sym->addr)) { in __for_each_addr() 30 if (match == sym) in __for_each_addr() 33 if (match->addr.section == sym->addr.section && in __for_each_addr() 34 match->addr.address == sym->addr.address) { in __for_each_addr() 86 static void set_crc(struct symbol *sym, void *data) in set_crc() 90 if (sym->state == SYMBOL_PROCESSED && sym->crc != *crc) in set_crc() 92 sym->name, sym in set_crc() 20 __for_each_addr(struct symbol * sym,symbol_callback_t func,void * data) __for_each_addr() argument 85 set_crc(struct symbol * sym,void * data) set_crc() argument 97 symbol_set_crc(struct symbol * sym,unsigned long crc) symbol_set_crc() argument 103 set_ptr(struct symbol * sym,void * data) set_ptr() argument 108 symbol_set_ptr(struct symbol * sym,Dwarf_Die * ptr) symbol_set_ptr() argument 114 set_die(struct symbol * sym,void * data) set_die() argument 120 symbol_set_die(struct symbol * sym,Dwarf_Die * die) symbol_set_die() argument 133 struct symbol *sym; symbol_read_exports() local 166 get_symbol(struct symbol * sym,void * arg) get_symbol() argument 176 struct symbol *sym = NULL; symbol_get() local 185 struct symbol *sym; symbol_for_each() local 254 GElf_Sym *sym; elf_for_each_global() local 286 set_symbol_addr(struct symbol * sym,void * arg) set_symbol_addr() argument 303 elf_set_symbol_addr(const char * name,GElf_Sym * sym,Elf32_Word xndx,void * arg) elf_set_symbol_addr() argument 321 struct symbol *sym; symbol_print_versions() local 334 struct symbol *sym; symbol_free() local [all...] |
| /linux/tools/objtool/ |
| H A D | klp-checksum.c | 30 struct symbol *sym; in checksum_debug_init() local 37 for_each_sym_by_name(file->elf, s, sym) { in checksum_debug_init() 38 if (!is_func_sym(sym) && !is_object_sym(sym)) in checksum_debug_init() 40 sym->debug_checksum = 1; in checksum_debug_init() 64 static bool is_anonymous_const_data(struct symbol *sym) in is_anonymous_const_data() argument 66 return strstarts(sym->sec->name, ".rodata.cst") && in is_anonymous_const_data() 67 (is_sec_sym(sym) || strstarts(sym->name, ".LC")); in is_anonymous_const_data() 76 struct symbol *sym; in checksum_update_insn() local 134 sym = reloc->sym; in checksum_update_insn() 137 if (is_string_sec(sym->sec)) { in checksum_update_insn() [all …]
|
| H A D | elf.c | 98 const struct symbol *sym; in __sym_start() 113 sh->sym = s; 147 struct symbol *sym; in find_section_by_name() 149 elf_hash_for_each_possible(elf, symbol, sym, hash, idx) { in find_section_by_name() 150 if (sym->idx == idx) in find_section_by_name() 151 return sym; 160 struct symbol *sym; in find_section_by_index() 162 __sym_for_each(sym, tree, offset, offset) { in find_section_by_index() 163 if (sym->offset == offset && !is_sec_sym(sym)) in find_section_by_index() 118 const struct symbol *sym; global() member 167 struct symbol *sym; find_symbol_by_index() local 180 struct symbol *sym; find_symbol_by_offset() local 206 struct symbol *sym = NULL, *tmp; find_symbol_containing() local 286 struct symbol *sym; find_symbol_by_name() local 301 struct symbol *sym; find_local_symbol_by_file_and_name() local 315 struct symbol *sym; find_global_symbol_by_name() local 327 iterate_global_symbol_by_demangled_name(const struct elf * elf,const char * demangled_name,void (* process)(struct symbol * sym,void * data),void * data) iterate_global_symbol_by_demangled_name() argument 330 struct symbol *sym; iterate_global_symbol_by_demangled_name() local 506 demangle_name(struct symbol * sym) demangle_name() argument 527 elf_add_symbol(struct elf * elf,struct symbol * sym) elf_add_symbol() argument 595 struct symbol *sym, *pfunc, *file = NULL; read_symbols() local 738 struct symbol *sym; mark_group_syms() local 766 elf_update_sym_relocs(struct elf * elf,struct symbol * sym) elf_update_sym_relocs() argument 785 elf_update_symbol(struct elf * elf,struct section * symtab,struct section * symtab_shndx,struct symbol * sym) elf_update_symbol() argument 920 struct symbol *old, *sym; elf_create_symbol() local 1021 struct symbol *sym = calloc(1, sizeof(*sym)); elf_create_section_symbol() local 1034 elf_init_reloc(struct elf * elf,struct section * rsec,unsigned int reloc_idx,unsigned long offset,struct symbol * sym,s64 addend,unsigned int type) elf_init_reloc() argument 1073 struct symbol *sym = insn_sec->sym; elf_init_reloc_text_sym() local 1100 elf_init_reloc_data_sym(struct elf * elf,struct section * sec,unsigned long offset,unsigned int reloc_idx,struct symbol * sym,s64 addend) elf_init_reloc_data_sym() argument 1118 struct symbol *sym; read_relocs() local 1245 struct symbol *sym; elf_create_file() local 1523 struct symbol *sym; elf_alloc_reloc() local 1668 elf_create_reloc(struct elf * elf,struct section * sec,unsigned long offset,struct symbol * sym,s64 addend,unsigned int type) elf_create_reloc() argument [all...] |
| H A D | klp-diff.c | 34 char *sym; 140 char *sym, *mod, *type, *namespace; in read_exports() 145 sym = strchr(line, '\t'); in read_exports() 146 if (!sym) { in read_exports() 147 ERROR("malformed Module.symvers (sym) at line %d", line_num); in read_exports() 151 *sym++ = '\0'; in read_exports() 153 mod = strchr(sym, '\t'); in read_exports() 177 if (*sym == '\0' || *mod == '\0') { in read_sym_checksums() 197 export->sym = strdup(sym); in read_sym_checksums() 33 char *mod, *sym; global() member 109 char *sym, *mod, *type; read_exports() local 192 struct symbol *sym; read_sym_checksums() local 218 struct symbol *sym; first_file_symbol() local 228 next_file_symbol(struct elf * elf,struct symbol * sym) next_file_symbol() argument 242 is_uncorrelated_static_local(struct symbol * sym) is_uncorrelated_static_local() argument 273 is_clang_tmp_label(struct symbol * sym) is_clang_tmp_label() argument 345 dont_correlate(struct symbol * sym) dont_correlate() argument 364 process_demangled_name(struct symbol * sym,void * d) process_demangled_name() argument 383 find_global_symbol_by_demangled_name(struct elf * elf,struct symbol * sym,struct symbol ** out_sym) find_global_symbol_by_demangled_name() argument 561 find_sympos(struct elf * elf,struct symbol * sym) find_sympos() argument 684 sym_type(struct symbol * sym) sym_type() argument 696 sym_bind(struct symbol * sym) sym_bind() argument 847 find_export(struct symbol * sym) find_export() argument 957 struct symbol *sym = reloc->sym; convert_reloc_sym_to_secsym() local 971 struct symbol *sym = reloc->sym; convert_reloc_secsym_to_sym() local 1022 struct symbol *sym, *klp_sym; clone_reloc_klp() local 1401 should_keep_special_sym(struct elf * elf,struct symbol * sym) should_keep_special_sym() argument 1439 validate_special_section_klp_reloc(struct elfs * e,struct symbol * sym) validate_special_section_klp_reloc() argument 1578 struct symbol *funcs_sym, *str_sym, *sym; create_klp_sections() local [all...] |
| /linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| H A D | nfp_rtsym.c | 208 u64 nfp_rtsym_size(const struct nfp_rtsym *sym) in nfp_rtsym_size() argument 210 switch (sym->type) { in nfp_rtsym_size() 212 pr_err("rtsym '%s': type NONE\n", sym->name); in nfp_rtsym_size() 215 pr_warn("rtsym '%s': unknown type: %d\n", sym->name, sym->type); in nfp_rtsym_size() 219 return sym->size; in nfp_rtsym_size() 226 nfp_rtsym_to_dest(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, in nfp_rtsym_to_dest() argument 229 if (sym->type != NFP_RTSYM_TYPE_OBJECT) { in nfp_rtsym_to_dest() 231 sym->name); in nfp_rtsym_to_dest() 235 *addr = sym->addr + off; in nfp_rtsym_to_dest() 237 if (sym->target == NFP_RTSYM_TARGET_EMU_CACHE) { in nfp_rtsym_to_dest() [all …]
|
| /linux/scripts/genksyms/ |
| H A D | genksyms.c | 155 struct symbol *sym; in find_symbol() local 157 hash_for_each_possible(symbol_hashtable, sym, hnode, crc32(name)) { in find_symbol() 158 if (map_to_ns(sym->type) == map_to_ns(ns) && in find_symbol() 159 strcmp(name, sym->name) == 0 && in find_symbol() 160 sym->is_declared) in find_symbol() 164 if (exact && sym && sym->type != ns) in find_symbol() 166 return sym; in find_symbol() 169 static int is_unknown_symbol(struct symbol *sym) in is_unknown_symbol() argument 173 return ((sym->type == SYM_STRUCT || in is_unknown_symbol() 174 sym->type == SYM_UNION || in is_unknown_symbol() [all …]
|
| /linux/tools/perf/util/ |
| H A D | symbol_fprintf.c | 10 size_t symbol__fprintf(struct symbol *sym, FILE *fp) in symbol__fprintf() argument 13 sym->start, sym->end, in symbol__fprintf() 14 symbol__binding(sym) == STB_GLOBAL ? 'g' : in symbol__fprintf() 15 symbol__binding(sym) == STB_LOCAL ? 'l' : 'w', in symbol__fprintf() 16 sym->name); in symbol__fprintf() 19 size_t __symbol__fprintf_symname_offs(const struct symbol *sym, in __symbol__fprintf_symname_offs() argument 27 if (sym) { in __symbol__fprintf_symname_offs() 28 length = fprintf(fp, "%s", sym->name); in __symbol__fprintf_symname_offs() 30 if (al->addr < sym in __symbol__fprintf_symname_offs() 43 symbol__fprintf_symname_offs(const struct symbol * sym,const struct addr_location * al,FILE * fp) symbol__fprintf_symname_offs() argument 50 __symbol__fprintf_symname(const struct symbol * sym,const struct addr_location * al,bool unknown_as_addr,FILE * fp) __symbol__fprintf_symname() argument 57 symbol__fprintf_symname(const struct symbol * sym,FILE * fp) symbol__fprintf_symname() argument [all...] |
| H A D | demangle-ocaml.c | 15 ocaml_is_mangled(const char *sym) in ocaml_is_mangled() argument 17 return 0 == strncmp(sym, caml_prefix, caml_prefix_len) in ocaml_is_mangled() 18 && isupper(sym[caml_prefix_len]); in ocaml_is_mangled() 29 ocaml_demangle_sym(const char *sym) in ocaml_demangle_sym() argument 36 if (!ocaml_is_mangled(sym)) { in ocaml_demangle_sym() 40 len = strlen(sym); in ocaml_demangle_sym() 51 if (sym[i] == '_' && sym[i + 1] == '_') { in ocaml_demangle_sym() 56 else if (sym[i] == '$' && isxdigit(sym[i + 1]) && isxdigit(sym[i + 2])) { in ocaml_demangle_sym() 58 result[j++] = (hex(sym[i + 1]) << 4) | hex(sym[i + 2]); in ocaml_demangle_sym() 62 result[j++] = sym[i++]; in ocaml_demangle_sym()
|
| H A D | call-path.c | 15 struct symbol *sym, u64 ip, bool in_kernel) in call_path__init() argument 18 cp->sym = sym; in call_path__init() 19 cp->ip = sym ? 0 : ip; in call_path__init() 51 struct symbol *sym, u64 ip, in call_path__new() argument 72 call_path__init(cp, parent, sym, ip, in_kernel); in call_path__new() 79 struct symbol *sym, u64 ip, u64 ks) in call_path__findnew() argument 86 if (sym) in call_path__findnew() 90 return call_path__new(cpr, parent, sym, ip, in_kernel); in call_path__findnew() 97 if (cp->sym == sym && cp->ip == ip) in call_path__findnew() 100 if (sym < cp->sym || (sym == cp->sym && ip < cp->ip)) in call_path__findnew() [all …]
|
| /linux/tools/perf/scripts/python/ |
| H A D | stackcollapse.py | 72 def tidy_function_name(sym, dso): argument 73 if sym is None: 74 sym = '[unknown]' 76 sym = sym.replace(';', ':') 83 sym = sym.replace('<', '') 84 sym = sym.replace('>', '') 85 if sym[0] == 'L' and sym.find('/'): 86 sym = sym[1:] 88 sym = sym[:sym.index('(')] 93 return sym + '_[k]' [all …]
|
| /linux/tools/lib/bpf/ |
| H A D | elf.c | 77 GElf_Sym sym; member 92 struct elf_sym sym; member 157 struct elf_sym *ret = &iter->sym; in elf_sym_iter_next() 158 GElf_Sym *sym = &ret->sym; in elf_sym_iter_next() local 165 if (!gelf_getsym(iter->syms, idx, sym)) in elf_sym_iter_next() 167 if (GELF_ST_TYPE(sym->st_info) != iter->st_type) in elf_sym_iter_next() 169 name = elf_strptr(iter->elf, iter->strtabidx, sym->st_name); in elf_sym_iter_next() 172 sym_scn = elf_getscn(iter->elf, sym->st_shndx); in elf_sym_iter_next() 223 static bool symbol_match(struct elf_sym_iter *iter, int sh_type, struct elf_sym *sym, in symbol_match() argument 231 if (strncmp(sym->name, name, name_len) != 0) in symbol_match() [all …]
|
| /linux/tools/perf/arch/powerpc/util/ |
| H A D | sym-handling.c | 16 char *sym = syma->name; in arch__choose_best_symbol() local 20 if (*sym == '.') in arch__choose_best_symbol() 21 sym++; in arch__choose_best_symbol() 25 if (strlen(sym) >= 3 && !strncmp(sym, "SyS", 3)) in arch__choose_best_symbol() 27 if (strlen(sym) >= 10 && !strncmp(sym, "compat_SyS", 10)) in arch__choose_best_symbol() 70 void arch__sym_update(struct symbol *s, GElf_Sym *sym) in arch__sym_update() argument 72 s->arch_sym = sym->st_other; in arch__sym_update() 80 struct symbol *sym) in arch__fix_tev_from_maps() argument 94 if (pev->point.offset || !map || !sym) in arch__fix_tev_from_maps() 105 lep_offset = PPC64_LOCAL_ENTRY_OFFSET(sym->arch_sym); in arch__fix_tev_from_maps() [all …]
|
| /linux/scripts/ |
| H A D | elf-parse.h | 43 uint8_t (*sym_type)(Elf_Sym *sym); 44 uint32_t (*sym_name)(Elf_Sym *sym); 45 uint64_t (*sym_value)(Elf_Sym *sym); 46 uint16_t (*sym_shndx)(Elf_Sym *sym); 152 static inline uint64_t sym64_##fn_name(Elf_Sym *sym) \ 154 return elf_parser.r8(&sym->e64.st_##fn_name); \ 157 static inline uint64_t sym32_##fn_name(Elf_Sym *sym) \ 159 return elf_parser.r(&sym->e32.st_##fn_name); \ 162 static inline uint64_t sym_##fn_name(Elf_Sym *sym) \ 164 return elf_parser.sym_##fn_name(sym); \ [all …]
|
| H A D | kallsyms.c | 40 unsigned char sym[]; member 76 return (char *)s->sym + 1; in sym_name() 96 static void check_symbol_range(const char *sym, unsigned long long addr, in check_symbol_range() argument 105 if (strcmp(sym, ar->start_sym) == 0) { in check_symbol_range() 108 } else if (strcmp(sym, ar->end_sym) == 0) { in check_symbol_range() 121 struct sym_entry *sym; in read_symbol() local 166 sym = xmalloc(sizeof(*sym) + len + 1); in read_symbol() 167 sym->addr = addr; in read_symbol() 168 sym in read_symbol() 251 struct sym_entry *sym; read_map() local [all...] |
| /linux/lib/zlib_inflate/ |
| H A D | inftrees.c | 27 unsigned sym; /* index of code symbols */ in zlib_inflate_table() local 95 for (sym = 0; sym < codes; sym++) in zlib_inflate_table() 96 count[lens[sym]]++; in zlib_inflate_table() 132 for (sym = 0; sym < codes; sym++) in zlib_inflate_table() 133 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; in zlib_inflate_table() 188 sym = 0; /* starting code symbol */ in zlib_inflate_table() 205 if ((int)(work[sym]) < end) { in zlib_inflate_table() 207 this.val = work[sym]; in zlib_inflate_table() 209 else if ((int)(work[sym]) > end) { in zlib_inflate_table() 210 this.op = (unsigned char)(extra[work[sym]]); in zlib_inflate_table() [all …]
|
| /linux/arch/arm/include/asm/ |
| H A D | ftrace.h | 62 static inline bool arch_syscall_match_sym_name(const char *sym, in arch_syscall_match_sym_name() argument 65 if (!strcmp(sym, "sys_mmap2")) in arch_syscall_match_sym_name() 66 sym = "sys_mmap_pgoff"; in arch_syscall_match_sym_name() 67 else if (!strcmp(sym, "sys_statfs64_wrapper")) in arch_syscall_match_sym_name() 68 sym = "sys_statfs64"; in arch_syscall_match_sym_name() 69 else if (!strcmp(sym, "sys_fstatfs64_wrapper")) in arch_syscall_match_sym_name() 70 sym = "sys_fstatfs64"; in arch_syscall_match_sym_name() 71 else if (!strcmp(sym, "sys_arm_fadvise64_64")) in arch_syscall_match_sym_name() 72 sym = "sys_fadvise64_64"; in arch_syscall_match_sym_name() 75 return !strcasecmp(sym, name); in arch_syscall_match_sym_name()
|
| /linux/scripts/mod/ |
| H A D | modpost.c | 253 static uint8_t get_symbol_flags(const struct symbol *sym) in get_symbol_flags() argument 255 return sym->is_gpl_only ? KSYM_FLAG_GPL_ONLY : 0; in get_symbol_flags() 259 static void hash_add_symbol(struct symbol *sym) in hash_add_symbol() argument 261 hash_add(symbol_hashtable, &sym->hnode, hash_str(sym->name)); in hash_add_symbol() 266 struct symbol *sym; in sym_add_unresolved() local 268 sym = alloc_symbol(name); in sym_add_unresolved() 269 sym->weak = weak; in sym_add_unresolved() 271 list_add_tail(&sym->list, &mod->unresolved_symbols); in sym_add_unresolved() 337 void *sym_get_data(const struct elf_info *info, const Elf_Sym *sym) in sym_get_data() argument 339 return sym_get_data_by_offset(info, get_secindex(info, sym), in sym_get_data() [all …]
|