Home
last modified time | relevance | path

Searched refs:sym (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/linux/scripts/kconfig/
A Dsymbol.c315 sym = menu->sym; in sym_calc_choice()
317 if (!sym || sym->visible == no || sym_has_value(sym)) in sym_calc_choice()
343 sym = menu->sym; in sym_calc_choice()
345 if (!sym || sym->visible == no) in sym_calc_choice()
422 sym->curr.val = sym->name; in sym_calc_value()
539 if (sym->visible <= sym->rev_dep.tri) in sym_tristate_within_range()
583 val = menu->sym == sym ? yes : no; in choice_set_value()
874 return !sym_is_choice(sym) && sym->visible > sym->rev_dep.tri; in sym_is_changeable()
1022 sym_match_arr[cnt++].sym = sym; in sym_re_search()
1060 stack->sym = sym; in dep_stack_insert()
[all …]
A Dconfdata.c441 if (!sym) { in conf_read_simple()
497 if (sym_has_value(sym) && (sym->flags & SYMBOL_WRITE)) { in conf_read()
502 if (sym->def[S_DEF_USER].tri == sym_get_tristate_value(sym)) in conf_read()
506 if (!strcmp(sym->curr.val, sym->def[S_DEF_USER].val)) in conf_read()
612 if ((sym->type == S_BOOLEAN || sym->type == S_TRISTATE) && in __print_symbol()
764 sym = menu->sym; in conf_write_defconfig()
766 if (!sym || sym_is_choice(sym)) in conf_write_defconfig()
786 if (sym == ds && sym_get_tristate_value(sym) == yes) in conf_write_defconfig()
840 sym = menu->sym; in conf_write()
841 if (!sym) { in conf_write()
[all …]
A Dexpr.c127 (*ep1)->left.sym == (*ep2)->left.sym && in __expr_eliminate_eq()
228 return e1->left.sym == e2->left.sym && e1->right.sym == e2->right.sym; in expr_eq()
230 return e1->left.sym == e2->left.sym; in expr_eq()
238 e1->left.sym == e2->left.sym); in expr_eq()
724 return dep->left.sym == sym; in expr_contains_symbol()
731 return dep->left.sym == sym || in expr_contains_symbol()
732 dep->right.sym == sym; in expr_contains_symbol()
751 return dep->left.sym == sym; in expr_depends_symbol()
753 if (dep->left.sym == sym) { in expr_depends_symbol()
759 if (dep->left.sym == sym) { in expr_depends_symbol()
[all …]
A Dmenu.c74 menu->sym = sym; in menu_add_entry()
82 if (sym) in menu_add_entry()
136 struct symbol *sym = current_entry->sym; in menu_set_type() local
146 sym->name ? sym->name : "<choice>", in menu_set_type()
241 if ((sym->type == S_STRING || sym->type == S_INT || sym->type == S_HEX) && in sym_check_prop()
258 if (!choice || choice->sym != sym) in sym_check_prop()
301 sym = parent->sym; in _menu_finalize()
496 if (sym && !(sym->flags & SYMBOL_WARNED)) { in _menu_finalize()
548 sym = menu->sym; in menu_is_visible()
696 if (sym && sym->name) { in get_symbol_str()
[all …]
A Dconf.c134 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()
233 struct symbol *sym = menu->sym; in conf_set_all_new_symbols() local
325 struct symbol *sym = menu->sym; in conf_string() local
358 struct symbol *sym = menu->sym; in conf_sym() local
518 sym = menu->sym; in conf()
566 if (sym) in conf()
582 sym = menu->sym; in check_conf()
[all …]
A Dlkc_proto.h23 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);
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);
36 bool sym_is_changeable(const struct symbol *sym);
37 struct menu *sym_get_choice_menu(const struct symbol *sym);
[all …]
A Dmconf.c456 struct symbol *sym; in build_conf() local
474 sym = menu->sym; in build_conf()
476 if (!sym) { in build_conf()
576 (sym_has_value(sym) || !sym_is_changeable(sym)) ? in build_conf()
583 (sym_has_value(sym) || !sym_is_changeable(sym)) ? in build_conf()
614 if (child->sym) in conf_choice()
637 if (!child->sym) in conf_choice()
758 struct symbol *sym; in conf() local
790 sym = submenu->sym; in conf()
792 sym = NULL; in conf()
[all …]
/linux/include/linux/
A Dexport.h20 .quad sym
24 .long sym
29 __export_symbol_##sym: ASM_NL \
46 #define __EXPORT_SYMBOL(sym, license, ns) __GENKSYMS_EXPORT_SYMBOL(sym) argument
56 extern typeof(sym) sym; \
57 __ADDRESSABLE(sym) \
65 #define _EXPORT_SYMBOL(sym, license) __EXPORT_SYMBOL(sym, license, "") argument
68 #define EXPORT_SYMBOL(sym) _EXPORT_SYMBOL(sym, "") argument
69 #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") argument
70 #define EXPORT_SYMBOL_NS(sym, ns) __EXPORT_SYMBOL(sym, "", __stringify(ns)) argument
[all …]
A Dexport-internal.h20 #define __KSYM_REF(sym) ".long " #sym "- ." argument
23 #define __KSYM_REF(sym) ".quad " #sym argument
26 #define __KSYM_REF(sym) ".long " #sym argument
40 #define __KSYMTAB(name, sym, sec, ns) \ argument
50 __KSYM_REF(sym) "\n" \
65 #define SYMBOL_CRC(sym, crc, sec) \ argument
66 asm(".section \"___kcrctab" sec "+" #sym "\",\"a\"" "\n" \
68 "__crc_" #sym ":" "\n" \
/linux/tools/objtool/
A Delf.c399 sym->alias = sym; in elf_add_symbol()
401 sym->type = GELF_ST_TYPE(sym->sym.st_info); in elf_add_symbol()
402 sym->bind = GELF_ST_BIND(sym->sym.st_info); in elf_add_symbol()
407 sym->offset = sym->sym.st_value; in elf_add_symbol()
408 sym->len = sym->sym.st_size; in elf_add_symbol()
500 sym->sec->sym = sym; in read_symbols()
522 sym->pfunc = sym; in read_symbols()
525 sym->cfunc = sym; in read_symbols()
837 sym->sym.st_info = orig->sym.st_info; in elf_create_prefix_symbol()
838 sym->sym.st_value = orig->sym.st_value - size; in elf_create_prefix_symbol()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
A Dnfp_rtsym.c215 pr_warn("rtsym '%s': unknown type: %d\n", sym->name, sym->type); in nfp_rtsym_size()
219 return sym->size; in nfp_rtsym_size()
231 sym->name); in nfp_rtsym_to_dest()
247 sym->name, sym->target); in nfp_rtsym_to_dest()
303 sym->name, off, nfp_rtsym_size(sym)); in __nfp_rtsym_readl()
329 sym->name, off, nfp_rtsym_size(sym)); in __nfp_rtsym_readq()
388 sym->name, off, nfp_rtsym_size(sym)); in __nfp_rtsym_writel()
414 sym->name, off, nfp_rtsym_size(sym)); in __nfp_rtsym_writeq()
452 if (!sym) { in nfp_rtsym_read_le()
501 if (!sym) in nfp_rtsym_write_le()
[all …]
/linux/scripts/genksyms/
A Dgenksyms.c157 for (sym = symtab[h]; sym; sym = sym->hash_next) in find_symbol()
163 if (exact && sym && sym->type != ns) in find_symbol()
165 return sym; in find_symbol()
228 for (sym = symtab[h]; sym; sym = sym->hash_next) { in __add_symbol()
235 if (!sym->is_declared && sym->is_override) { in __add_symbol()
263 if (sym) { in __add_symbol()
275 sym = xmalloc(sizeof(*sym)); in __add_symbol()
463 if (sym && sym->tag == SYM_NORMAL && in read_reference()
469 if (!sym) in read_reference()
637 if (!sym) in export_symbol()
[all …]
/linux/arch/arm64/include/asm/
A Dkvm_asm.h85 #define DECLARE_KVM_VHE_SYM(sym) extern char sym[] argument
86 #define DECLARE_KVM_NVHE_SYM(sym) extern char kvm_nvhe_sym(sym)[] argument
94 DECLARE_KVM_NVHE_SYM(sym)
109 #define this_cpu_ptr_nvhe_sym(sym) per_cpu_ptr_nvhe_sym(sym, smp_processor_id()) argument
121 #define CHOOSE_NVHE_SYM(sym) sym argument
122 #define CHOOSE_HYP_SYM(sym) CHOOSE_NVHE_SYM(sym) argument
132 #define CHOOSE_VHE_SYM(sym) sym argument
133 #define CHOOSE_HYP_SYM(sym) CHOOSE_VHE_SYM(sym) argument
166 #define CHOOSE_VHE_SYM(sym) sym argument
167 #define CHOOSE_NVHE_SYM(sym) kvm_nvhe_sym(sym) argument
[all …]
/linux/tools/perf/util/
A Dsymbol_fprintf.c10 size_t symbol__fprintf(struct symbol *sym, FILE *fp) in symbol__fprintf() argument
13 sym->start, sym->end, in symbol__fprintf()
14 sym->binding == STB_GLOBAL ? 'g' : in symbol__fprintf()
15 sym->binding == STB_LOCAL ? 'l' : 'w', in symbol__fprintf()
16 sym->name); in symbol__fprintf()
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->end) in __symbol__fprintf_symname_offs()
31 offset = al->addr - sym->start; in __symbol__fprintf_symname_offs()
33 offset = al->addr - map__start(al->map) - sym->start; in __symbol__fprintf_symname_offs()
[all …]
A Ddemangle-ocaml.c15 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()
A Dcall-path.c15 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/
A Dstackcollapse.py72 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/perf/arch/powerpc/util/
A Dsym-handling.c16 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()
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()
123 struct symbol *sym = NULL; in arch__post_process_probe_trace_events() local
133 map__for_each_symbol(map, sym, tmp) { in arch__post_process_probe_trace_events()
[all …]
/linux/tools/lib/bpf/
A Delf.c80 GElf_Sym sym; member
95 struct elf_sym sym; member
161 GElf_Sym *sym = &ret->sym; in elf_sym_iter_next() local
240 if (sym->name[name_len] != '\0' && sym->name[name_len] != '@') in symbol_match()
271 return sym->sym.st_value - sym->sh.sh_addr + sym->sh.sh_offset; in elf_sym_offset()
316 struct elf_sym *sym; in elf_find_func_offset() local
330 cur_bind = GELF_ST_BIND(sym->sym.st_info); in elf_find_func_offset()
441 struct elf_sym *sym; in elf_resolve_syms_offsets() local
451 int bind = GELF_ST_BIND(sym->sym.st_info); in elf_resolve_syms_offsets()
453 .name = sym->name, in elf_resolve_syms_offsets()
[all …]
/linux/arch/x86/include/asm/
A Druntime-const.h5 #define runtime_const_ptr(sym) ({ \ argument
6 typeof(sym) __ret; \
8 ".pushsection runtime_ptr_" #sym ",\"a\"\n\t" \
19 #define runtime_const_shift_right_32(val, sym) ({ \ argument
22 ".pushsection runtime_shift_" #sym ",\"a\"\n\t" \
28 #define runtime_const_init(type, sym) do { \ argument
29 extern s32 __start_runtime_##type##_##sym[]; \
30 extern s32 __stop_runtime_##type##_##sym[]; \
32 (unsigned long)(sym), \
33 __start_runtime_##type##_##sym, \
[all …]
/linux/arch/arm/include/asm/
A Dftrace.h62 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/lib/zlib_inflate/
A Dinftrees.c27 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()
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()
211 this.val = base[work[sym]]; in zlib_inflate_table()
239 sym++; in zlib_inflate_table()
[all …]
/linux/arch/s390/include/asm/
A Druntime-const.h7 #define runtime_const_ptr(sym) \ argument
9 typeof(sym) __ret; \
14 ".pushsection runtime_ptr_" #sym ",\"a\"\n" \
23 #define runtime_const_shift_right_32(val, sym) \ argument
29 ".pushsection runtime_shift_" #sym ",\"a\"\n" \
36 #define runtime_const_init(type, sym) do { \ argument
37 extern s32 __start_runtime_##type##_##sym[]; \
38 extern s32 __stop_runtime_##type##_##sym[]; \
41 (unsigned long)(sym), \
42 __start_runtime_##type##_##sym, \
[all …]
/linux/kernel/module/
A Dkallsyms.c48 if (sym->st_shndx == SHN_UNDEF) in elf_type()
50 if (sym->st_shndx == SHN_ABS || sym->st_shndx == info->index.pcpu) in elf_type()
52 if (sym->st_shndx >= SHN_LORESERVE) in elf_type()
125 symsect, info->index.sym); in layout_symtab()
284 if (sym->st_shndx == SHN_UNDEF) in find_kallsyms_symbol()
331 const char *sym; in module_address_lookup() local
350 if (sym) in module_address_lookup()
367 const char *sym; in lookup_module_symbol_name() local
370 if (!sym) in lookup_module_symbol_name()
422 sym->st_shndx != SHN_UNDEF) in __find_kallsyms_symbol_value()
[all …]
/linux/tools/objtool/include/objtool/
A Dwarn.h22 struct symbol *sym = NULL; in offstr() local
27 sym = find_func_containing(sec, offset); in offstr()
28 if (!sym) in offstr()
29 sym = find_symbol_containing(sec, offset); in offstr()
31 if (sym) { in offstr()
32 str = malloc(strlen(sym->name) + strlen(sec->name) + 40); in offstr()
33 len = sprintf(str, "%s+0x%lx", sym->name, offset - sym->offset); in offstr()
59 if (!_insn->sym || !_insn->sym->warned) \
62 if (_insn->sym) \
63 _insn->sym->warned = 1; \

Completed in 60 milliseconds

12345678910>>...13