Home
last modified time | relevance | path

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

12345678910>>...17

/OK3568_Linux_fs/kernel/include/linux/
H A Dexport.h26 #define __CRC_SYMBOL(sym, sec) \ argument
27 asm(" .section \"___kcrctab" sec "+" #sym "\", \"a\" \n" \
28 " .weak __crc_" #sym " \n" \
29 " .long __crc_" #sym " - . \n" \
32 #define __CRC_SYMBOL(sym, sec) \ argument
33 asm(" .section \"___kcrctab" sec "+" #sym "\", \"a\" \n" \
34 " .weak __crc_" #sym " \n" \
35 " .long __crc_" #sym " \n" \
39 #define __CRC_SYMBOL(sym, sec) argument
50 #define __KSYMTAB_ENTRY(sym, sec) \ argument
[all …]
/OK3568_Linux_fs/buildroot/support/kconfig/
H A Dsymbol.c38 static void sym_add_default(struct symbol *sym, const char *def) in sym_add_default() argument
40 struct property *prop = prop_alloc(P_DEFAULT, sym); in sym_add_default()
47 struct symbol *sym; in sym_init() local
57 sym = sym_lookup("UNAME_RELEASE", 0); in sym_init()
58 sym->type = S_STRING; in sym_init()
59 sym->flags |= SYMBOL_AUTO; in sym_init()
60 sym_add_default(sym, uts.release); in sym_init()
63 enum symbol_type sym_get_type(struct symbol *sym) in sym_get_type() argument
65 enum symbol_type type = sym->type; in sym_get_type()
68 if (sym_is_choice_value(sym) && sym->visible == yes) in sym_get_type()
[all …]
H A Dconfdata.c85 struct symbol *sym; in conf_expand_value() local
99 sym = sym_lookup(name, 0); in conf_expand_value()
100 sym_calc_value(sym); in conf_expand_value()
101 strcat(res_value, sym_get_string_value(sym)); in conf_expand_value()
125 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) in conf_set_sym_val() argument
129 switch (sym->type) { in conf_set_sym_val()
132 sym->def[def].tri = mod; in conf_set_sym_val()
133 sym->flags |= def_flags; in conf_set_sym_val()
139 sym->def[def].tri = yes; in conf_set_sym_val()
140 sym->flags |= def_flags; in conf_set_sym_val()
[all …]
H A Dmenu.c47 void menu_add_entry(struct symbol *sym) in menu_add_entry() argument
53 menu->sym = sym; in menu_add_entry()
61 if (sym) in menu_add_entry()
62 menu_add_symbol(P_SYMBOL, sym, NULL); in menu_add_entry()
97 if (e->left.sym == &symbol_mod) in rewrite_m()
113 struct symbol *sym = current_entry->sym; in menu_set_type() local
115 if (sym->type == type) in menu_set_type()
117 if (sym->type == S_UNKNOWN) { in menu_set_type()
118 sym->type = type; in menu_set_type()
123 sym->name ? sym->name : "<choice>", in menu_set_type()
[all …]
H A Dexpr.c17 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol() argument
21 e->left.sym = sym; in expr_alloc_symbol()
46 e->left.sym = s1; in expr_alloc_comp()
47 e->right.sym = s2; in expr_alloc_comp()
87 e->left.sym = org->left.sym; in expr_copy()
88 e->right.sym = org->right.sym; in expr_copy()
167 e1->left.sym == e2->left.sym && in __expr_eliminate_eq()
168 (e1->left.sym == &symbol_yes || e1->left.sym == &symbol_no)) in __expr_eliminate_eq()
264 return e1->left.sym == e2->left.sym && e1->right.sym == e2->right.sym; in expr_eq()
266 return e1->left.sym == e2->left.sym; in expr_eq()
[all …]
H A Dconf.c84 static int conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue() argument
86 enum symbol_type type = sym_get_type(sym); in conf_askvalue()
88 if (!sym_has_value(sym)) in conf_askvalue()
94 if (!sym_is_changable(sym)) { in conf_askvalue()
104 if (sym_has_value(sym)) { in conf_askvalue()
132 struct symbol *sym = menu->sym; in conf_string() local
137 printf("(%s) ", sym->name); in conf_string()
138 def = sym_get_string_value(sym); in conf_string()
139 if (sym_get_string_value(sym)) in conf_string()
141 if (!conf_askvalue(sym, def)) in conf_string()
[all …]
H A Dexpr.h39 struct symbol *sym; member
52 for (e = (l); e && (s = e->right.sym); e = e->left.expr)
134 #define for_all_symbols(i, sym) for (i = 0; i < SYMBOL_HASHSIZE; i++) for (sym = symbol_hash[i]; sy… argument
191 struct symbol *sym; /* the symbol for which the property is associated */ member
203 #define for_all_properties(sym, st, tok) \ argument
204 for (st = sym->prop; st; st = st->next) \
206 #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) argument
207 #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOICE) argument
208 #define for_all_prompts(sym, st) \ argument
209 for (st = sym->prop; st; st = st->next) \
[all …]
/OK3568_Linux_fs/u-boot/scripts/kconfig/
H A Dsymbol.c38 static void sym_add_default(struct symbol *sym, const char *def) in sym_add_default() argument
40 struct property *prop = prop_alloc(P_DEFAULT, sym); in sym_add_default()
47 struct symbol *sym; in sym_init() local
57 sym = sym_lookup("UNAME_RELEASE", 0); in sym_init()
58 sym->type = S_STRING; in sym_init()
59 sym->flags |= SYMBOL_AUTO; in sym_init()
60 sym_add_default(sym, uts.release); in sym_init()
63 enum symbol_type sym_get_type(struct symbol *sym) in sym_get_type() argument
65 enum symbol_type type = sym->type; in sym_get_type()
68 if (sym_is_choice_value(sym) && sym->visible == yes) in sym_get_type()
[all …]
H A Dconfdata.c86 struct symbol *sym; in conf_expand_value() local
100 sym = sym_lookup(name, 0); in conf_expand_value()
101 sym_calc_value(sym); in conf_expand_value()
102 strcat(res_value, sym_get_string_value(sym)); in conf_expand_value()
126 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) in conf_set_sym_val() argument
130 switch (sym->type) { in conf_set_sym_val()
133 sym->def[def].tri = mod; in conf_set_sym_val()
134 sym->flags |= def_flags; in conf_set_sym_val()
140 sym->def[def].tri = yes; in conf_set_sym_val()
141 sym->flags |= def_flags; in conf_set_sym_val()
[all …]
H A Dmenu.c47 void menu_add_entry(struct symbol *sym) in menu_add_entry() argument
53 menu->sym = sym; in menu_add_entry()
61 if (sym) in menu_add_entry()
62 menu_add_symbol(P_SYMBOL, sym, NULL); in menu_add_entry()
98 if (e->left.sym == &symbol_mod) in menu_check_dep()
114 struct symbol *sym = current_entry->sym; in menu_set_type() local
116 if (sym->type == type) in menu_set_type()
118 if (sym->type == S_UNKNOWN) { in menu_set_type()
119 sym->type = type; in menu_set_type()
124 sym->name ? sym->name : "<choice>", in menu_set_type()
[all …]
H A Dexpr.c17 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol() argument
21 e->left.sym = sym; in expr_alloc_symbol()
46 e->left.sym = s1; in expr_alloc_comp()
47 e->right.sym = s2; in expr_alloc_comp()
87 e->left.sym = org->left.sym; in expr_copy()
88 e->right.sym = org->right.sym; in expr_copy()
154 e1->left.sym == e2->left.sym && in __expr_eliminate_eq()
155 (e1->left.sym == &symbol_yes || e1->left.sym == &symbol_no)) in __expr_eliminate_eq()
213 return e1->left.sym == e2->left.sym && e1->right.sym == e2->right.sym; in expr_eq()
215 return e1->left.sym == e2->left.sym; in expr_eq()
[all …]
H A Dconf.c85 static int conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue() argument
87 enum symbol_type type = sym_get_type(sym); in conf_askvalue()
89 if (!sym_has_value(sym)) in conf_askvalue()
95 if (!sym_is_changable(sym)) { in conf_askvalue()
105 if (sym_has_value(sym)) { in conf_askvalue()
136 struct symbol *sym = menu->sym; in conf_string() local
141 printf("(%s) ", sym->name); in conf_string()
142 def = sym_get_string_value(sym); in conf_string()
143 if (sym_get_string_value(sym)) in conf_string()
145 if (!conf_askvalue(sym, def)) in conf_string()
[all …]
H A Dexpr.h39 struct symbol *sym; member
52 for (e = (l); e && (s = e->right.sym); e = e->left.expr)
91 #define for_all_symbols(i, sym) for (i = 0; i < SYMBOL_HASHSIZE; i++) for (sym = symbol_hash[i]; sy… argument
148 struct symbol *sym; /* the symbol for which the property is associated */ member
160 #define for_all_properties(sym, st, tok) \ argument
161 for (st = sym->prop; st; st = st->next) \
163 #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) argument
164 #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOICE) argument
165 #define for_all_prompts(sym, st) \ argument
166 for (st = sym->prop; st; st = st->next) \
[all …]
/OK3568_Linux_fs/kernel/scripts/kconfig/
H A Dsymbol.c42 enum symbol_type sym_get_type(struct symbol *sym) in sym_get_type() argument
44 enum symbol_type type = sym->type; in sym_get_type()
47 if (sym_is_choice_value(sym) && sym->visible == yes) in sym_get_type()
74 struct property *sym_get_choice_prop(struct symbol *sym) in sym_get_choice_prop() argument
78 for_all_choices(sym, prop) in sym_get_choice_prop()
83 static struct property *sym_get_default_prop(struct symbol *sym) in sym_get_default_prop() argument
87 for_all_defaults(sym, prop) { in sym_get_default_prop()
95 struct property *sym_get_range_prop(struct symbol *sym) in sym_get_range_prop() argument
99 for_all_properties(sym, prop, P_RANGE) { in sym_get_range_prop()
107 static long long sym_get_range_val(struct symbol *sym, int base) in sym_get_range_val() argument
[all …]
H A Dconfdata.c234 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) in conf_set_sym_val() argument
238 switch (sym->type) { in conf_set_sym_val()
241 sym->def[def].tri = mod; in conf_set_sym_val()
242 sym->flags |= def_flags; in conf_set_sym_val()
248 sym->def[def].tri = yes; in conf_set_sym_val()
249 sym->flags |= def_flags; in conf_set_sym_val()
253 sym->def[def].tri = no; in conf_set_sym_val()
254 sym->flags |= def_flags; in conf_set_sym_val()
259 p, sym->name); in conf_set_sym_val()
279 if (sym_string_valid(sym, p)) { in conf_set_sym_val()
[all …]
H A Dmenu.c47 void menu_add_entry(struct symbol *sym) in menu_add_entry() argument
53 menu->sym = sym; in menu_add_entry()
61 if (sym) in menu_add_entry()
62 menu_add_symbol(P_SYMBOL, sym, NULL); in menu_add_entry()
98 if (e->left.sym == &symbol_mod) in rewrite_m()
114 struct symbol *sym = current_entry->sym; in menu_set_type() local
116 if (sym->type == type) in menu_set_type()
118 if (sym->type == S_UNKNOWN) { in menu_set_type()
119 sym->type = type; in menu_set_type()
124 sym->name ? sym->name : "<choice>", in menu_set_type()
[all …]
H A Dexpr.c18 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol() argument
22 e->left.sym = sym; in expr_alloc_symbol()
47 e->left.sym = s1; in expr_alloc_comp()
48 e->right.sym = s2; in expr_alloc_comp()
88 e->left.sym = org->left.sym; in expr_copy()
89 e->right.sym = org->right.sym; in expr_copy()
168 e1->left.sym == e2->left.sym && in __expr_eliminate_eq()
169 (e1->left.sym == &symbol_yes || e1->left.sym == &symbol_no)) in __expr_eliminate_eq()
272 return e1->left.sym == e2->left.sym && e1->right.sym == e2->right.sym; in expr_eq()
274 return e1->left.sym == e2->left.sym; in expr_eq()
[all …]
H A Dconf.c86 static int conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue() argument
88 enum symbol_type type = sym_get_type(sym); in conf_askvalue()
90 if (!sym_has_value(sym)) in conf_askvalue()
96 if (!sym_is_changeable(sym)) { in conf_askvalue()
106 if (sym_has_value(sym)) { in conf_askvalue()
134 struct symbol *sym = menu->sym; in conf_string() local
139 printf("(%s) ", sym->name); in conf_string()
140 def = sym_get_string_value(sym); in conf_string()
141 if (sym_get_string_value(sym)) in conf_string()
143 if (!conf_askvalue(sym, def)) in conf_string()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_rtsym.c208 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 …]
/OK3568_Linux_fs/kernel/arch/arm64/include/asm/
H A Dkvm_asm.h71 #define DECLARE_KVM_VHE_SYM(sym) extern char sym[] argument
72 #define DECLARE_KVM_NVHE_SYM(sym) extern char kvm_nvhe_sym(sym)[] argument
78 #define DECLARE_KVM_HYP_SYM(sym) \ argument
79 DECLARE_KVM_VHE_SYM(sym); \
80 DECLARE_KVM_NVHE_SYM(sym)
82 #define DECLARE_KVM_VHE_PER_CPU(type, sym) \ argument
83 DECLARE_PER_CPU(type, sym)
84 #define DECLARE_KVM_NVHE_PER_CPU(type, sym) \ argument
85 DECLARE_PER_CPU(type, kvm_nvhe_sym(sym))
87 #define DECLARE_KVM_HYP_PER_CPU(type, sym) \ argument
[all …]
/OK3568_Linux_fs/kernel/scripts/genksyms/
H A Dgenksyms.c157 struct symbol *sym; in find_symbol() local
159 for (sym = symtab[h]; sym; sym = sym->hash_next) in find_symbol()
160 if (map_to_ns(sym->type) == map_to_ns(ns) && in find_symbol()
161 strcmp(name, sym->name) == 0 && in find_symbol()
162 sym->is_declared) in find_symbol()
165 if (exact && sym && sym->type != ns) in find_symbol()
167 return sym; in find_symbol()
170 static int is_unknown_symbol(struct symbol *sym) in is_unknown_symbol() argument
174 return ((sym->type == SYM_STRUCT || in is_unknown_symbol()
175 sym->type == SYM_UNION || in is_unknown_symbol()
[all …]
/OK3568_Linux_fs/kernel/tools/objtool/
H A Delf.c155 struct symbol *sym; in find_symbol_by_index() local
157 elf_hash_for_each_possible(elf->symbol_hash, sym, hash, idx) in find_symbol_by_index()
158 if (sym->idx == idx) in find_symbol_by_index()
159 return sym; in find_symbol_by_index()
222 struct symbol *sym; in find_symbol_by_name() local
224 elf_hash_for_each_possible(elf->symbol_name_hash, sym, name_hash, str_hash(name)) in find_symbol_by_name()
225 if (!strcmp(sym->name, name)) in find_symbol_by_name()
226 return sym; in find_symbol_by_name()
344 static void elf_add_symbol(struct elf *elf, struct symbol *sym) in elf_add_symbol() argument
349 sym->alias = sym; in elf_add_symbol()
[all …]
/OK3568_Linux_fs/kernel/tools/perf/util/
H 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()
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->end) in __symbol__fprintf_symname_offs()
31 offset = al->addr - sym->start; in __symbol__fprintf_symname_offs()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Dftrace.h78 static inline bool arch_syscall_match_sym_name(const char *sym, const char *name) in arch_syscall_match_sym_name() argument
81 return !strcmp(sym + 1, name) || in arch_syscall_match_sym_name()
82 (!strncmp(sym, ".__se_sys", 9) && !strcmp(sym + 6, name)) || in arch_syscall_match_sym_name()
83 (!strncmp(sym, ".ppc_", 5) && !strcmp(sym + 5, name + 4)) || in arch_syscall_match_sym_name()
84 (!strncmp(sym, ".ppc32_", 7) && !strcmp(sym + 7, name + 4)) || in arch_syscall_match_sym_name()
85 (!strncmp(sym, ".ppc64_", 7) && !strcmp(sym + 7, name + 4)); in arch_syscall_match_sym_name()
88 static inline bool arch_syscall_match_sym_name(const char *sym, const char *name) in arch_syscall_match_sym_name() argument
90 return !strcmp(sym, name) || in arch_syscall_match_sym_name()
91 (!strncmp(sym, "__se_sys", 8) && !strcmp(sym + 5, name)) || in arch_syscall_match_sym_name()
92 (!strncmp(sym, "ppc_", 4) && !strcmp(sym + 4, name + 4)) || in arch_syscall_match_sym_name()
[all …]
/OK3568_Linux_fs/kernel/tools/perf/scripts/python/
H 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 …]

12345678910>>...17