• Home
  • Raw
  • Download

Lines Matching refs:symbol

14 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()
164 struct symbol *sym; in sym_set_all_changed()
171 static void sym_calc_visibility(struct symbol *sym) in sym_calc_visibility()
174 struct symbol *choice_sym = NULL; in sym_calc_visibility()
240 struct symbol *sym_choice_default(struct symbol *sym) in sym_choice_default()
242 struct symbol *def_sym; in sym_choice_default()
266 static struct symbol *sym_calc_choice(struct symbol *sym) in sym_calc_choice()
268 struct symbol *def_sym; in sym_calc_choice()
298 static void sym_warn_unmet_dep(struct symbol *sym) in sym_warn_unmet_dep()
319 void sym_calc_value(struct symbol *sym) in sym_calc_value()
417 struct symbol *ds = prop_get_symbol(prop); in sym_calc_value()
443 struct symbol *choice_sym; in sym_calc_value()
464 struct symbol *sym; in sym_clear_all_valid()
473 bool sym_tristate_within_range(struct symbol *sym, tristate val) in sym_tristate_within_range()
494 bool sym_set_tristate_value(struct symbol *sym, tristate val) in sym_set_tristate_value()
510 struct symbol *cs = prop_get_symbol(sym_get_choice_prop(sym)); in sym_set_tristate_value()
530 tristate sym_toggle_tristate_value(struct symbol *sym) in sym_toggle_tristate_value()
553 bool sym_string_valid(struct symbol *sym, const char *str) in sym_string_valid()
596 bool sym_string_within_range(struct symbol *sym, const char *str) in sym_string_within_range()
638 bool sym_set_string_value(struct symbol *sym, const char *newval) in sym_set_string_value()
694 const char *sym_get_string_default(struct symbol *sym) in sym_get_string_default()
697 struct symbol *ds; in sym_get_string_default()
764 const char *sym_get_string_value(struct symbol *sym) in sym_get_string_value()
788 bool sym_is_changeable(struct symbol *sym) in sym_is_changeable()
802 struct symbol *sym_lookup(const char *name, int flags) in sym_lookup()
804 struct symbol *symbol; in sym_lookup() local
818 for (symbol = symbol_hash[hash]; symbol; symbol = symbol->next) { in sym_lookup()
819 if (symbol->name && in sym_lookup()
820 !strcmp(symbol->name, name) && in sym_lookup()
821 (flags ? symbol->flags & flags in sym_lookup()
822 : !(symbol->flags & (SYMBOL_CONST|SYMBOL_CHOICE)))) in sym_lookup()
823 return symbol; in sym_lookup()
831 symbol = xmalloc(sizeof(*symbol)); in sym_lookup()
832 memset(symbol, 0, sizeof(*symbol)); in sym_lookup()
833 symbol->name = new_name; in sym_lookup()
834 symbol->type = S_UNKNOWN; in sym_lookup()
835 symbol->flags |= flags; in sym_lookup()
837 symbol->next = symbol_hash[hash]; in sym_lookup()
838 symbol_hash[hash] = symbol; in sym_lookup()
840 return symbol; in sym_lookup()
843 struct symbol *sym_find(const char *name) in sym_find()
845 struct symbol *symbol = NULL; in sym_find() local
860 for (symbol = symbol_hash[hash]; symbol; symbol = symbol->next) { in sym_find()
861 if (symbol->name && in sym_find()
862 !strcmp(symbol->name, name) && in sym_find()
863 !(symbol->flags & SYMBOL_CONST)) in sym_find()
867 return symbol; in sym_find()
914 struct symbol *sym;
948 struct symbol **sym_re_search(const char *pattern) in sym_re_search()
950 struct symbol *sym, **sym_arr = NULL; in sym_re_search()
986 sym_arr = malloc((cnt+1) * sizeof(struct symbol *)); in sym_re_search()
1009 struct symbol *sym;
1014 static void dep_stack_insert(struct dep_stack *stack, struct symbol *sym) in dep_stack_insert()
1036 static void sym_check_print_recursive(struct symbol *last_sym) in sym_check_print_recursive()
1039 struct symbol *sym, *next_sym; in sym_check_print_recursive()
1125 static struct symbol *sym_check_expr_deps(struct expr *e) in sym_check_expr_deps()
1127 struct symbol *sym; in sym_check_expr_deps()
1160 static struct symbol *sym_check_sym_deps(struct symbol *sym) in sym_check_sym_deps()
1162 struct symbol *sym2; in sym_check_sym_deps()
1208 static struct symbol *sym_check_choice_deps(struct symbol *choice) in sym_check_choice_deps()
1210 struct symbol *sym, *sym2; in sym_check_choice_deps()
1245 struct symbol *sym_check_deps(struct symbol *sym) in sym_check_deps()
1247 struct symbol *sym2; in sym_check_deps()
1276 struct property *prop_alloc(enum prop_type type, struct symbol *sym) in prop_alloc()
1298 struct symbol *prop_get_symbol(struct property *prop) in prop_get_symbol()