/scripts/kconfig/ |
A 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); 32 tristate sym_toggle_tristate_value(struct symbol *sym); 36 bool sym_is_changeable(const struct symbol *sym); 37 struct menu *sym_get_prompt_menu(const struct symbol *sym); 39 const char * sym_get_string_value(struct symbol *sym); [all …]
|
A D | lkc.h | 84 void menu_add_entry(struct symbol *sym, enum menu_type type); 109 struct symbol *sym_choice_default(struct menu *choice); 110 struct symbol *sym_calc_choice(struct menu *choice); 111 struct property *sym_get_range_prop(struct symbol *sym); 112 const char *sym_get_string_default(struct symbol *sym); 113 struct symbol *sym_check_deps(struct symbol *sym); 114 struct symbol *prop_get_symbol(const struct property *prop); 116 static inline tristate sym_get_tristate_value(const struct symbol *sym) in sym_get_tristate_value() 121 static inline bool sym_is_choice(const struct symbol *sym) in sym_is_choice() 127 bool sym_is_choice_value(const struct symbol *sym); [all …]
|
A D | symbol.c | 206 struct symbol *sym; in sym_set_all_changed() 903 struct symbol *symbol; in sym_lookup() local 922 return symbol; in sym_lookup() 930 symbol = xmalloc(sizeof(*symbol)); in sym_lookup() 931 memset(symbol, 0, sizeof(*symbol)); in sym_lookup() 940 return symbol; in sym_lookup() 945 struct symbol *symbol = NULL; in sym_find() local 967 return symbol; in sym_find() 1196 static struct symbol *sym_check_sym_deps(struct symbol *sym) in sym_check_sym_deps() 1243 static struct symbol *sym_check_choice_deps(struct symbol *choice) in sym_check_choice_deps() [all …]
|
A D | expr.h | 33 struct symbol * const sym; 89 struct symbol { struct 241 struct symbol *sym; 294 extern struct symbol symbol_yes, symbol_no, symbol_mod; 295 extern struct symbol *modules_sym; 297 struct expr *expr_alloc_symbol(struct symbol *sym); 300 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); 308 bool expr_contains_symbol(struct expr *dep, struct symbol *sym); 309 bool expr_depends_symbol(struct expr *dep, struct symbol *sym); 310 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym);
|
A D | parser.y | 38 struct symbol *symbol; member 90 %type <symbol> symbol 229 config_option: T_RANGE symbol symbol if_expr T_EOL 449 | symbol T_LESS symbol { $$ = expr_alloc_comp(E_LTH, $1, $3); } 450 | symbol T_LESS_EQUAL symbol { $$ = expr_alloc_comp(E_LEQ, $1, $3); } 451 | symbol T_GREATER symbol { $$ = expr_alloc_comp(E_GTH, $1, $3); } 452 | symbol T_GREATER_EQUAL symbol { $$ = expr_alloc_comp(E_GEQ, $1, $3); } 453 | symbol T_EQUAL symbol { $$ = expr_alloc_comp(E_EQUAL, $1, $3); } 454 | symbol T_UNEQUAL symbol { $$ = expr_alloc_comp(E_UNEQUAL, $1, $3); } 464 symbol: nonconst_symbol [all …]
|
A D | confdata.c | 326 struct symbol *sym; in conf_read_simple() 491 struct symbol *sym; in conf_read() 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() 760 struct symbol *sym; in conf_write_defconfig() 792 struct symbol *ds; in conf_write_defconfig() 807 struct symbol *sym; in conf_write() 964 struct symbol *sym; in conf_touch_deps() 1037 void (*print_symbol)(FILE *, struct symbol *), in __conf_write_autoconf() argument 1042 struct symbol *sym; in __conf_write_autoconf() [all …]
|
A D | menu.c | 68 void menu_add_entry(struct symbol *sym, enum menu_type type) in menu_add_entry() 137 struct symbol *sym = current_entry->sym; in menu_set_type() 227 static int menu_validate_number(struct symbol *sym, struct symbol *sym2) in menu_validate_number() 233 static void sym_check_prop(struct symbol *sym) in sym_check_prop() 236 struct symbol *sym2; in sym_check_prop() 298 struct symbol *sym; in _menu_finalize() 370 struct symbol *es = prop_get_symbol(prop); in _menu_finalize() 374 struct symbol *es = prop_get_symbol(prop); in _menu_finalize() 538 struct symbol *sym; in menu_is_visible() 765 struct symbol *sym; in get_relations_str() [all …]
|
A 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()
|
A D | qconf.h | 205 QString debug_info(struct symbol *sym); 207 static void expr_print_help(void *data, struct symbol *sym, const char *str); 210 struct symbol *sym; 232 struct symbol **result;
|
A 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/ |
A D | checkkconfigsymbols.py | 182 for symbol in sorted(undefined): 183 print(red(symbol)) 236 def find_commits(symbol, diff): argument 240 symbol, diff]) 356 for symbol in symbols: 357 inv_map[symbol] = inv_map.get(symbol, set()) 364 if symbol == "FOO" or symbol == "BAR" or \ 365 symbol == "FOO_BAR" or symbol == "XXX": 372 undefined[symbol] = referenced_symbols.get(symbol) 400 for symbol in symbols: [all …]
|
A 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" 313 symbol=${words[$last-1]} [all …]
|
A D | kallsyms.c | 480 static void learn_symbol(const unsigned char *symbol, int len) in learn_symbol() argument 485 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]++; in learn_symbol() 489 static void forget_symbol(const unsigned char *symbol, int len) in forget_symbol() argument 494 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]--; in forget_symbol() 633 const char *symbol = sym_name(se); in may_be_linker_script_provide_symbol() local 639 if (symbol[0] != '_' || symbol[1] != '_') in may_be_linker_script_provide_symbol() 643 if (!memcmp(symbol + 2, "start_", 6)) in may_be_linker_script_provide_symbol() 647 if (!memcmp(symbol + 2, "stop_", 5)) in may_be_linker_script_provide_symbol() 651 if (!memcmp(symbol + 2, "end_", 4)) in may_be_linker_script_provide_symbol() 655 if (!memcmp(symbol + len - 6, "_start", 6)) in may_be_linker_script_provide_symbol() [all …]
|
A 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)"
|
A D | Makefile.propeller | 6 …KBUILD_LDFLAGS += --symbol-ordering-file=$(CLANG_PROPELLER_PROFILE_PREFIX)_ld_profile.txt --no-war…
|
A 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/ |
A 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/gendwarfksyms/ |
A D | symbols.c | 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() 103 static void set_ptr(struct symbol *sym, void *data) in set_ptr() 133 struct symbol *sym; in symbol_read_exports() 166 struct symbol **res = arg; in get_symbol() 172 struct symbol *symbol_get(const char *name) in symbol_get() 174 struct symbol *sym = NULL; in symbol_get() 183 struct symbol *sym; in symbol_for_each() 319 struct symbol *sym; in symbol_print_versions() [all …]
|
A 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/genksyms/ |
A D | genksyms.h | 36 struct symbol { struct 41 struct symbol *expansion_trail; argument 42 struct symbol *visited; argument 56 struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact); argument 57 struct symbol *add_symbol(const char *name, enum symbol_type type,
|
A D | genksyms.c | 40 static struct symbol *expansion_trail; 41 static struct symbol *visited_symbols; 155 struct symbol *sym; in find_symbol() 232 struct symbol *sym; in __add_symbol() 466 struct symbol *subsym; in read_reference() 558 struct symbol *subsym; in expand_and_crc_sym() 631 sym->visited = (struct symbol *)-1L; in expand_and_crc_sym() 640 struct symbol *sym; in export_symbol() 653 expansion_trail = (struct symbol *)-1L; in export_symbol() 660 while (sym != (struct symbol *)-1L) { in export_symbol() [all …]
|
/scripts/kconfig/tests/new_choice_with_dep/ |
A 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/ |
A D | boolconv.cocci | 20 symbol true, false; 48 symbol true, false;
|
/scripts/lib/kdoc/ |
A D | kdoc_files.py | 241 symbol=None, nosymbol=None, no_doc_sections=False, argument 265 if symbol: 266 for s in symbol: 269 self.out_style.set_filter(export, internal, symbol, nosymbol,
|
/scripts/mod/ |
A D | modpost.c | 217 struct symbol { struct 255 struct symbol *sym; in sym_add_unresolved() 265 struct symbol *s; in sym_find_with_module() 1073 struct symbol *s; in check_export_symbol() 1495 struct symbol *sym; in extract_crcs_for_object() 1857 struct symbol *sym; in add_exported_symbols() 1895 struct symbol *s; in add_extended_versions() 1938 struct symbol *s; in add_versions() 1974 struct symbol *s; in add_depends() 2132 struct symbol *s; in read_dump() [all …]
|