| /scripts/kconfig/ |
| D | lkc_proto.h | 21 struct symbol * sym_lookup(const char *name, int flags); 22 struct symbol * sym_find(const char *name); 23 void print_symbol_for_listconfig(struct symbol *sym); 24 struct symbol ** sym_re_search(const char *pattern); 26 void sym_calc_value(struct symbol *sym); 28 enum symbol_type sym_get_type(const struct symbol *sym); 29 bool sym_tristate_within_range(const struct symbol *sym, tristate tri); 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); [all …]
|
| D | lkc.h | 84 void menu_add_entry(struct symbol *sym); 90 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); 102 struct gstr get_relations_str(struct symbol **sym_arr, struct list_head *head); 107 struct symbol *sym_choice_default(struct menu *choice); 108 struct symbol *sym_calc_choice(struct menu *choice); 109 struct property *sym_get_range_prop(struct symbol *sym); 110 const char *sym_get_string_default(struct symbol *sym); 111 struct symbol *sym_check_deps(struct symbol *sym); 112 struct symbol *prop_get_symbol(const struct property *prop); 114 static inline tristate sym_get_tristate_value(const struct symbol *sym) in sym_get_tristate_value() [all …]
|
| D | symbol.c | 17 struct symbol symbol_yes = { 25 struct symbol symbol_mod = { 33 struct symbol symbol_no = { 41 struct symbol *modules_sym; 45 enum symbol_type sym_get_type(const struct symbol *sym) in sym_get_type() 80 struct menu *sym_get_choice_menu(const struct symbol *sym) in sym_get_choice_menu() 108 static struct property *sym_get_default_prop(struct symbol *sym) in sym_get_default_prop() 120 struct property *sym_get_range_prop(struct symbol *sym) in sym_get_range_prop() 132 static long long sym_get_range_val(struct symbol *sym, int base) in sym_get_range_val() 148 static void sym_validate_range(struct symbol *sym) in sym_validate_range() [all …]
|
| D | expr.h | 33 struct symbol * const sym; 89 struct symbol { struct 230 struct symbol *sym; 283 extern struct symbol symbol_yes, symbol_no, symbol_mod; 284 extern struct symbol *modules_sym; 286 struct expr *expr_alloc_symbol(struct symbol *sym); 289 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); 297 bool expr_contains_symbol(struct expr *dep, struct symbol *sym); 298 bool expr_depends_symbol(struct expr *dep, struct symbol *sym); 299 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym);
|
| D | parser.y | 39 struct symbol *symbol; member 90 %type <symbol> nonconst_symbol 91 %type <symbol> symbol 230 config_option: T_RANGE symbol symbol if_expr T_EOL 248 struct symbol *sym = sym_lookup(NULL, 0); 455 expr: symbol { $$ = expr_alloc_symbol($1); } 456 | symbol T_LESS symbol { $$ = expr_alloc_comp(E_LTH, $1, $3); } 457 | symbol T_LESS_EQUAL symbol { $$ = expr_alloc_comp(E_LEQ, $1, $3); } 458 | symbol T_GREATER symbol { $$ = expr_alloc_comp(E_GTH, $1, $3); } 459 | symbol T_GREATER_EQUAL symbol { $$ = expr_alloc_comp(E_GEQ, $1, $3); } [all …]
|
| D | confdata.c | 237 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) in conf_set_sym_val() 326 struct symbol *sym; in conf_read_simple() 491 struct symbol *sym; in conf_read() 610 static void __print_symbol(FILE *fp, struct symbol *sym, enum output_n output_n, in __print_symbol() 638 static void print_symbol_for_dotconfig(FILE *fp, struct symbol *sym) in print_symbol_for_dotconfig() 643 static void print_symbol_for_autoconf(FILE *fp, struct symbol *sym) in print_symbol_for_autoconf() 648 void print_symbol_for_listconfig(struct symbol *sym) in print_symbol_for_listconfig() 653 static void print_symbol_for_c(FILE *fp, struct symbol *sym) in print_symbol_for_c() 695 static void print_symbol_for_rustccfg(FILE *fp, struct symbol *sym) in print_symbol_for_rustccfg() 760 struct symbol *sym; in conf_write_defconfig() [all …]
|
| D | menu.c | 68 void menu_add_entry(struct symbol *sym) in menu_add_entry() 136 struct symbol *sym = current_entry->sym; in menu_set_type() 221 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) in menu_add_symbol() 226 static int menu_validate_number(struct symbol *sym, struct symbol *sym2) in menu_validate_number() 232 static void sym_check_prop(struct symbol *sym) in sym_check_prop() 235 struct symbol *sym2; in sym_check_prop() 297 struct symbol *sym; in _menu_finalize() 369 struct symbol *es = prop_get_symbol(prop); in _menu_finalize() 373 struct symbol *es = prop_get_symbol(prop); in _menu_finalize() 537 struct symbol *sym; in menu_is_visible() [all …]
|
| D | conf.c | 134 struct symbol *sym = menu->sym; in randomize_choice_values() 144 struct symbol *sym = menu->sym; in randomize_choice_values() 233 struct symbol *sym = menu->sym; in conf_set_all_new_symbols() 281 struct symbol *sym; in conf_rewrite_tristates() 291 static int conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue() 325 struct symbol *sym = menu->sym; in conf_string() 358 struct symbol *sym = menu->sym; in conf_sym() 425 struct symbol *def_sym; in conf_choice() 511 struct symbol *sym; in conf() 576 struct symbol *sym; in check_conf()
|
| D | qconf.h | 207 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;
|
| D | expr.c | 57 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol() 72 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) in expr_alloc_comp() 316 struct symbol *sym1, *sym2; in expr_join_or() 381 struct symbol *sym1, *sym2; in expr_join_and() 713 bool expr_contains_symbol(struct expr *dep, struct symbol *sym) in expr_contains_symbol() 741 bool expr_depends_symbol(struct expr *dep, struct symbol *sym) in expr_depends_symbol() 784 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym) in expr_trans_compare() 1023 void (*fn)(void *, struct symbol *, const char *), in expr_print() argument 1107 static void expr_print_file_helper(void *data, struct symbol *sym, const char *str) in expr_print_file_helper() 1117 static void expr_print_gstr_helper(void *data, struct symbol *sym, const char *str) in expr_print_gstr_helper() [all …]
|
| /scripts/ |
| D | export_report.pl | 33 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 …]
|
| D | checkkconfigsymbols.py | 162 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 …]
|
| D | decode_stacktrace.sh | 148 symbol=${symbol#\(} 149 symbol=${symbol%\)} 153 if [[ $symbol == *:* ]] ; then 154 segment=${symbol%%:*}: 155 symbol=${symbol#*:} 159 local name=${symbol%+*} 178 local expr=${symbol%/*} 219 symbol="$segment$name ($code)" 252 symbol="kernel_init+0x0/0x0" 254 basepath=${symbol#kernel_init (} [all …]
|
| D | kallsyms.c | 504 static void learn_symbol(const unsigned char *symbol, int len) in learn_symbol() argument 509 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]++; in learn_symbol() 513 static void forget_symbol(const unsigned char *symbol, int len) in forget_symbol() argument 518 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]--; in forget_symbol() 657 const char *symbol = sym_name(se); in may_be_linker_script_provide_symbol() local 663 if (symbol[0] != '_' || symbol[1] != '_') in may_be_linker_script_provide_symbol() 667 if (!memcmp(symbol + 2, "start_", 6)) in may_be_linker_script_provide_symbol() 671 if (!memcmp(symbol + 2, "stop_", 5)) in may_be_linker_script_provide_symbol() 675 if (!memcmp(symbol + 2, "end_", 4)) in may_be_linker_script_provide_symbol() 679 if (!memcmp(symbol + len - 6, "_start", 6)) in may_be_linker_script_provide_symbol() [all …]
|
| D | generate_initcall_order.pl | 121 my ($module, $counter, $line, $symbol) = $_ =~ 130 !defined($symbol)) { 135 my ($function, $level) = $symbol =~ 138 die "$0: ERROR: invalid initcall name $symbol in $file($path)"
|
| D | gcc-x86_32-has-stack-protector.sh | 8 …-fstack-protector -mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard …
|
| D | leaking_addresses.pl | 174 my $symbol = $entry[2]; 177 my $entry = [$long, $symbol]; 486 my $symbol = $entry->[1]; 489 printf("$file: $symbol @ $offset\n");
|
| /scripts/kconfig/tests/err_recursive_dep/ |
| D | expected_stderr | 2 symbol A depends on A 7 symbol B is selected by B 12 symbol C1 depends on C2 13 symbol C2 depends on C1 18 symbol D1 depends on D2 19 symbol D2 is selected by D1 24 symbol E1 depends on E2 25 symbol E2 is implied by E1 30 symbol F1 default value contains F2 31 symbol F2 depends on F1 [all …]
|
| /scripts/genksyms/ |
| D | genksyms.h | 33 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,
|
| D | genksyms.c | 26 static struct symbol *symtab[HASH_BUCKETS]; 39 static struct symbol *expansion_trail; 40 static struct symbol *visited_symbols; 152 struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact) in find_symbol() 155 struct symbol *sym; in find_symbol() 168 static int is_unknown_symbol(struct symbol *sym) in is_unknown_symbol() 183 static struct symbol *__add_symbol(const char *name, enum symbol_type type, in __add_symbol() 188 struct symbol *sym; in __add_symbol() 267 struct symbol **psym; in __add_symbol() 314 struct symbol *add_symbol(const char *name, enum symbol_type type, in add_symbol() [all …]
|
| /scripts/gendwarfksyms/ |
| D | symbols.c | 20 static unsigned int __for_each_addr(struct symbol *sym, symbol_callback_t func, in __for_each_addr() 24 struct symbol *match = NULL; in __for_each_addr() 60 struct symbol *match; in for_each() 85 static void set_crc(struct symbol *sym, void *data) in set_crc() 97 void symbol_set_crc(struct symbol *sym, unsigned long crc) in symbol_set_crc() 103 static void set_ptr(struct symbol *sym, void *data) in set_ptr() 108 void symbol_set_ptr(struct symbol *sym, Dwarf_Die *ptr) in symbol_set_ptr() 114 static void set_die(struct symbol *sym, void *data) in set_die() 120 void symbol_set_die(struct symbol *sym, Dwarf_Die *die) in symbol_set_die() 133 struct symbol *sym; in symbol_read_exports() [all …]
|
| D | gendwarfksyms.h | 112 struct symbol { struct 123 typedef void (*symbol_callback_t)(struct symbol *, void *arg); argument 128 struct symbol *symbol_get(const char *name); 129 void symbol_set_ptr(struct symbol *sym, Dwarf_Die *ptr); 130 void symbol_set_die(struct symbol *sym, Dwarf_Die *die); 131 void symbol_set_crc(struct symbol *sym, unsigned long crc); 245 struct symbol *sym;
|
| /scripts/kconfig/tests/new_choice_with_dep/ |
| D | Kconfig | 6 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/ |
| D | boolconv.cocci | 20 symbol true, false; 48 symbol true, false;
|
| /scripts/mod/ |
| D | modpost.c | 211 struct symbol { struct 244 static struct symbol *alloc_symbol(const char *name) in alloc_symbol() argument 246 struct symbol *s = xmalloc(sizeof(*s) + strlen(name) + 1); in alloc_symbol() 255 static void hash_add_symbol(struct symbol *sym) in hash_add_symbol() 262 struct symbol *sym; in sym_add_unresolved() 270 static struct symbol *sym_find_with_module(const char *name, struct module *mod) in sym_find_with_module() 272 struct symbol *s; in sym_find_with_module() 285 static struct symbol *find_symbol(const char *name) in find_symbol() 360 static struct symbol *sym_add_exported(const char *name, struct module *mod, in sym_add_exported() 363 struct symbol *s = find_symbol(name); in sym_add_exported() [all …]
|