Home
last modified time | relevance | path

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

12

/scripts/kconfig/
Dlkc_proto.h16 extern struct symbol * symbol_hash[SYMBOL_HASHSIZE];
18 struct symbol * sym_lookup(const char *name, int flags);
19 struct symbol * sym_find(const char *name);
21 struct symbol ** sym_re_search(const char *pattern);
23 void sym_calc_value(struct symbol *sym);
24 enum symbol_type sym_get_type(struct symbol *sym);
25 bool sym_tristate_within_range(struct symbol *sym,tristate tri);
26 bool sym_set_tristate_value(struct symbol *sym,tristate tri);
27 tristate sym_toggle_tristate_value(struct symbol *sym);
28 bool sym_string_valid(struct symbol *sym, const char *newval);
[all …]
Dlkc.h58 void set_all_choice_values(struct symbol *csym);
100 void menu_add_entry(struct symbol *sym);
105 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
122 struct gstr get_relations_str(struct symbol **sym_arr, struct list_head *head);
127 struct symbol *sym_choice_default(struct symbol *sym);
128 struct property *sym_get_range_prop(struct symbol *sym);
129 const char *sym_get_string_default(struct symbol *sym);
130 struct symbol *sym_check_deps(struct symbol *sym);
131 struct symbol *prop_get_symbol(struct property *prop);
133 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 *sym_defconfig_list;
39 struct symbol *modules_sym;
42 enum symbol_type sym_get_type(struct symbol *sym) in sym_get_type()
74 struct property *sym_get_choice_prop(struct symbol *sym) in sym_get_choice_prop()
83 static struct property *sym_get_default_prop(struct symbol *sym) in sym_get_default_prop()
95 struct property *sym_get_range_prop(struct symbol *sym) in sym_get_range_prop()
[all …]
Dexpr.h39 struct symbol *sym;
83 struct symbol { struct
85 struct symbol *next; argument
234 struct symbol *sym;
290 extern struct symbol symbol_yes, symbol_no, symbol_mod;
291 extern struct symbol *modules_sym;
292 extern struct symbol *sym_defconfig_list;
294 struct expr *expr_alloc_symbol(struct symbol *sym);
297 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2);
308 int expr_contains_symbol(struct expr *dep, struct symbol *sym);
[all …]
Dparser.y29 struct symbol *symbol_hash[SYMBOL_HASHSIZE];
38 struct symbol *symbol; member
93 %type <symbol> nonconst_symbol
94 %type <symbol> symbol
215 config_option: T_RANGE symbol symbol if_expr T_EOL
240 struct symbol *sym = sym_lookup($2, SYMBOL_CHOICE);
447 expr: symbol { $$ = expr_alloc_symbol($1); }
448 | symbol T_LESS symbol { $$ = expr_alloc_comp(E_LTH, $1, $3); }
449 | symbol T_LESS_EQUAL symbol { $$ = expr_alloc_comp(E_LEQ, $1, $3); }
450 | symbol T_GREATER symbol { $$ = expr_alloc_comp(E_GTH, $1, $3); }
[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()
713 static void conf_write_symbol(FILE *fp, struct symbol *sym, in conf_write_symbol()
753 struct symbol *sym; in conf_write_defconfig()
792 struct symbol *cs; in conf_write_defconfig()
[all …]
Dmenu.c47 void menu_add_entry(struct symbol *sym) in menu_add_entry()
114 struct symbol *sym = current_entry->sym; in menu_set_type()
209 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) in menu_add_symbol()
236 static int menu_validate_number(struct symbol *sym, struct symbol *sym2) in menu_validate_number()
242 static void sym_check_prop(struct symbol *sym) in sym_check_prop()
245 struct symbol *sym2; in sym_check_prop()
309 struct symbol *sym; in menu_finalize()
413 struct symbol *es = prop_get_symbol(prop); in menu_finalize()
417 struct symbol *es = prop_get_symbol(prop); in menu_finalize()
641 struct symbol *sym; in menu_is_visible()
[all …]
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;
Dconf.c86 static int conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue()
134 struct symbol *sym = menu->sym; in conf_string()
167 struct symbol *sym = menu->sym; in conf_sym()
234 struct symbol *sym, *def_sym; in conf_choice()
349 struct symbol *sym; in conf()
416 struct symbol *sym; in check_conf()
Dmconf.c393 struct symbol **sym_arr; in search_conf()
468 struct symbol *sym; in build_conf()
530 struct symbol *def_sym = sym_get_choice_value(sym); in build_conf()
649 struct symbol *sym; in conf()
800 struct symbol *active; in conf_choice()
/scripts/
Dgenerate_cfi_kallsyms.pl83 my ($addr, $symbol) = $_ =~ /^([a-f0-9]{16})\s<([^>]+)>\:/;
85 if (defined($addr) && defined($symbol)) {
87 $last_symbol = $symbol;
110 my ($symbol, $expr, $offset) = $target =~ /^(\S*)([-\+])0x([a-f0-9]+)?$/;
112 if (!defined($symbol) || !defined(!$expr) || !defined($offset)) {
116 if ($symbol =~ /^\.((init|exit)\.)?text$/ && $expr eq '+') {
118 my $actual = $text_symbols->{"$symbol+$offset"};
121 die "$0: unknown symbol at $symbol+0x$offset";
124 $symbol = $actual;
127 return $symbol;
[all …]
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.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 …]
Ddecode_stacktrace.sh119 symbol=${symbol#\(}
120 symbol=${symbol%\)}
124 if [[ $symbol == *:* ]] ; then
125 segment=${symbol%%:*}:
126 symbol=${symbol#*:}
130 local name=${symbol%+*}
149 local expr=${symbol%/*}
190 symbol="$segment$name ($code)"
229 symbol=${words[$last-1]}
233 symbol=${words[$last]}
[all …]
Dkallsyms.c509 static void learn_symbol(const unsigned char *symbol, int len) in learn_symbol() argument
514 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]++; in learn_symbol()
518 static void forget_symbol(const unsigned char *symbol, int len) in forget_symbol() argument
523 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]--; in forget_symbol()
662 const char *symbol = sym_name(se); in may_be_linker_script_provide_symbol() local
668 if (symbol[0] != '_' || symbol[1] != '_') in may_be_linker_script_provide_symbol()
672 if (!memcmp(symbol + 2, "start_", 6)) in may_be_linker_script_provide_symbol()
676 if (!memcmp(symbol + 2, "stop_", 5)) in may_be_linker_script_provide_symbol()
680 if (!memcmp(symbol + 2, "end_", 4)) in may_be_linker_script_provide_symbol()
684 if (!memcmp(symbol + len - 6, "_start", 6)) in may_be_linker_script_provide_symbol()
[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)"
Dgcc-ld20 --version-script|--dynamic-list|--version-exports-symbol|--wrap|-m)
/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.c192 struct symbol { struct
193 struct symbol *next; argument
204 static struct symbol *symbolhash[SYMBOL_HASH_SIZE]; argument
223 static struct symbol *alloc_symbol(const char *name, unsigned int weak, in alloc_symbol()
224 struct symbol *next) in alloc_symbol()
226 struct symbol *s = NOFAIL(malloc(sizeof(*s) + strlen(name) + 1)); in alloc_symbol()
237 static struct symbol *new_symbol(const char *name, struct module *module, in new_symbol()
248 static struct symbol *find_symbol(const char *name) in find_symbol()
250 struct symbol *s; in find_symbol()
396 struct symbol *s = find_symbol(symname); in sym_update_namespace()
[all …]
/scripts/coccinelle/api/
Dkobj_to_dev.cocci20 symbol kobj;

12