Home
last modified time | relevance | path

Searched refs:symbol (Results 1 – 25 of 31) sorted by relevance

12

/scripts/kconfig/
Dlkc_proto.h17 extern struct symbol * symbol_hash[SYMBOL_HASHSIZE];
19 struct symbol * sym_lookup(const char *name, int flags);
20 struct symbol * sym_find(const char *name);
21 void print_symbol_for_listconfig(struct symbol *sym);
22 struct symbol ** sym_re_search(const char *pattern);
24 void sym_calc_value(struct symbol *sym);
25 enum symbol_type sym_get_type(struct symbol *sym);
26 bool sym_tristate_within_range(struct symbol *sym,tristate tri);
27 bool sym_set_tristate_value(struct symbol *sym,tristate tri);
28 tristate sym_toggle_tristate_value(struct symbol *sym);
[all …]
Dlkc.h44 void set_all_choice_values(struct symbol *csym);
86 void menu_add_entry(struct symbol *sym);
91 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
104 struct gstr get_relations_str(struct symbol **sym_arr, struct list_head *head);
109 struct symbol *sym_choice_default(struct symbol *sym);
110 struct property *sym_get_range_prop(struct symbol *sym);
111 const char *sym_get_string_default(struct symbol *sym);
112 struct symbol *sym_check_deps(struct symbol *sym);
113 struct symbol *prop_get_symbol(struct property *prop);
115 static inline tristate sym_get_tristate_value(struct symbol *sym) in sym_get_tristate_value()
[all …]
Dsymbol.c14 struct symbol symbol_yes = {
20 struct symbol symbol_mod = {
26 struct symbol symbol_no = {
32 static struct symbol symbol_empty = {
38 struct symbol *modules_sym;
41 enum symbol_type sym_get_type(struct symbol *sym) in sym_get_type()
73 struct property *sym_get_choice_prop(struct symbol *sym) in sym_get_choice_prop()
82 static struct property *sym_get_default_prop(struct symbol *sym) in sym_get_default_prop()
94 struct property *sym_get_range_prop(struct symbol *sym) in sym_get_range_prop()
106 static long long sym_get_range_val(struct symbol *sym, int base) in sym_get_range_val()
[all …]
Dexpr.h39 struct symbol *sym;
83 struct symbol { struct
85 struct symbol *next; argument
231 struct symbol *sym;
285 extern struct symbol symbol_yes, symbol_no, symbol_mod;
286 extern struct symbol *modules_sym;
288 struct expr *expr_alloc_symbol(struct symbol *sym);
291 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2);
302 int expr_contains_symbol(struct expr *dep, struct symbol *sym);
303 bool expr_depends_symbol(struct expr *dep, struct symbol *sym);
[all …]
Dparser.y30 struct symbol *symbol_hash[SYMBOL_HASHSIZE];
39 struct symbol *symbol; member
91 %type <symbol> nonconst_symbol
92 %type <symbol> symbol
213 config_option: T_RANGE symbol symbol if_expr T_EOL
231 struct symbol *sym = sym_lookup($2, SYMBOL_CHOICE);
438 expr: symbol { $$ = expr_alloc_symbol($1); }
439 | symbol T_LESS symbol { $$ = expr_alloc_comp(E_LTH, $1, $3); }
440 | symbol T_LESS_EQUAL symbol { $$ = expr_alloc_comp(E_LEQ, $1, $3); }
441 | symbol T_GREATER symbol { $$ = expr_alloc_comp(E_GTH, $1, $3); }
[all …]
Dconfdata.c226 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) in conf_set_sym_val()
350 struct symbol *sym; in conf_read_simple()
501 struct symbol *cs = prop_get_symbol(sym_get_choice_prop(sym)); in conf_read_simple()
527 struct symbol *sym; in conf_read()
673 static void __print_symbol(FILE *fp, struct symbol *sym, enum output_n output_n, in __print_symbol()
701 static void print_symbol_for_dotconfig(FILE *fp, struct symbol *sym) in print_symbol_for_dotconfig()
706 static void print_symbol_for_autoconf(FILE *fp, struct symbol *sym) in print_symbol_for_autoconf()
711 void print_symbol_for_listconfig(struct symbol *sym) in print_symbol_for_listconfig()
716 static void print_symbol_for_c(FILE *fp, struct symbol *sym) in print_symbol_for_c()
758 static void print_symbol_for_rustccfg(FILE *fp, struct symbol *sym) in print_symbol_for_rustccfg()
[all …]
Dmenu.c48 void menu_add_entry(struct symbol *sym) in menu_add_entry()
115 struct symbol *sym = current_entry->sym; in menu_set_type()
210 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) in menu_add_symbol()
215 static int menu_validate_number(struct symbol *sym, struct symbol *sym2) in menu_validate_number()
221 static void sym_check_prop(struct symbol *sym) in sym_check_prop()
224 struct symbol *sym2; in sym_check_prop()
288 struct symbol *sym; in menu_finalize()
392 struct symbol *es = prop_get_symbol(prop); in menu_finalize()
396 struct symbol *es = prop_get_symbol(prop); in menu_finalize()
620 struct symbol *sym; in menu_is_visible()
[all …]
Dconf.c116 static bool randomize_choice_values(struct symbol *csym) in randomize_choice_values()
119 struct symbol *sym; in randomize_choice_values()
173 struct symbol *sym, *csym; in conf_set_all_new_symbols()
306 struct symbol *sym; in conf_rewrite_tristates()
317 static int conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue()
351 struct symbol *sym = menu->sym; in conf_string()
384 struct symbol *sym = menu->sym; in conf_sym()
451 struct symbol *sym, *def_sym; in conf_choice()
566 struct symbol *sym; in conf()
633 struct symbol *sym; in check_conf()
Dqconf.h207 QString debug_info(struct symbol *sym);
209 static void expr_print_help(void *data, struct symbol *sym, const char *str);
212 struct symbol *sym;
234 struct symbol **result;
Dmconf.c390 struct symbol **sym_arr; in search_conf()
465 struct symbol *sym; in build_conf()
527 struct symbol *def_sym = sym_get_choice_value(sym); in build_conf()
646 struct symbol *sym; in conf()
797 struct symbol *active; in conf_choice()
Dexpr.c18 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol()
43 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) in expr_alloc_comp()
434 struct symbol *sym1, *sym2; in expr_join_or()
498 struct symbol *sym1, *sym2; in expr_join_and()
851 int expr_contains_symbol(struct expr *dep, struct symbol *sym) in expr_contains_symbol()
879 bool expr_depends_symbol(struct expr *dep, struct symbol *sym) in expr_depends_symbol()
922 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym) in expr_trans_compare()
1139 void (*fn)(void *, struct symbol *, const char *), in expr_print() argument
1230 static void expr_print_file_helper(void *data, struct symbol *sym, const char *str) in expr_print_file_helper()
1240 static void expr_print_gstr_helper(void *data, struct symbol *sym, const char *str) in expr_print_gstr_helper()
[all …]
Dqconf.cc91 struct symbol* sym; in updateMenu()
268 struct symbol *sym; in setModelData()
487 struct symbol* sym; in setValue()
512 struct symbol* sym; in changeValue()
1009 struct symbol* sym; in menuInfo()
1067 QString ConfigInfoView::debug_info(struct symbol *sym) in debug_info()
1158 void ConfigInfoView::expr_print_help(void *data, struct symbol *sym, const char *str) in expr_print_help()
1176 struct symbol **result; in clicked()
1296 struct symbol **p; in search()
/scripts/
Dexport_report.pl33 my ($symbol, $no) = split /\s+/, $sym;
34 printf("\t\t%-25s\n", $symbol);
97 my (undef, $symbol, $module, $gpl, $namespace) = split('\t');
98 $SYMBOL { $symbol } = [ $module , "0" , $symbol, $gpl];
131 my ($module, $value, $symbol, $gpl) = @{$SYMBOL{$sym}};
132 $SYMBOL{ $sym } = [ $module, $value+1, $symbol, $gpl];
158 my ($module, $value, $symbol, $gpl) = @{$list};
159 printf("%-25s\t%-25s\t%-10s\t", $symbol, $module, $value);
181 foreach my $symbol (@{$list}) {
182 my ($module, $value, undef, $gpl) = @{$SYMBOL{$symbol}};
[all …]
Dcheckkconfigsymbols.py162 for symbol in sorted(undefined_b):
164 if symbol not in undefined_a:
165 files = sorted(undefined_b.get(symbol))
166 undefined[symbol] = files
169 files = sorted(undefined_b.get(symbol) -
170 undefined_a.get(symbol))
172 undefined[symbol] = files
182 for symbol in sorted(undefined):
183 print(red(symbol))
185 files = sorted(undefined.get(symbol))
[all …]
Ddecode_stacktrace.sh142 symbol=${symbol#\(}
143 symbol=${symbol%\)}
147 if [[ $symbol == *:* ]] ; then
148 segment=${symbol%%:*}:
149 symbol=${symbol#*:}
153 local name=${symbol%+*}
172 local expr=${symbol%/*}
213 symbol="$segment$name ($code)"
246 symbol="kernel_init+0x0/0x0"
248 basepath=${symbol#kernel_init (}
[all …]
Dgenerate_initcall_order.pl121 my ($module, $counter, $line, $symbol) = $_ =~
130 !defined($symbol)) {
135 my ($function, $level) = $symbol =~
138 die "$0: ERROR: invalid initcall name $symbol in $file($path)"
Dkallsyms.c631 static void learn_symbol(const unsigned char *symbol, int len) in learn_symbol() argument
636 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]++; in learn_symbol()
640 static void forget_symbol(const unsigned char *symbol, int len) in forget_symbol() argument
645 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]--; in forget_symbol()
784 const char *symbol = sym_name(se); in may_be_linker_script_provide_symbol() local
790 if (symbol[0] != '_' || symbol[1] != '_') in may_be_linker_script_provide_symbol()
794 if (!memcmp(symbol + 2, "start_", 6)) in may_be_linker_script_provide_symbol()
798 if (!memcmp(symbol + 2, "stop_", 5)) in may_be_linker_script_provide_symbol()
802 if (!memcmp(symbol + 2, "end_", 4)) in may_be_linker_script_provide_symbol()
806 if (!memcmp(symbol + len - 6, "_start", 6)) in may_be_linker_script_provide_symbol()
[all …]
Dgcc-x86_32-has-stack-protector.sh8 …-fstack-protector -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard …
Dcheck_extable.sh118 find_section_offset_from_symbol ${symbol} ${symbol_offset}
/scripts/kconfig/tests/err_recursive_dep/
Dexpected_stderr2 Kconfig:11: symbol B is selected by B
7 Kconfig:5: symbol A depends on A
12 Kconfig:17: symbol C1 depends on C2
13 Kconfig:21: symbol C2 depends on C1
18 Kconfig:32: symbol D2 is selected by D1
19 Kconfig:27: symbol D1 depends on D2
24 Kconfig:37: symbol E1 depends on E2
25 Kconfig:42: symbol E2 is implied by E1
30 Kconfig:60: symbol G depends on G
35 Kconfig:51: symbol F2 depends on F1
[all …]
/scripts/genksyms/
Dgenksyms.h33 struct symbol { struct
34 struct symbol *hash_next; argument
38 struct symbol *expansion_trail; argument
39 struct symbol *visited; argument
53 struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact); argument
54 struct symbol *add_symbol(const char *name, enum symbol_type type,
Dgenksyms.c28 static struct symbol *symtab[HASH_BUCKETS];
41 static struct symbol *expansion_trail;
42 static struct symbol *visited_symbols;
154 struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact) in find_symbol()
157 struct symbol *sym; in find_symbol()
170 static int is_unknown_symbol(struct symbol *sym) in is_unknown_symbol()
185 static struct symbol *__add_symbol(const char *name, enum symbol_type type, in __add_symbol()
190 struct symbol *sym; in __add_symbol()
266 struct symbol **psym; in __add_symbol()
309 struct symbol *add_symbol(const char *name, enum symbol_type type, in add_symbol()
[all …]
/scripts/kconfig/tests/new_choice_with_dep/
DKconfig6 This is a new symbol.
20 This is a new symbol, so should be asked.
37 This is a new symbol, so should be asked.
/scripts/coccinelle/misc/
Dboolconv.cocci20 symbol true, false;
48 symbol true, false;
/scripts/mod/
Dmodpost.c213 struct symbol { struct
214 struct symbol *next; argument
225 static struct symbol *symbolhash[SYMBOL_HASH_SIZE]; argument
244 static struct symbol *alloc_symbol(const char *name) in alloc_symbol()
246 struct symbol *s = NOFAIL(malloc(sizeof(*s) + strlen(name) + 1)); in alloc_symbol()
255 static void hash_add_symbol(struct symbol *sym) in hash_add_symbol()
266 struct symbol *sym; in sym_add_unresolved()
274 static struct symbol *sym_find_with_module(const char *name, struct module *mod) in sym_find_with_module()
276 struct symbol *s; in sym_find_with_module()
289 static struct symbol *find_symbol(const char *name) in find_symbol()
[all …]

12