Lines Matching full:symbol
33 struct symbol * const sym;
73 /* enum values are used as index to symbol.def[] */
83 * Represents a configuration symbol.
85 * Choices are represented as a special kind of symbol with null name.
89 struct symbol { struct
93 /* The name of the symbol, e.g. "FOO" for 'config FOO' */ argument
100 * The calculated value of the symbol. The SYMBOL_VALID bit is set in argument
107 * Values for the symbol provided from outside. def[S_DEF_USER] holds
113 * An upper bound on the tristate value the user can set for the symbol
122 /* config entries associated with this symbol */ argument
145 #define SYMBOL_CONST 0x0001 /* symbol is const */ argument
147 #define SYMBOL_VALID 0x0080 /* set when symbol.curr is calculated */
148 #define SYMBOL_WRITE 0x0200 /* write symbol to file (KCONFIG_CONFIG) */
153 /* Set when symbol.def[] is used */
155 #define SYMBOL_DEF_USER 0x10000 /* symbol.def[S_DEF_USER] is valid */
156 #define SYMBOL_DEF_AUTO 0x20000 /* symbol.def[S_DEF_AUTO] is valid */
157 #define SYMBOL_DEF3 0x40000 /* symbol.def[S_DEF_3] is valid */
158 #define SYMBOL_DEF4 0x80000 /* symbol.def[S_DEF_4] is valid */
163 * with a config "symbol".
180 P_MENU, /* prompt associated with a menu or menuconfig symbol */
184 P_RANGE, /* range 7..100 (for a symbol) */
210 * for all front ends). Each symbol, menu, etc. defined in the Kconfig files
211 * gets a node. A symbol defined in multiple locations gets one node at each
227 * The symbol associated with the menu node. Choices are implemented as
228 * a special kind of symbol. NULL for menus, comments, and ifs.
230 struct symbol *sym;
232 struct list_head link; /* link to symbol::menus */
238 * symbol as well as the text for a menu or comment, along with the
270 * Set on a menu node when the corresponding symbol changes state in some way.
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);