Home
last modified time | relevance | path

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

12

/scripts/kconfig/
Dlkc_proto.h26 struct gstr get_relations_str(struct symbol **sym_arr, struct list_head *head);
30 extern struct symbol * symbol_hash[SYMBOL_HASHSIZE];
32 struct symbol * sym_lookup(const char *name, int flags);
33 struct symbol * sym_find(const char *name);
35 struct symbol ** sym_re_search(const char *pattern);
37 void sym_calc_value(struct symbol *sym);
38 enum symbol_type sym_get_type(struct symbol *sym);
39 bool sym_tristate_within_range(struct symbol *sym,tristate tri);
40 bool sym_set_tristate_value(struct symbol *sym,tristate tri);
41 tristate sym_toggle_tristate_value(struct symbol *sym);
[all …]
Dlkc.h55 void set_all_choice_values(struct symbol *csym);
71 void menu_add_entry(struct symbol *sym);
76 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
111 struct symbol *sym_choice_default(struct symbol *sym);
112 struct property *sym_get_range_prop(struct symbol *sym);
113 const char *sym_get_string_default(struct symbol *sym);
114 struct symbol *sym_check_deps(struct symbol *sym);
115 struct property *prop_alloc(enum prop_type type, struct symbol *sym);
116 struct symbol *prop_get_symbol(struct property *prop);
118 static inline tristate sym_get_tristate_value(struct symbol *sym) in sym_get_tristate_value()
[all …]
Dsymbol.c14 struct symbol symbol_yes = {
32 struct symbol *sym_defconfig_list;
33 struct symbol *modules_sym;
36 enum symbol_type sym_get_type(struct symbol *sym) in sym_get_type()
68 struct property *sym_get_choice_prop(struct symbol *sym) in sym_get_choice_prop()
77 static struct property *sym_get_default_prop(struct symbol *sym) in sym_get_default_prop()
89 struct property *sym_get_range_prop(struct symbol *sym) in sym_get_range_prop()
101 static long long sym_get_range_val(struct symbol *sym, int base) in sym_get_range_val()
117 static void sym_validate_range(struct symbol *sym) in sym_validate_range()
151 static void sym_set_changed(struct symbol *sym) in sym_set_changed()
[all …]
Dexpr.h39 struct symbol *sym;
83 struct symbol { struct
85 struct symbol *next; argument
194 struct symbol *sym; /* the symbol for which the property is associated */
235 struct symbol *sym;
291 extern struct symbol symbol_yes, symbol_no, symbol_mod;
292 extern struct symbol *modules_sym;
293 extern struct symbol *sym_defconfig_list;
295 struct expr *expr_alloc_symbol(struct symbol *sym);
298 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2);
[all …]
Dparser.y29 struct symbol *symbol_hash[SYMBOL_HASHSIZE];
38 struct symbol *symbol; member
94 %type <symbol> nonconst_symbol
95 %type <symbol> symbol
212 config_option: T_RANGE symbol symbol if_expr T_EOL
237 struct symbol *sym = sym_lookup($2, SYMBOL_CHOICE);
450 expr: symbol { $$ = expr_alloc_symbol($1); }
451 | symbol T_LESS symbol { $$ = expr_alloc_comp(E_LTH, $1, $3); }
452 | symbol T_LESS_EQUAL symbol { $$ = expr_alloc_comp(E_LEQ, $1, $3); }
453 | symbol T_GREATER symbol { $$ = expr_alloc_comp(E_GTH, $1, $3); }
[all …]
Dmenu.c47 void menu_add_entry(struct symbol *sym) in menu_add_entry()
113 struct symbol *sym = current_entry->sym; in menu_set_type()
193 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) in menu_add_symbol()
220 static int menu_validate_number(struct symbol *sym, struct symbol *sym2) in menu_validate_number()
226 static void sym_check_prop(struct symbol *sym) in sym_check_prop()
229 struct symbol *sym2; in sym_check_prop()
293 struct symbol *sym; in menu_finalize()
399 struct symbol *es = prop_get_symbol(prop); in menu_finalize()
403 struct symbol *es = prop_get_symbol(prop); in menu_finalize()
627 struct symbol *sym; in menu_is_visible()
[all …]
Dconfdata.c167 void (*print_symbol)(FILE *, struct symbol *, const char *, void *);
234 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) in conf_set_sym_val()
356 struct symbol *sym; in conf_read_simple()
489 struct symbol *cs = prop_get_symbol(sym_get_choice_prop(sym)); in conf_read_simple()
515 struct symbol *sym; in conf_read()
591 kconfig_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in kconfig_print_symbol()
645 header_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in header_print_symbol()
719 tristate_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in tristate_print_symbol()
732 static void conf_write_symbol(FILE *fp, struct symbol *sym, in conf_write_symbol()
772 struct symbol *sym; in conf_write_defconfig()
[all …]
Dconf.c83 static int conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue()
131 struct symbol *sym = menu->sym; in conf_string()
164 struct symbol *sym = menu->sym; in conf_sym()
231 struct symbol *sym, *def_sym; in conf_choice()
346 struct symbol *sym; in conf()
413 struct symbol *sym; in check_conf()
Dqconf.h260 QString debug_info(struct symbol *sym);
262 static void expr_print_help(void *data, struct symbol *sym, const char *str);
266 struct symbol *sym;
288 struct symbol **result;
Dmconf.c392 struct symbol **sym_arr; in search_conf()
467 struct symbol *sym; in build_conf()
529 struct symbol *def_sym = sym_get_choice_value(sym); in build_conf()
648 struct symbol *sym; in conf()
799 struct symbol *active; in conf_choice()
/scripts/
Ddecode_stacktrace.sh37 symbol=${symbol#\(}
38 symbol=${symbol%\)}
42 if [[ $symbol == *:* ]] ; then
43 segment=${symbol%%:*}:
44 symbol=${symbol#*:}
48 local name=${symbol%+*}
61 local expr=${symbol%/*}
94 symbol="$segment$name ($code)"
133 symbol=${words[$last-1]}
137 symbol=${words[$last]}
[all …]
Dexport_report.pl33 my ($symbol, $no) = split /\s+/, $sym;
34 printf("\t\t%-25s\n", $symbol);
97 my (undef, $symbol, $namespace, $module, $gpl) = 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.py160 for symbol in sorted(undefined_b):
162 if symbol not in undefined_a:
163 files = sorted(undefined_b.get(symbol))
164 undefined[symbol] = files
167 files = sorted(undefined_b.get(symbol) -
168 undefined_a.get(symbol))
170 undefined[symbol] = files
180 for symbol in sorted(undefined):
181 print(red(symbol))
183 files = sorted(undefined.get(symbol))
[all …]
Dkallsyms.c463 static void learn_symbol(unsigned char *symbol, int len) in learn_symbol() argument
468 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]++; in learn_symbol()
472 static void forget_symbol(unsigned char *symbol, int len) in forget_symbol() argument
477 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]--; in forget_symbol()
631 const char *symbol = (char *)se->sym + 1; in may_be_linker_script_provide_symbol() local
637 if (symbol[0] != '_' || symbol[1] != '_') in may_be_linker_script_provide_symbol()
641 if (!memcmp(symbol + 2, "start_", 6)) in may_be_linker_script_provide_symbol()
645 if (!memcmp(symbol + 2, "stop_", 5)) in may_be_linker_script_provide_symbol()
649 if (!memcmp(symbol + 2, "end_", 4)) in may_be_linker_script_provide_symbol()
653 if (!memcmp(symbol + len - 6, "_start", 6)) in may_be_linker_script_provide_symbol()
[all …]
Dgenerate_initcall_order.pl52 my ($counter, $line, $symbol) = $_ =~ /^__initcall_(\d+)_(\d+)_(.*)$/;
54 if (!defined($counter) || !defined($line) || !defined($symbol)) {
58 my ($function, $level) = $symbol =~
Dfaddr2line115 while read symbol; do
116 local fields=($symbol)
Dgcc-ld20 --version-script|--dynamic-list|--version-exports-symbol|--wrap|-m)
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/
Dboolreturn.cocci15 symbol false;
16 symbol true;
Dboolconv.cocci20 symbol true, false;
48 symbol true, false;
/scripts/mod/
Dmodpost.c167 struct symbol { struct
168 struct symbol *next; argument
183 static struct symbol *symbolhash[SYMBOL_HASH_SIZE]; argument
202 static struct symbol *alloc_symbol(const char *name, unsigned int weak, in alloc_symbol()
203 struct symbol *next) in alloc_symbol()
205 struct symbol *s = NOFAIL(malloc(sizeof(*s) + strlen(name) + 1)); in alloc_symbol()
216 static struct symbol *new_symbol(const char *name, struct module *module, in new_symbol()
220 struct symbol *new; in new_symbol()
229 static struct symbol *find_symbol(const char *name) in find_symbol()
231 struct symbol *s; in find_symbol()
[all …]

12