expr 381 include/linux/ftrace_event.h #define __TRACE_EVENT_PERF_PERM(name, expr...) \ expr 272 include/linux/jbd.h #define J_ASSERT_BH(bh, expr) J_ASSERT(expr) expr 273 include/linux/jbd.h #define J_ASSERT_JH(jh, expr) J_ASSERT(expr) expr 276 include/linux/jbd.h #define J_EXPECT(expr, why...) J_ASSERT(expr) expr 277 include/linux/jbd.h #define J_EXPECT_BH(bh, expr, why...) J_ASSERT_BH(bh, expr) expr 278 include/linux/jbd.h #define J_EXPECT_JH(jh, expr, why...) J_ASSERT_JH(jh, expr) expr 280 include/linux/jbd.h #define __journal_expect(expr, why...) \ expr 282 include/linux/jbd.h int val = (expr); \ expr 285 include/linux/jbd.h "EXT3-fs unexpected failure: %s;\n",# expr); \ expr 290 include/linux/jbd.h #define J_EXPECT(expr, why...) __journal_expect(expr, ## why) expr 291 include/linux/jbd.h #define J_EXPECT_BH(bh, expr, why...) __journal_expect(expr, ## why) expr 292 include/linux/jbd.h #define J_EXPECT_JH(jh, expr, why...) __journal_expect(expr, ## why) expr 343 include/linux/jbd2.h #define J_ASSERT_BH(bh, expr) J_ASSERT(expr) expr 344 include/linux/jbd2.h #define J_ASSERT_JH(jh, expr) J_ASSERT(expr) expr 347 include/linux/jbd2.h #define J_EXPECT(expr, why...) J_ASSERT(expr) expr 348 include/linux/jbd2.h #define J_EXPECT_BH(bh, expr, why...) J_ASSERT_BH(bh, expr) expr 349 include/linux/jbd2.h #define J_EXPECT_JH(jh, expr, why...) J_ASSERT_JH(jh, expr) expr 351 include/linux/jbd2.h #define __journal_expect(expr, why...) \ expr 353 include/linux/jbd2.h int val = (expr); \ expr 357 include/linux/jbd2.h __func__, #expr); \ expr 362 include/linux/jbd2.h #define J_EXPECT(expr, why...) __journal_expect(expr, ## why) expr 363 include/linux/jbd2.h #define J_EXPECT_BH(bh, expr, why...) __journal_expect(expr, ## why) expr 364 include/linux/jbd2.h #define J_EXPECT_JH(jh, expr, why...) __journal_expect(expr, ## why) expr 336 include/linux/tracepoint.h #define TRACE_EVENT_PERF_PERM(event, expr...) expr 470 include/linux/tracepoint.h #define TRACE_EVENT_PERF_PERM(event, expr...) expr 68 include/net/irda/irda.h #define IRDA_ASSERT(expr, func) \ expr 69 include/net/irda/irda.h do { if(!(expr)) { \ expr 71 include/net/irda/irda.h __FILE__,__func__,__LINE__,(#expr) ); \ expr 76 include/net/irda/irda.h #define IRDA_ASSERT(expr, func) do { (void)(expr); } while (0) expr 337 include/net/netfilter/nf_tables.h void (*eval)(const struct nft_expr *expr, expr 343 include/net/netfilter/nf_tables.h const struct nft_expr *expr, expr 346 include/net/netfilter/nf_tables.h const struct nft_expr *expr); expr 348 include/net/netfilter/nf_tables.h const struct nft_expr *expr); expr 350 include/net/netfilter/nf_tables.h const struct nft_expr *expr, expr 371 include/net/netfilter/nf_tables.h static inline void *nft_expr_priv(const struct nft_expr *expr) expr 373 include/net/netfilter/nf_tables.h return (void *)expr->data; expr 469 include/net/netfilter/nf_tables.h static inline struct nft_expr *nft_expr_next(const struct nft_expr *expr) expr 471 include/net/netfilter/nf_tables.h return ((void *)expr) + expr->ops->size; expr 489 include/net/netfilter/nf_tables.h #define nft_rule_for_each_expr(expr, last, rule) \ expr 490 include/net/netfilter/nf_tables.h for ((expr) = nft_expr_first(rule), (last) = nft_expr_last(rule); \ expr 491 include/net/netfilter/nf_tables.h (expr) != (last); \ expr 492 include/net/netfilter/nf_tables.h (expr) = nft_expr_next(expr)) expr 11 include/net/netfilter/nft_masq.h const struct nft_expr *expr, expr 14 include/net/netfilter/nft_masq.h int nft_masq_dump(struct sk_buff *skb, const struct nft_expr *expr); expr 16 include/net/netfilter/nft_masq.h int nft_masq_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, expr 15 include/net/netfilter/nft_meta.h const struct nft_expr *expr, expr 19 include/net/netfilter/nft_meta.h const struct nft_expr *expr, expr 23 include/net/netfilter/nft_meta.h const struct nft_expr *expr); expr 26 include/net/netfilter/nft_meta.h const struct nft_expr *expr); expr 28 include/net/netfilter/nft_meta.h void nft_meta_get_eval(const struct nft_expr *expr, expr 32 include/net/netfilter/nft_meta.h void nft_meta_set_eval(const struct nft_expr *expr, expr 12 include/net/netfilter/nft_reject.h const struct nft_expr *expr, expr 15 include/net/netfilter/nft_reject.h int nft_reject_dump(struct sk_buff *skb, const struct nft_expr *expr); expr 103 include/trace/ftrace.h #define TRACE_EVENT_PERF_PERM(name, expr...) \ expr 104 include/trace/ftrace.h __TRACE_EVENT_PERF_PERM(name, expr) expr 166 include/trace/ftrace.h #define TRACE_EVENT_PERF_PERM(event, expr...) expr 217 scripts/genksyms/genksyms.c struct string_list *expr; expr 222 scripts/genksyms/genksyms.c expr = copy_list_range(last_enum_expr, NULL); expr 224 scripts/genksyms/genksyms.c expr, expr 479 scripts/genksyms/parse.y struct string_list *expr = copy_list_range(*$3, *$2); expr 480 scripts/genksyms/parse.y add_symbol(name, SYM_ENUM_CONST, expr, 0); expr 271 scripts/kconfig/confdata.c if (expr_calc_value(prop->visible.expr) == no || expr 272 scripts/kconfig/confdata.c prop->expr->type != E_SYMBOL) expr 274 scripts/kconfig/confdata.c name = conf_expand_value(prop->expr->left.sym->name); expr 1052 scripts/kconfig/confdata.c struct expr *e; expr 1067 scripts/kconfig/confdata.c expr_list_for_each_sym(prop->expr, e, sym) expr 1077 scripts/kconfig/confdata.c expr_list_for_each_sym(prop->expr, e, sym) { expr 1100 scripts/kconfig/confdata.c struct expr *e; expr 1107 scripts/kconfig/confdata.c expr_list_for_each_sym(prop->expr, e, sym) { expr 14 scripts/kconfig/expr.c struct expr *expr_alloc_symbol(struct symbol *sym) expr 16 scripts/kconfig/expr.c struct expr *e = xcalloc(1, sizeof(*e)); expr 22 scripts/kconfig/expr.c struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) expr 24 scripts/kconfig/expr.c struct expr *e = xcalloc(1, sizeof(*e)); expr 26 scripts/kconfig/expr.c e->left.expr = ce; expr 30 scripts/kconfig/expr.c struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) expr 32 scripts/kconfig/expr.c struct expr *e = xcalloc(1, sizeof(*e)); expr 34 scripts/kconfig/expr.c e->left.expr = e1; expr 35 scripts/kconfig/expr.c e->right.expr = e2; expr 39 scripts/kconfig/expr.c struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) expr 41 scripts/kconfig/expr.c struct expr *e = xcalloc(1, sizeof(*e)); expr 48 scripts/kconfig/expr.c struct expr *expr_alloc_and(struct expr *e1, struct expr *e2) expr 55 scripts/kconfig/expr.c struct expr *expr_alloc_or(struct expr *e1, struct expr *e2) expr 62 scripts/kconfig/expr.c struct expr *expr_copy(const struct expr *org) expr 64 scripts/kconfig/expr.c struct expr *e; expr 76 scripts/kconfig/expr.c e->left.expr = expr_copy(org->left.expr); expr 86 scripts/kconfig/expr.c e->left.expr = expr_copy(org->left.expr); expr 87 scripts/kconfig/expr.c e->right.expr = expr_copy(org->right.expr); expr 99 scripts/kconfig/expr.c void expr_free(struct expr *e) expr 108 scripts/kconfig/expr.c expr_free(e->left.expr); expr 115 scripts/kconfig/expr.c expr_free(e->left.expr); expr 116 scripts/kconfig/expr.c expr_free(e->right.expr); expr 130 scripts/kconfig/expr.c static void __expr_eliminate_eq(enum expr_type type, struct expr **ep1, struct expr **ep2) expr 133 scripts/kconfig/expr.c __expr_eliminate_eq(type, &e1->left.expr, &e2); expr 134 scripts/kconfig/expr.c __expr_eliminate_eq(type, &e1->right.expr, &e2); expr 138 scripts/kconfig/expr.c __expr_eliminate_eq(type, &e1, &e2->left.expr); expr 139 scripts/kconfig/expr.c __expr_eliminate_eq(type, &e1, &e2->right.expr); expr 164 scripts/kconfig/expr.c void expr_eliminate_eq(struct expr **ep1, struct expr **ep2) expr 189 scripts/kconfig/expr.c int expr_eq(struct expr *e1, struct expr *e2) expr 202 scripts/kconfig/expr.c return expr_eq(e1->left.expr, e2->left.expr); expr 231 scripts/kconfig/expr.c struct expr *expr_eliminate_yn(struct expr *e) expr 233 scripts/kconfig/expr.c struct expr *tmp; expr 237 scripts/kconfig/expr.c e->left.expr = expr_eliminate_yn(e->left.expr); expr 238 scripts/kconfig/expr.c e->right.expr = expr_eliminate_yn(e->right.expr); expr 239 scripts/kconfig/expr.c if (e->left.expr->type == E_SYMBOL) { expr 240 scripts/kconfig/expr.c if (e->left.expr->left.sym == &symbol_no) { expr 241 scripts/kconfig/expr.c expr_free(e->left.expr); expr 242 scripts/kconfig/expr.c expr_free(e->right.expr); expr 245 scripts/kconfig/expr.c e->right.expr = NULL; expr 247 scripts/kconfig/expr.c } else if (e->left.expr->left.sym == &symbol_yes) { expr 248 scripts/kconfig/expr.c free(e->left.expr); expr 249 scripts/kconfig/expr.c tmp = e->right.expr; expr 250 scripts/kconfig/expr.c *e = *(e->right.expr); expr 255 scripts/kconfig/expr.c if (e->right.expr->type == E_SYMBOL) { expr 256 scripts/kconfig/expr.c if (e->right.expr->left.sym == &symbol_no) { expr 257 scripts/kconfig/expr.c expr_free(e->left.expr); expr 258 scripts/kconfig/expr.c expr_free(e->right.expr); expr 261 scripts/kconfig/expr.c e->right.expr = NULL; expr 263 scripts/kconfig/expr.c } else if (e->right.expr->left.sym == &symbol_yes) { expr 264 scripts/kconfig/expr.c free(e->right.expr); expr 265 scripts/kconfig/expr.c tmp = e->left.expr; expr 266 scripts/kconfig/expr.c *e = *(e->left.expr); expr 273 scripts/kconfig/expr.c e->left.expr = expr_eliminate_yn(e->left.expr); expr 274 scripts/kconfig/expr.c e->right.expr = expr_eliminate_yn(e->right.expr); expr 275 scripts/kconfig/expr.c if (e->left.expr->type == E_SYMBOL) { expr 276 scripts/kconfig/expr.c if (e->left.expr->left.sym == &symbol_no) { expr 277 scripts/kconfig/expr.c free(e->left.expr); expr 278 scripts/kconfig/expr.c tmp = e->right.expr; expr 279 scripts/kconfig/expr.c *e = *(e->right.expr); expr 282 scripts/kconfig/expr.c } else if (e->left.expr->left.sym == &symbol_yes) { expr 283 scripts/kconfig/expr.c expr_free(e->left.expr); expr 284 scripts/kconfig/expr.c expr_free(e->right.expr); expr 287 scripts/kconfig/expr.c e->right.expr = NULL; expr 291 scripts/kconfig/expr.c if (e->right.expr->type == E_SYMBOL) { expr 292 scripts/kconfig/expr.c if (e->right.expr->left.sym == &symbol_no) { expr 293 scripts/kconfig/expr.c free(e->right.expr); expr 294 scripts/kconfig/expr.c tmp = e->left.expr; expr 295 scripts/kconfig/expr.c *e = *(e->left.expr); expr 298 scripts/kconfig/expr.c } else if (e->right.expr->left.sym == &symbol_yes) { expr 299 scripts/kconfig/expr.c expr_free(e->left.expr); expr 300 scripts/kconfig/expr.c expr_free(e->right.expr); expr 303 scripts/kconfig/expr.c e->right.expr = NULL; expr 317 scripts/kconfig/expr.c struct expr *expr_trans_bool(struct expr *e) expr 325 scripts/kconfig/expr.c e->left.expr = expr_trans_bool(e->left.expr); expr 326 scripts/kconfig/expr.c e->right.expr = expr_trans_bool(e->right.expr); expr 346 scripts/kconfig/expr.c static struct expr *expr_join_or(struct expr *e1, struct expr *e2) expr 348 scripts/kconfig/expr.c struct expr *tmp; expr 358 scripts/kconfig/expr.c tmp = e1->left.expr; expr 365 scripts/kconfig/expr.c if (e2->left.expr->type != E_SYMBOL) expr 367 scripts/kconfig/expr.c sym2 = e2->left.expr->left.sym; expr 395 scripts/kconfig/expr.c if ((e1->type == E_NOT && e1->left.expr->type == E_SYMBOL && e2->type == E_SYMBOL) || expr 396 scripts/kconfig/expr.c (e2->type == E_NOT && e2->left.expr->type == E_SYMBOL && e1->type == E_SYMBOL)) expr 410 scripts/kconfig/expr.c static struct expr *expr_join_and(struct expr *e1, struct expr *e2) expr 412 scripts/kconfig/expr.c struct expr *tmp; expr 422 scripts/kconfig/expr.c tmp = e1->left.expr; expr 429 scripts/kconfig/expr.c if (e2->left.expr->type != E_SYMBOL) expr 431 scripts/kconfig/expr.c sym2 = e2->left.expr->left.sym; expr 504 scripts/kconfig/expr.c static void expr_eliminate_dups1(enum expr_type type, struct expr **ep1, struct expr **ep2) expr 508 scripts/kconfig/expr.c struct expr *tmp; expr 511 scripts/kconfig/expr.c expr_eliminate_dups1(type, &e1->left.expr, &e2); expr 512 scripts/kconfig/expr.c expr_eliminate_dups1(type, &e1->right.expr, &e2); expr 516 scripts/kconfig/expr.c expr_eliminate_dups1(type, &e1, &e2->left.expr); expr 517 scripts/kconfig/expr.c expr_eliminate_dups1(type, &e1, &e2->right.expr); expr 556 scripts/kconfig/expr.c static void expr_eliminate_dups2(enum expr_type type, struct expr **ep1, struct expr **ep2) expr 560 scripts/kconfig/expr.c struct expr *tmp, *tmp1, *tmp2; expr 563 scripts/kconfig/expr.c expr_eliminate_dups2(type, &e1->left.expr, &e2); expr 564 scripts/kconfig/expr.c expr_eliminate_dups2(type, &e1->right.expr, &e2); expr 568 scripts/kconfig/expr.c expr_eliminate_dups2(type, &e1, &e2->left.expr); expr 569 scripts/kconfig/expr.c expr_eliminate_dups2(type, &e1, &e2->right.expr); expr 612 scripts/kconfig/expr.c struct expr *expr_eliminate_dups(struct expr *e) expr 636 scripts/kconfig/expr.c struct expr *expr_transform(struct expr *e) expr 638 scripts/kconfig/expr.c struct expr *tmp; expr 649 scripts/kconfig/expr.c e->left.expr = expr_transform(e->left.expr); expr 650 scripts/kconfig/expr.c e->right.expr = expr_transform(e->right.expr); expr 659 scripts/kconfig/expr.c e->left.expr = expr_alloc_symbol(e->left.sym); expr 693 scripts/kconfig/expr.c e->left.expr = expr_alloc_symbol(e->left.sym); expr 699 scripts/kconfig/expr.c switch (e->left.expr->type) { expr 702 scripts/kconfig/expr.c tmp = e->left.expr->left.expr; expr 703 scripts/kconfig/expr.c free(e->left.expr); expr 711 scripts/kconfig/expr.c tmp = e->left.expr; expr 718 scripts/kconfig/expr.c tmp = e->left.expr; expr 720 scripts/kconfig/expr.c e->right.expr = expr_alloc_one(E_NOT, tmp->right.expr); expr 722 scripts/kconfig/expr.c tmp->right.expr = NULL; expr 727 scripts/kconfig/expr.c tmp = e->left.expr; expr 729 scripts/kconfig/expr.c e->right.expr = expr_alloc_one(E_NOT, tmp->right.expr); expr 731 scripts/kconfig/expr.c tmp->right.expr = NULL; expr 735 scripts/kconfig/expr.c if (e->left.expr->left.sym == &symbol_yes) { expr 737 scripts/kconfig/expr.c tmp = e->left.expr; expr 744 scripts/kconfig/expr.c if (e->left.expr->left.sym == &symbol_mod) { expr 746 scripts/kconfig/expr.c tmp = e->left.expr; expr 753 scripts/kconfig/expr.c if (e->left.expr->left.sym == &symbol_no) { expr 755 scripts/kconfig/expr.c tmp = e->left.expr; expr 773 scripts/kconfig/expr.c int expr_contains_symbol(struct expr *dep, struct symbol *sym) expr 781 scripts/kconfig/expr.c return expr_contains_symbol(dep->left.expr, sym) || expr 782 scripts/kconfig/expr.c expr_contains_symbol(dep->right.expr, sym); expr 790 scripts/kconfig/expr.c return expr_contains_symbol(dep->left.expr, sym); expr 797 scripts/kconfig/expr.c bool expr_depends_symbol(struct expr *dep, struct symbol *sym) expr 804 scripts/kconfig/expr.c return expr_depends_symbol(dep->left.expr, sym) || expr 805 scripts/kconfig/expr.c expr_depends_symbol(dep->right.expr, sym); expr 826 scripts/kconfig/expr.c struct expr *expr_extract_eq_and(struct expr **ep1, struct expr **ep2) expr 828 scripts/kconfig/expr.c struct expr *tmp = NULL; expr 837 scripts/kconfig/expr.c struct expr *expr_extract_eq_or(struct expr **ep1, struct expr **ep2) expr 839 scripts/kconfig/expr.c struct expr *tmp = NULL; expr 848 scripts/kconfig/expr.c void expr_extract_eq(enum expr_type type, struct expr **ep, struct expr **ep1, struct expr **ep2) expr 853 scripts/kconfig/expr.c expr_extract_eq(type, ep, &e1->left.expr, &e2); expr 854 scripts/kconfig/expr.c expr_extract_eq(type, ep, &e1->right.expr, &e2); expr 858 scripts/kconfig/expr.c expr_extract_eq(type, ep, ep1, &e2->left.expr); expr 859 scripts/kconfig/expr.c expr_extract_eq(type, ep, ep1, &e2->right.expr); expr 877 scripts/kconfig/expr.c struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym) expr 879 scripts/kconfig/expr.c struct expr *e1, *e2; expr 889 scripts/kconfig/expr.c e1 = expr_trans_compare(e->left.expr, E_EQUAL, sym); expr 890 scripts/kconfig/expr.c e2 = expr_trans_compare(e->right.expr, E_EQUAL, sym); expr 899 scripts/kconfig/expr.c e1 = expr_trans_compare(e->left.expr, E_EQUAL, sym); expr 900 scripts/kconfig/expr.c e2 = expr_trans_compare(e->right.expr, E_EQUAL, sym); expr 909 scripts/kconfig/expr.c return expr_trans_compare(e->left.expr, type == E_EQUAL ? E_UNEQUAL : E_EQUAL, sym); expr 938 scripts/kconfig/expr.c tristate expr_calc_value(struct expr *e) expr 951 scripts/kconfig/expr.c val1 = expr_calc_value(e->left.expr); expr 952 scripts/kconfig/expr.c val2 = expr_calc_value(e->right.expr); expr 955 scripts/kconfig/expr.c val1 = expr_calc_value(e->left.expr); expr 956 scripts/kconfig/expr.c val2 = expr_calc_value(e->right.expr); expr 959 scripts/kconfig/expr.c val1 = expr_calc_value(e->left.expr); expr 1011 scripts/kconfig/expr.c static inline struct expr * expr 1012 scripts/kconfig/expr.c expr_get_leftmost_symbol(const struct expr *e) expr 1019 scripts/kconfig/expr.c e = e->left.expr; expr 1028 scripts/kconfig/expr.c struct expr *expr_simplify_unmet_dep(struct expr *e1, struct expr *e2) expr 1030 scripts/kconfig/expr.c struct expr *ret; expr 1035 scripts/kconfig/expr.c expr_simplify_unmet_dep(e1->left.expr, e2), expr 1036 scripts/kconfig/expr.c expr_simplify_unmet_dep(e1->right.expr, e2)); expr 1038 scripts/kconfig/expr.c struct expr *e; expr 1053 scripts/kconfig/expr.c void expr_print(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int prevtoken) expr 1071 scripts/kconfig/expr.c expr_print(e->left.expr, fn, data, E_NOT); expr 1090 scripts/kconfig/expr.c expr_print(e->left.expr, fn, data, E_OR); expr 1092 scripts/kconfig/expr.c expr_print(e->right.expr, fn, data, E_OR); expr 1095 scripts/kconfig/expr.c expr_print(e->left.expr, fn, data, E_AND); expr 1097 scripts/kconfig/expr.c expr_print(e->right.expr, fn, data, E_AND); expr 1101 scripts/kconfig/expr.c if (e->left.expr) { expr 1103 scripts/kconfig/expr.c expr_print(e->left.expr, fn, data, E_LIST); expr 1130 scripts/kconfig/expr.c void expr_fprint(struct expr *e, FILE *out) expr 1165 scripts/kconfig/expr.c void expr_gstr_print(struct expr *e, struct gstr *gs) expr 36 scripts/kconfig/expr.h struct expr *expr; expr 50 scripts/kconfig/expr.h for (e = (l); e && (s = e->right.sym); e = e->left.expr) expr 53 scripts/kconfig/expr.h struct expr *expr; expr 148 scripts/kconfig/expr.h struct expr *expr; /* the optional conditional part of the property */ expr 171 scripts/kconfig/expr.h struct expr *visibility; expr 172 scripts/kconfig/expr.h struct expr *dep; expr 200 scripts/kconfig/expr.h struct expr *expr_alloc_symbol(struct symbol *sym); expr 201 scripts/kconfig/expr.h struct expr *expr_alloc_one(enum expr_type type, struct expr *ce); expr 202 scripts/kconfig/expr.h struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); expr 203 scripts/kconfig/expr.h struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); expr 204 scripts/kconfig/expr.h struct expr *expr_alloc_and(struct expr *e1, struct expr *e2); expr 205 scripts/kconfig/expr.h struct expr *expr_alloc_or(struct expr *e1, struct expr *e2); expr 206 scripts/kconfig/expr.h struct expr *expr_copy(const struct expr *org); expr 207 scripts/kconfig/expr.h void expr_free(struct expr *e); expr 208 scripts/kconfig/expr.h int expr_eq(struct expr *e1, struct expr *e2); expr 209 scripts/kconfig/expr.h void expr_eliminate_eq(struct expr **ep1, struct expr **ep2); expr 210 scripts/kconfig/expr.h tristate expr_calc_value(struct expr *e); expr 211 scripts/kconfig/expr.h struct expr *expr_eliminate_yn(struct expr *e); expr 212 scripts/kconfig/expr.h struct expr *expr_trans_bool(struct expr *e); expr 213 scripts/kconfig/expr.h struct expr *expr_eliminate_dups(struct expr *e); expr 214 scripts/kconfig/expr.h struct expr *expr_transform(struct expr *e); expr 215 scripts/kconfig/expr.h int expr_contains_symbol(struct expr *dep, struct symbol *sym); expr 216 scripts/kconfig/expr.h bool expr_depends_symbol(struct expr *dep, struct symbol *sym); expr 217 scripts/kconfig/expr.h struct expr *expr_extract_eq_and(struct expr **ep1, struct expr **ep2); expr 218 scripts/kconfig/expr.h struct expr *expr_extract_eq_or(struct expr **ep1, struct expr **ep2); expr 219 scripts/kconfig/expr.h void expr_extract_eq(enum expr_type type, struct expr **ep, struct expr **ep1, struct expr **ep2); expr 220 scripts/kconfig/expr.h struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym); expr 221 scripts/kconfig/expr.h struct expr *expr_simplify_unmet_dep(struct expr *e1, struct expr *e2); expr 223 scripts/kconfig/expr.h void expr_fprint(struct expr *e, FILE *out); expr 225 scripts/kconfig/expr.h void expr_gstr_print(struct expr *e, struct gstr *gs); expr 227 scripts/kconfig/expr.h static inline int expr_is_yes(struct expr *e) expr 232 scripts/kconfig/expr.h static inline int expr_is_no(struct expr *e) expr 114 scripts/kconfig/lkc.h void menu_add_dep(struct expr *dep); expr 115 scripts/kconfig/lkc.h void menu_add_visibility(struct expr *dep); expr 116 scripts/kconfig/lkc.h struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep); expr 117 scripts/kconfig/lkc.h struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); expr 118 scripts/kconfig/lkc.h void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); expr 119 scripts/kconfig/lkc.h void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); expr 147 scripts/kconfig/lkc.h extern struct expr *sym_env_list; expr 57 scripts/kconfig/lkc_proto.h P(expr_print,void,(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int prevtoken)); expr 82 scripts/kconfig/menu.c static struct expr *menu_check_dep(struct expr *e) expr 89 scripts/kconfig/menu.c e->left.expr = menu_check_dep(e->left.expr); expr 93 scripts/kconfig/menu.c e->left.expr = menu_check_dep(e->left.expr); expr 94 scripts/kconfig/menu.c e->right.expr = menu_check_dep(e->right.expr); expr 107 scripts/kconfig/menu.c void menu_add_dep(struct expr *dep) expr 128 scripts/kconfig/menu.c struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep) expr 133 scripts/kconfig/menu.c prop->expr = expr; expr 134 scripts/kconfig/menu.c prop->visible.expr = menu_check_dep(dep); expr 150 scripts/kconfig/menu.c struct expr *dup_expr; expr 165 scripts/kconfig/menu.c prop->visible.expr expr 166 scripts/kconfig/menu.c = expr_alloc_and(prop->visible.expr, expr 178 scripts/kconfig/menu.c struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) expr 183 scripts/kconfig/menu.c void menu_add_visibility(struct expr *expr) expr 186 scripts/kconfig/menu.c expr); expr 189 scripts/kconfig/menu.c void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep) expr 191 scripts/kconfig/menu.c menu_add_prop(type, NULL, expr, dep); expr 194 scripts/kconfig/menu.c void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) expr 240 scripts/kconfig/menu.c prop->expr->type != E_SYMBOL) expr 244 scripts/kconfig/menu.c if (prop->expr->type != E_SYMBOL) expr 272 scripts/kconfig/menu.c if (!menu_validate_number(sym, prop->expr->left.sym) || expr 273 scripts/kconfig/menu.c !menu_validate_number(sym, prop->expr->right.sym)) expr 287 scripts/kconfig/menu.c struct expr *parentdep, *basedep, *dep, *dep2, **ep; expr 310 scripts/kconfig/menu.c parentdep = parent->prompt->visible.expr; expr 326 scripts/kconfig/menu.c dep = expr_transform(prop->visible.expr); expr 331 scripts/kconfig/menu.c prop->visible.expr = dep; expr 334 scripts/kconfig/menu.c es->rev_dep.expr = expr_alloc_or(es->rev_dep.expr, expr 342 scripts/kconfig/menu.c basedep = parent->prompt ? parent->prompt->visible.expr : NULL; expr 347 scripts/kconfig/menu.c dep = menu->prompt ? menu->prompt->visible.expr : menu->dep; expr 373 scripts/kconfig/menu.c sym->dir_dep.expr = expr_alloc_or(sym->dir_dep.expr, parent->dep); expr 404 scripts/kconfig/menu.c prop->visible.expr = expr_alloc_and(expr_copy(basedep), expr 405 scripts/kconfig/menu.c prop->visible.expr); expr 410 scripts/kconfig/menu.c for (ep = &prop->expr; *ep; ep = &(*ep)->left.expr) expr 440 scripts/kconfig/menu.c sym->rev_dep.expr = expr_alloc_or(sym->rev_dep.expr, expr 441 scripts/kconfig/menu.c expr_alloc_and(parent->prompt->visible.expr, expr 488 scripts/kconfig/menu.c visible = menu->prompt->visible.tri = expr_calc_value(menu->prompt->visible.expr); expr 632 scripts/kconfig/menu.c expr_gstr_print(prop->expr, r); expr 644 scripts/kconfig/menu.c if (!expr_is_yes(prop->visible.expr)) { expr 646 scripts/kconfig/menu.c expr_gstr_print(prop->visible.expr, r); expr 658 scripts/kconfig/menu.c expr_gstr_print(prop->expr, r); expr 662 scripts/kconfig/menu.c if (sym->rev_dep.expr) { expr 664 scripts/kconfig/menu.c expr_gstr_print(sym->rev_dep.expr, r); expr 127 scripts/kconfig/qconf.cc tristate expr; expr 179 scripts/kconfig/qconf.cc expr = sym_get_tristate_value(sym); expr 180 scripts/kconfig/qconf.cc switch (expr) { expr 203 scripts/kconfig/qconf.cc if (expr != no) expr 205 scripts/kconfig/qconf.cc if (expr != mod) expr 207 scripts/kconfig/qconf.cc if (expr != yes) expr 1059 scripts/kconfig/qconf.cc if (_menu->prompt->visible.expr) { expr 1061 scripts/kconfig/qconf.cc expr_print(_menu->prompt->visible.expr, expr_print_help, &debug, E_NONE); expr 1081 scripts/kconfig/qconf.cc if (sym->rev_dep.expr) { expr 1083 scripts/kconfig/qconf.cc expr_print(sym->rev_dep.expr, expr_print_help, &debug, E_NONE); expr 1100 scripts/kconfig/qconf.cc expr_print(prop->expr, expr_print_help, &debug, E_NONE); expr 1106 scripts/kconfig/qconf.cc expr_print(prop->expr, expr_print_help, &debug, E_NONE); expr 1115 scripts/kconfig/qconf.cc if (prop->visible.expr) { expr 1117 scripts/kconfig/qconf.cc expr_print(prop->visible.expr, expr_print_help, &debug, E_NONE); expr 36 scripts/kconfig/symbol.c struct expr *sym_env_list; expr 42 scripts/kconfig/symbol.c prop->expr = expr_alloc_symbol(sym_lookup(def, SYMBOL_CONST)); expr 120 scripts/kconfig/symbol.c prop->visible.tri = expr_calc_value(prop->visible.expr); expr 132 scripts/kconfig/symbol.c prop->visible.tri = expr_calc_value(prop->visible.expr); expr 176 scripts/kconfig/symbol.c val2 = sym_get_range_val(prop->expr->left.sym, base); expr 178 scripts/kconfig/symbol.c val2 = sym_get_range_val(prop->expr->right.sym, base); expr 197 scripts/kconfig/symbol.c prop->visible.tri = expr_calc_value(prop->visible.expr); expr 210 scripts/kconfig/symbol.c if (sym->dir_dep.expr) expr 211 scripts/kconfig/symbol.c tri = expr_calc_value(sym->dir_dep.expr); expr 219 scripts/kconfig/symbol.c if (sym->rev_dep.expr) expr 220 scripts/kconfig/symbol.c tri = expr_calc_value(sym->rev_dep.expr); expr 239 scripts/kconfig/symbol.c struct expr *e; expr 243 scripts/kconfig/symbol.c prop->visible.tri = expr_calc_value(prop->visible.expr); expr 253 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, def_sym) expr 265 scripts/kconfig/symbol.c struct expr *e; expr 271 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, def_sym) { expr 297 scripts/kconfig/symbol.c struct expr *e; expr 363 scripts/kconfig/symbol.c newval.tri = EXPR_AND(expr_calc_value(prop->expr), expr 369 scripts/kconfig/symbol.c struct expr *e; expr 370 scripts/kconfig/symbol.c e = expr_simplify_unmet_dep(sym->rev_dep.expr, expr 371 scripts/kconfig/symbol.c sym->dir_dep.expr); expr 376 scripts/kconfig/symbol.c expr_fprint(sym->dir_dep.expr, stderr); expr 426 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, choice_sym) { expr 511 scripts/kconfig/symbol.c struct expr *e; expr 516 scripts/kconfig/symbol.c for (e = prop->expr; e; e = e->left.expr) { expr 610 scripts/kconfig/symbol.c return val >= sym_get_range_val(prop->expr->left.sym, 10) && expr 611 scripts/kconfig/symbol.c val <= sym_get_range_val(prop->expr->right.sym, 10); expr 619 scripts/kconfig/symbol.c return val >= sym_get_range_val(prop->expr->left.sym, 16) && expr 620 scripts/kconfig/symbol.c val <= sym_get_range_val(prop->expr->right.sym, 16); expr 712 scripts/kconfig/symbol.c val = EXPR_AND(expr_calc_value(prop->expr), prop->visible.tri); expr 1056 scripts/kconfig/symbol.c struct expr *expr; expr 1120 scripts/kconfig/symbol.c if (stack->expr) { expr 1153 scripts/kconfig/symbol.c static struct symbol *sym_check_expr_deps(struct expr *e) expr 1162 scripts/kconfig/symbol.c sym = sym_check_expr_deps(e->left.expr); expr 1165 scripts/kconfig/symbol.c return sym_check_expr_deps(e->right.expr); expr 1167 scripts/kconfig/symbol.c return sym_check_expr_deps(e->left.expr); expr 1192 scripts/kconfig/symbol.c sym2 = sym_check_expr_deps(sym->rev_dep.expr); expr 1200 scripts/kconfig/symbol.c sym2 = sym_check_expr_deps(prop->visible.expr); expr 1205 scripts/kconfig/symbol.c stack.expr = prop->expr; expr 1206 scripts/kconfig/symbol.c sym2 = sym_check_expr_deps(prop->expr); expr 1209 scripts/kconfig/symbol.c stack.expr = NULL; expr 1222 scripts/kconfig/symbol.c struct expr *e; expr 1228 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, sym) expr 1237 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, sym) { expr 1243 scripts/kconfig/symbol.c expr_list_for_each_sym(prop->expr, e, sym) expr 1313 scripts/kconfig/symbol.c if (prop->expr && (prop->expr->type == E_SYMBOL || expr 1314 scripts/kconfig/symbol.c prop->expr->type == E_LIST)) expr 1315 scripts/kconfig/symbol.c return prop->expr->left.sym; expr 1363 scripts/kconfig/symbol.c prop->expr = expr_alloc_symbol(sym_lookup(env, SYMBOL_CONST)); expr 38 scripts/kconfig/util.c struct expr *e; expr 182 scripts/kconfig/zconf.tab.c struct expr *expr; expr 1745 scripts/kconfig/zconf.tab.c menu_add_prompt(P_PROMPT, (yyvsp[(2) - (4)].string), (yyvsp[(3) - (4)].expr)); expr 1753 scripts/kconfig/zconf.tab.c menu_add_expr(P_DEFAULT, (yyvsp[(2) - (4)].expr), (yyvsp[(3) - (4)].expr)); expr 1765 scripts/kconfig/zconf.tab.c menu_add_symbol(P_SELECT, sym_lookup((yyvsp[(2) - (4)].string), 0), (yyvsp[(3) - (4)].expr)); expr 1773 scripts/kconfig/zconf.tab.c menu_add_expr(P_RANGE, expr_alloc_comp(E_RANGE,(yyvsp[(2) - (5)].symbol), (yyvsp[(3) - (5)].symbol)), (yyvsp[(4) - (5)].expr)); expr 1831 scripts/kconfig/zconf.tab.c menu_add_prompt(P_PROMPT, (yyvsp[(2) - (4)].string), (yyvsp[(3) - (4)].expr)); expr 1861 scripts/kconfig/zconf.tab.c menu_add_symbol(P_DEFAULT, sym_lookup((yyvsp[(2) - (4)].string), 0), (yyvsp[(3) - (4)].expr)); expr 1874 scripts/kconfig/zconf.tab.c menu_add_dep((yyvsp[(2) - (3)].expr)); expr 1964 scripts/kconfig/zconf.tab.c menu_add_dep((yyvsp[(3) - (4)].expr)); expr 1972 scripts/kconfig/zconf.tab.c menu_add_visibility((yyvsp[(2) - (2)].expr)); expr 1979 scripts/kconfig/zconf.tab.c menu_add_prompt(P_PROMPT, (yyvsp[(1) - (2)].string), (yyvsp[(2) - (2)].expr)); expr 2000 scripts/kconfig/zconf.tab.c { (yyval.expr) = NULL; } expr 2005 scripts/kconfig/zconf.tab.c { (yyval.expr) = (yyvsp[(2) - (2)].expr); } expr 2010 scripts/kconfig/zconf.tab.c { (yyval.expr) = expr_alloc_symbol((yyvsp[(1) - (1)].symbol)); } expr 2015 scripts/kconfig/zconf.tab.c { (yyval.expr) = expr_alloc_comp(E_EQUAL, (yyvsp[(1) - (3)].symbol), (yyvsp[(3) - (3)].symbol)); } expr 2020 scripts/kconfig/zconf.tab.c { (yyval.expr) = expr_alloc_comp(E_UNEQUAL, (yyvsp[(1) - (3)].symbol), (yyvsp[(3) - (3)].symbol)); } expr 2025 scripts/kconfig/zconf.tab.c { (yyval.expr) = (yyvsp[(2) - (3)].expr); } expr 2030 scripts/kconfig/zconf.tab.c { (yyval.expr) = expr_alloc_one(E_NOT, (yyvsp[(2) - (2)].expr)); } expr 2035 scripts/kconfig/zconf.tab.c { (yyval.expr) = expr_alloc_two(E_OR, (yyvsp[(1) - (3)].expr), (yyvsp[(3) - (3)].expr)); } expr 2040 scripts/kconfig/zconf.tab.c { (yyval.expr) = expr_alloc_two(E_AND, (yyvsp[(1) - (3)].expr), (yyvsp[(3) - (3)].expr)); } expr 2439 scripts/kconfig/zconf.tab.c if (!expr_is_yes(prop->visible.expr)) { expr 2441 scripts/kconfig/zconf.tab.c expr_fprint(prop->visible.expr, out); expr 2447 scripts/kconfig/zconf.tab.c expr_fprint(prop->expr, out); expr 2448 scripts/kconfig/zconf.tab.c if (!expr_is_yes(prop->visible.expr)) { expr 2450 scripts/kconfig/zconf.tab.c expr_fprint(prop->visible.expr, out); expr 2459 scripts/kconfig/zconf.tab.c expr_fprint(prop->expr, out); expr 2464 scripts/kconfig/zconf.tab.c expr_fprint(prop->expr, out); expr 2510 scripts/kconfig/zconf.tab.c if (!expr_is_yes(prop->visible.expr)) { expr 2512 scripts/kconfig/zconf.tab.c expr_fprint(prop->visible.expr, out); expr 41 scripts/kconfig/zconf.y struct expr *expr; expr 83 scripts/kconfig/zconf.y %type <expr> expr expr 84 scripts/kconfig/zconf.y %type <expr> if_expr expr 198 scripts/kconfig/zconf.y config_option: T_DEFAULT expr if_expr T_EOL expr 316 scripts/kconfig/zconf.y if_entry: T_IF expr nl expr 423 scripts/kconfig/zconf.y depends: T_DEPENDS T_ON expr T_EOL expr 466 scripts/kconfig/zconf.y | T_IF expr { $$ = $2; } expr 469 scripts/kconfig/zconf.y expr: symbol { $$ = expr_alloc_symbol($1); } expr 472 scripts/kconfig/zconf.y | T_OPEN_PAREN expr T_CLOSE_PAREN { $$ = $2; } expr 473 scripts/kconfig/zconf.y | T_NOT expr { $$ = expr_alloc_one(E_NOT, $2); } expr 474 scripts/kconfig/zconf.y | expr T_OR expr { $$ = expr_alloc_two(E_OR, $1, $3); } expr 475 scripts/kconfig/zconf.y | expr T_AND expr { $$ = expr_alloc_two(E_AND, $1, $3); } expr 635 scripts/kconfig/zconf.y if (!expr_is_yes(prop->visible.expr)) { expr 637 scripts/kconfig/zconf.y expr_fprint(prop->visible.expr, out); expr 643 scripts/kconfig/zconf.y expr_fprint(prop->expr, out); expr 644 scripts/kconfig/zconf.y if (!expr_is_yes(prop->visible.expr)) { expr 646 scripts/kconfig/zconf.y expr_fprint(prop->visible.expr, out); expr 655 scripts/kconfig/zconf.y expr_fprint(prop->expr, out); expr 660 scripts/kconfig/zconf.y expr_fprint(prop->expr, out); expr 706 scripts/kconfig/zconf.y if (!expr_is_yes(prop->visible.expr)) { expr 708 scripts/kconfig/zconf.y expr_fprint(prop->visible.expr, out); expr 108 scripts/mod/modpost.c void *do_nofail(void *ptr, const char *expr) expr 111 scripts/mod/modpost.c fatal("modpost: Memory allocation failure: %s.\n", expr); expr 91 scripts/mod/modpost.h void *do_nofail(void *ptr, const char *expr);