Searched refs:sym (Results 1 - 25 of 28) sorted by relevance

12

/scripts/kconfig/
H A Dsymbol.c38 static void sym_add_default(struct symbol *sym, const char *def) argument
40 struct property *prop = prop_alloc(P_DEFAULT, sym);
47 struct symbol *sym; local
57 sym = sym_lookup("UNAME_RELEASE", 0);
58 sym->type = S_STRING;
59 sym->flags |= SYMBOL_AUTO;
60 sym_add_default(sym, uts.release);
63 enum symbol_type sym_get_type(struct symbol *sym) argument
65 enum symbol_type type = sym->type;
68 if (sym_is_choice_value(sym)
97 sym_get_choice_prop(struct symbol *sym) argument
106 sym_get_env_prop(struct symbol *sym) argument
115 sym_get_default_prop(struct symbol *sym) argument
127 sym_get_range_prop(struct symbol *sym) argument
139 sym_get_range_val(struct symbol *sym, int base) argument
155 sym_validate_range(struct symbol *sym) argument
188 sym_calc_visibility(struct symbol *sym) argument
234 sym_choice_default(struct symbol *sym) argument
260 sym_calc_choice(struct symbol *sym) argument
292 sym_calc_value(struct symbol *sym) argument
432 struct symbol *sym; local
442 sym_set_changed(struct symbol *sym) argument
455 struct symbol *sym; local
462 sym_tristate_within_range(struct symbol *sym, tristate val) argument
481 sym_set_tristate_value(struct symbol *sym, tristate val) argument
517 sym_toggle_tristate_value(struct symbol *sym) argument
540 sym_string_valid(struct symbol *sym, const char *str) argument
583 sym_string_within_range(struct symbol *sym, const char *str) argument
625 sym_set_string_value(struct symbol *sym, const char *newval) argument
681 sym_get_string_default(struct symbol *sym) argument
748 sym_get_string_value(struct symbol *sym) argument
772 sym_is_changable(struct symbol *sym) argument
872 struct symbol *sym; local
948 struct symbol *sym, **sym_arr = NULL; local
991 struct symbol *sym; member in struct:dep_stack
996 dep_stack_insert(struct dep_stack *stack, struct symbol *sym) argument
1021 struct symbol *sym, *next_sym; local
1092 struct symbol *sym; local
1121 sym_check_sym_deps(struct symbol *sym) argument
1157 struct symbol *sym, *sym2; local
1192 sym_check_deps(struct symbol *sym) argument
1226 prop_alloc(enum prop_type type, struct symbol *sym) argument
1285 struct symbol *sym, *sym2; local
[all...]
H A Dmenu.c47 void menu_add_entry(struct symbol *sym) argument
53 menu->sym = sym;
61 if (sym)
62 menu_add_symbol(P_SYMBOL, sym, NULL);
98 if (e->left.sym == &symbol_mod)
114 struct symbol *sym = current_entry->sym; local
116 if (sym->type == type)
118 if (sym
180 menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) argument
206 menu_validate_number(struct symbol *sym, struct symbol *sym2) argument
212 sym_check_prop(struct symbol *sym) argument
265 struct symbol *sym; local
436 struct symbol *sym; local
541 get_symbol_str(struct gstr *r, struct symbol *sym) argument
582 struct symbol *sym; local
596 struct symbol *sym = menu->sym; local
[all...]
H A Dconfdata.c80 struct symbol *sym; local
94 sym = sym_lookup(name, 0);
95 sym_calc_value(sym);
96 strcat(res_value, sym_get_string_value(sym));
120 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) argument
124 switch (sym->type) {
127 sym->def[def].tri = mod;
128 sym->flags |= def_flags;
134 sym->def[def].tri = yes;
135 sym
190 struct symbol *sym; local
347 struct symbol *sym; local
420 kconfig_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) argument
474 header_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) argument
548 tristate_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) argument
561 conf_write_symbol(FILE *fp, struct symbol *sym, struct conf_printer *printer, void *printer_arg) argument
602 struct symbol *sym; local
676 struct symbol *sym; local
778 struct symbol *sym; local
887 struct symbol *sym; local
989 struct symbol *sym; local
1032 struct symbol *sym; local
1051 struct symbol *sym, *csym; local
[all...]
H A Dconf.c82 static int conf_askvalue(struct symbol *sym, const char *def) argument
84 enum symbol_type type = sym_get_type(sym);
86 if (!sym_has_value(sym))
92 if (!sym_is_changable(sym)) {
102 if (sym_has_value(sym)) {
131 struct symbol *sym = menu->sym; local
136 printf("(%s) ", sym->name);
137 def = sym_get_string_value(sym);
138 if (sym_get_string_value(sym))
164 struct symbol *sym = menu->sym; local
233 struct symbol *sym, *def_sym; local
352 struct symbol *sym; local
418 struct symbol *sym; local
[all...]
H A Dlkc.h104 void menu_add_entry(struct symbol *sym);
111 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
142 void sym_set_changed(struct symbol *sym);
143 struct symbol *sym_choice_default(struct symbol *sym);
144 const char *sym_get_string_default(struct symbol *sym);
145 struct symbol *sym_check_deps(struct symbol *sym);
146 struct property *prop_alloc(enum prop_type type, struct symbol *sym);
148 struct property *sym_get_env_prop(struct symbol *sym);
150 static inline tristate sym_get_tristate_value(struct symbol *sym) argument
152 return sym
156 sym_get_choice_value(struct symbol *sym) argument
166 sym_is_choice(struct symbol *sym) argument
171 sym_is_choice_value(struct symbol *sym) argument
176 sym_is_optional(struct symbol *sym) argument
181 sym_has_value(struct symbol *sym) argument
[all...]
H A Dexpr.c14 struct expr *expr_alloc_symbol(struct symbol *sym) argument
18 e->left.sym = sym;
43 e->left.sym = s1;
44 e->right.sym = s2;
80 e->left.sym = org->left.sym;
81 e->right.sym = org->right.sym;
143 e1->left.sym
773 expr_contains_symbol(struct expr *dep, struct symbol *sym) argument
797 expr_depends_symbol(struct expr *dep, struct symbol *sym) argument
877 expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym) argument
1125 expr_print_file_helper(void *data, struct symbol *sym, const char *str) argument
1135 expr_print_gstr_helper(void *data, struct symbol *sym, const char *str) argument
[all...]
H A Dlkc_proto.h24 P(get_symbol_str, void, (struct gstr *r, struct symbol *sym));
37 P(sym_calc_value,void,(struct symbol *sym));
38 P(sym_get_type,enum symbol_type,(struct symbol *sym));
39 P(sym_tristate_within_range,bool,(struct symbol *sym,tristate tri));
40 P(sym_set_tristate_value,bool,(struct symbol *sym,tristate tri));
41 P(sym_toggle_tristate_value,tristate,(struct symbol *sym));
42 P(sym_string_valid,bool,(struct symbol *sym, const char *newval));
43 P(sym_string_within_range,bool,(struct symbol *sym, const char *str));
44 P(sym_set_string_value,bool,(struct symbol *sym, const char *newval));
45 P(sym_is_changable,bool,(struct symbol *sym));
[all...]
H A Dmconf.c341 struct symbol *sym; local
359 sym = menu->sym;
361 if (!sym) {
401 type = sym_get_type(sym);
402 if (sym_is_choice(sym)) {
403 struct symbol *def_sym = sym_get_choice_value(sym);
408 if (menu_is_visible(child) && child->sym == def_sym)
412 val = sym_get_tristate_value(sym);
413 if (sym_is_changable(sym)) {
521 struct symbol *sym; local
[all...]
H A Dexpr.h36 struct symbol *sym; member in union:expr_data
49 for (e = (l); e && (s = e->right.sym); e = e->left.expr)
87 #define for_all_symbols(i, sym) for (i = 0; i < SYMBOL_HASHSIZE; i++) for (sym = symbol_hash[i]; sym; sym = sym->next) if (sym->type != S_OTHER)
137 struct symbol *sym; /* the symbol for which the property is associated */ member in struct:property
149 #define for_all_properties(sym, s
162 struct symbol *sym; member in struct:menu
[all...]
H A Dnconf.c734 struct symbol *sym; local
744 sym = menu->sym;
746 if (!sym) {
791 type = sym_get_type(sym);
792 if (sym_is_choice(sym)) {
793 struct symbol *def_sym = sym_get_choice_value(sym);
798 if (menu_is_visible(child) && child->sym == def_sym)
802 val = sym_get_tristate_value(sym);
803 if (sym_is_changable(sym)) {
1069 struct symbol *sym; local
[all...]
H A Dqconf.cc107 sym_set_string_value(menu->sym, text(dataColIdx).latin1());
117 struct symbol* sym; local
130 sym = menu->sym;
140 if (sym && list->rootEntry == menu)
144 if (sym)
155 if (!sym)
158 setText(nameColIdx, QString::fromLocal8Bit(sym->name));
160 type = sym_get_type(sym);
166 if (!sym_is_changable(sym)
486 struct symbol* sym; local
511 struct symbol* sym; local
1012 struct symbol* sym; local
1066 debug_info(struct symbol *sym) argument
1151 expr_print_help(void *data, struct symbol *sym, const char *str) argument
[all...]
H A Dzconf.y144 struct symbol *sym = sym_lookup($2, 0);
145 sym->flags |= SYMBOL_OPTIONAL;
146 menu_add_entry(sym);
158 struct symbol *sym = sym_lookup($2, 0);
159 sym->flags |= SYMBOL_OPTIONAL;
160 menu_add_entry(sym);
244 struct symbol *sym = sym_lookup($2, SYMBOL_CHOICE);
245 sym->flags |= SYMBOL_AUTO;
246 menu_add_entry(sym);
295 current_entry->sym
[all...]
H A Dgconf.c811 struct symbol *sym; local
817 sym = menu->sym;
822 sym_set_string_value(sym, new_def);
832 struct symbol *sym = menu->sym; local
835 if (!sym)
847 switch (sym_get_type(sym)) {
850 if (!sym_tristate_within_range(sym, newval))
852 sym_set_tristate_value(sym, newva
1064 struct symbol *sym = menu->sym; local
1279 struct symbol *sym; local
1360 struct symbol *sym; local
[all...]
H A Dutil.c37 struct symbol *sym, *env_sym; local
57 expr_list_for_each_sym(sym_env_list, e, sym) {
61 prop = sym_get_env_prop(sym);
H A Dzconf.tab.c_shipped1675 struct symbol *sym = sym_lookup((yyvsp[(2) - (3)].string), 0);
1676 sym->flags |= SYMBOL_OPTIONAL;
1677 menu_add_entry(sym);
1693 struct symbol *sym = sym_lookup((yyvsp[(2) - (3)].string), 0);
1694 sym->flags |= SYMBOL_OPTIONAL;
1695 menu_add_entry(sym);
1783 struct symbol *sym = sym_lookup((yyvsp[(2) - (3)].string), SYMBOL_CHOICE);
1784 sym->flags |= SYMBOL_AUTO;
1785 menu_add_entry(sym);
1832 current_entry->sym
[all...]
H A Dqconf.h270 QString debug_info(struct symbol *sym);
272 static void expr_print_help(void *data, struct symbol *sym, const char *str);
276 struct symbol *sym; member in class:ConfigInfoView
/scripts/genksyms/
H A Dgenksyms.c170 struct symbol *sym; local
172 for (sym = symtab[h]; sym; sym = sym->hash_next)
173 if (map_to_ns(sym->type) == map_to_ns(ns) &&
174 strcmp(name, sym->name) == 0 &&
175 sym->is_declared)
178 if (exact && sym && sym
183 is_unknown_symbol(struct symbol *sym) argument
203 struct symbol *sym; local
471 struct string_list *sym, *def; local
541 expand_and_crc_sym(struct symbol *sym, unsigned long crc) argument
647 struct symbol *sym; local
851 struct symbol *sym = visited_symbols; local
[all...]
/scripts/
H A Dkallsyms.c36 unsigned char *sym; member in struct:sym_entry
82 static int read_symbol_tr(const char *sym, unsigned long long addr) argument
90 if (strcmp(sym, tr->stext) == 0) {
93 } else if (strcmp(sym, tr->etext) == 0) {
105 char *sym, stype; local
115 sym = str;
118 sym++;
121 if (strcmp(sym, "_text") == 0)
123 else if (read_symbol_tr(sym, s->addr) == 0)
128 if (strcmp(sym, "__kernel_syscall_via_brea
[all...]
H A Dexport_report.pl31 foreach my $sym (sort numerically @{$list}) {
32 my ($symbol, $no) = split /\s+/, $sym;
130 my $sym = (split /([,"])/,)[4];
131 my ($module, $value, $symbol, $gpl) = @{$SYMBOL{$sym}};
132 $SYMBOL{ $sym } = [ $module, $value+1, $symbol, $gpl];
133 push(@{$MODULE{$thismod}} , $sym);
H A Dbloat-o-meter17 sym = {}
25 sym[name] = sym.get(name, 0) + int(size, 16)
26 return sym
H A Ddocproc.c81 static void consume_symbol(const char *sym) argument
88 if (strcmp(sym, all_list[i]))
153 static void add_new_symbol(struct symfile *sym, char * symname) argument
155 sym->symbollist =
156 realloc(sym->symbollist, (sym->symbolcnt + 1) * sizeof(char *));
157 sym->symbollist[sym->symbolcnt++].name = strdup(symname);
197 struct symfile *sym; local
206 sym
268 struct symfile * sym = &symfilelist[i]; local
[all...]
H A Dunifdef.c829 int sym; local
869 sym = findsym(cp);
870 if (sym < 0) {
873 *valp = (value[sym] != NULL);
883 sym = findsym(cp);
885 if (sym < 0) {
888 } else if (value[sym] == NULL) {
892 *valp = strtol(value[sym], &ep, 0);
893 if (*ep != '\0' || ep == value[sym])
1154 addsym(bool ignorethis, bool definethis, char *sym) argument
[all...]
/scripts/mod/
H A Dmodpost.c400 Elf_Sym *sym; local
532 for (sym = info->symtab_start; sym < info->symtab_stop; sym++) {
533 sym->st_shndx = TO_NATIVE(sym->st_shndx);
534 sym->st_name = TO_NATIVE(sym->st_name);
535 sym->st_value = TO_NATIVE(sym
586 handle_modversions(struct module *mod, struct elf_info *info, Elf_Sym *sym, const char *symname) argument
730 sym_name(struct elf_info *elf, Elf_Sym *sym) argument
757 number_prefix(const char *sym) argument
780 match(const char *sym, const char * const pat[]) argument
1140 Elf_Sym *sym; local
1188 is_valid_name(struct elf_info *elf, Elf_Sym *sym) argument
1206 Elf_Sym *sym; local
1269 is_function(Elf_Sym *sym) argument
1441 check_section_mismatch(const char *modname, struct elf_info *elf, Elf_Rela *r, Elf_Sym *sym, const char *fromsec) argument
1557 Elf_Sym *sym; local
1601 Elf_Sym *sym; local
1692 Elf_Sym *sym; local
2071 dump_sym(struct symbol *sym) argument
[all...]
H A Dmodpost.h156 /* Accessor for sym->st_shndx, hides ugliness of "64k sections" */
158 const Elf_Sym *sym)
160 if (is_shndx_special(sym->st_shndx))
161 return SPECIAL(sym->st_shndx);
162 if (sym->st_shndx != SHN_XINDEX)
163 return sym->st_shndx;
164 return info->symtab_shndx_start[sym - info->symtab_start];
170 Elf_Sym *sym, const char *symname);
157 get_secindex(const struct elf_info *info, const Elf_Sym *sym) argument
H A Dfile2alias.c1092 Elf_Sym *sym, const char *symname)
1100 if (!sym->st_shndx || get_secindex(info, sym) >= info->num_sections)
1104 if (ELF_ST_TYPE(sym->st_info) != STT_OBJECT)
1120 if (info->sechdrs[get_secindex(info, sym)].sh_type & SHT_NOBITS) {
1121 zeros = calloc(1, sym->st_size);
1125 + info->sechdrs[get_secindex(info, sym)].sh_offset
1126 + sym->st_value;
1131 do_usb_table(symval, sym->st_size, mod);
1133 do_pnp_device_entry(symval, sym
1091 handle_moddevtable(struct module *mod, struct elf_info *info, Elf_Sym *sym, const char *symname) argument
[all...]

Completed in 1898 milliseconds

12