/Linux-v4.19/scripts/kconfig/ |
D | expr.h | 38 struct expr *expr; member 42 struct expr { struct 52 for (e = (l); e && (s = e->right.sym); e = e->left.expr) 55 struct expr *expr; member 197 struct expr *expr; /* the optional conditional part of the property */ member 247 struct expr *visibility; 253 struct expr *dep; 294 struct expr *expr_alloc_symbol(struct symbol *sym); 295 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce); 296 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); [all …]
|
D | expr.c | 14 static int expr_eq(struct expr *e1, struct expr *e2); 15 static struct expr *expr_eliminate_yn(struct expr *e); 17 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol() 19 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_symbol() 25 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one() 27 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_one() 29 e->left.expr = ce; in expr_alloc_one() 33 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() 35 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_two() 37 e->left.expr = e1; in expr_alloc_two() [all …]
|
D | menu.c | 81 static struct expr *rewrite_m(struct expr *e) in rewrite_m() 88 e->left.expr = rewrite_m(e->left.expr); in rewrite_m() 92 e->left.expr = rewrite_m(e->left.expr); in rewrite_m() 93 e->right.expr = rewrite_m(e->right.expr); in rewrite_m() 106 void menu_add_dep(struct expr *dep) in menu_add_dep() 127 …uct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep) in menu_add_prop() argument 132 prop->expr = expr; in menu_add_prop() 133 prop->visible.expr = dep; in menu_add_prop() 149 struct expr *dup_expr; in menu_add_prop() 164 prop->visible.expr in menu_add_prop() [all …]
|
D | symbol.c | 84 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop() 96 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop() 140 val2 = sym_get_range_val(prop->expr->left.sym, base); in sym_validate_range() 142 val2 = sym_get_range_val(prop->expr->right.sym, base); in sym_validate_range() 186 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_visibility() 208 if (sym->dir_dep.expr) in sym_calc_visibility() 209 tri = expr_calc_value(sym->dir_dep.expr); in sym_calc_visibility() 217 if (sym->rev_dep.expr) in sym_calc_visibility() 218 tri = expr_calc_value(sym->rev_dep.expr); in sym_calc_visibility() 226 if (sym->implied.expr && sym->dir_dep.tri != no) in sym_calc_visibility() [all …]
|
D | zconf.y | 41 struct expr *expr; member 94 %type <expr> expr 95 %type <expr> if_expr 213 config_option: T_DEFAULT expr if_expr T_EOL 340 if_entry: T_IF expr T_EOL 450 depends: T_DEPENDS T_ON expr T_EOL 493 | T_IF expr { $$ = $2; } 496 expr: symbol { $$ = expr_alloc_symbol($1); } 503 | T_OPEN_PAREN expr T_CLOSE_PAREN { $$ = $2; } 504 | T_NOT expr { $$ = expr_alloc_one(E_NOT, $2); } [all …]
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | i915_gem.h | 45 #define GEM_WARN_ON(expr) WARN_ON(expr) argument 48 #define GEM_DEBUG_EXEC(expr) expr argument 49 #define GEM_DEBUG_BUG_ON(expr) GEM_BUG_ON(expr) argument 55 #define GEM_BUG_ON(expr) BUILD_BUG_ON_INVALID(expr) argument 56 #define GEM_WARN_ON(expr) (BUILD_BUG_ON_INVALID(expr), 0) argument 59 #define GEM_DEBUG_EXEC(expr) do { } while (0) argument 60 #define GEM_DEBUG_BUG_ON(expr) argument 66 #define GEM_TRACE_DUMP_ON(expr) \ argument 67 do { if (expr) ftrace_dump(DUMP_ALL); } while (0) 71 #define GEM_TRACE_DUMP_ON(expr) BUILD_BUG_ON_INVALID(expr) argument
|
/Linux-v4.19/tools/perf/util/ |
D | expr.y | 34 %type <num> expr if_expr 67 expr IF expr ELSE expr { $$ = $3 ? $1 : $5; } 68 | expr 71 expr: NUMBER 77 | expr '|' expr { $$ = (long)$1 | (long)$3; } 78 | expr '&' expr { $$ = (long)$1 & (long)$3; } 79 | expr '^' expr { $$ = (long)$1 ^ (long)$3; } 80 | expr '+' expr { $$ = $1 + $3; } 81 | expr '-' expr { $$ = $1 - $3; } 82 | expr '*' expr { $$ = $1 * $3; } [all …]
|
/Linux-v4.19/net/netfilter/ |
D | nft_dynset.c | 27 struct nft_expr *expr; member 31 static void *nft_dynset_new(struct nft_set *set, const struct nft_expr *expr, in nft_dynset_new() argument 34 const struct nft_dynset *priv = nft_expr_priv(expr); in nft_dynset_new() 51 if (priv->expr != NULL && in nft_dynset_new() 52 nft_expr_clone(nft_set_ext_expr(ext), priv->expr) < 0) in nft_dynset_new() 65 static void nft_dynset_eval(const struct nft_expr *expr, in nft_dynset_eval() argument 69 const struct nft_dynset *priv = nft_expr_priv(expr); in nft_dynset_eval() 76 expr, regs, &ext)) { in nft_dynset_eval() 112 const struct nft_expr *expr, in nft_dynset_init() argument 115 struct nft_dynset *priv = nft_expr_priv(expr); in nft_dynset_init() [all …]
|
D | nft_objref.c | 17 #define nft_objref_priv(expr) *((struct nft_object **)nft_expr_priv(expr)) argument 19 static void nft_objref_eval(const struct nft_expr *expr, in nft_objref_eval() argument 23 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_eval() 29 const struct nft_expr *expr, in nft_objref_init() argument 32 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_init() 46 nft_objref_priv(expr) = obj; in nft_objref_init() 52 static int nft_objref_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_objref_dump() argument 54 const struct nft_object *obj = nft_objref_priv(expr); in nft_objref_dump() 68 const struct nft_expr *expr) in nft_objref_destroy() argument 70 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_destroy() [all …]
|
D | nft_numgen.c | 42 static void nft_ng_inc_eval(const struct nft_expr *expr, in nft_ng_inc_eval() argument 46 struct nft_ng_inc *priv = nft_expr_priv(expr); in nft_ng_inc_eval() 51 static void nft_ng_inc_map_eval(const struct nft_expr *expr, in nft_ng_inc_map_eval() argument 55 struct nft_ng_inc *priv = nft_expr_priv(expr); in nft_ng_inc_map_eval() 82 const struct nft_expr *expr, in nft_ng_inc_init() argument 85 struct nft_ng_inc *priv = nft_expr_priv(expr); in nft_ng_inc_init() 105 const struct nft_expr *expr, in nft_ng_inc_map_init() argument 108 struct nft_ng_inc *priv = nft_expr_priv(expr); in nft_ng_inc_map_init() 111 nft_ng_inc_init(ctx, expr, tb); in nft_ng_inc_map_init() 138 static int nft_ng_inc_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_ng_inc_dump() argument [all …]
|
D | nft_hash.c | 31 static void nft_jhash_eval(const struct nft_expr *expr, in nft_jhash_eval() argument 35 struct nft_jhash *priv = nft_expr_priv(expr); in nft_jhash_eval() 45 static void nft_jhash_map_eval(const struct nft_expr *expr, in nft_jhash_map_eval() argument 49 struct nft_jhash *priv = nft_expr_priv(expr); in nft_jhash_map_eval() 74 static void nft_symhash_eval(const struct nft_expr *expr, in nft_symhash_eval() argument 78 struct nft_symhash *priv = nft_expr_priv(expr); in nft_symhash_eval() 87 static void nft_symhash_map_eval(const struct nft_expr *expr, in nft_symhash_map_eval() argument 91 struct nft_symhash *priv = nft_expr_priv(expr); in nft_symhash_map_eval() 123 const struct nft_expr *expr, in nft_jhash_init() argument 126 struct nft_jhash *priv = nft_expr_priv(expr); in nft_jhash_init() [all …]
|
D | nft_immediate.c | 20 static void nft_immediate_eval(const struct nft_expr *expr, in nft_immediate_eval() argument 24 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_eval() 35 const struct nft_expr *expr, in nft_immediate_init() argument 38 struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_init() 67 const struct nft_expr *expr) in nft_immediate_activate() argument 69 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_activate() 75 const struct nft_expr *expr) in nft_immediate_deactivate() argument 77 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_deactivate() 82 static int nft_immediate_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_immediate_dump() argument 84 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_dump() [all …]
|
D | nft_compat.c | 89 static void nft_target_eval_xt(const struct nft_expr *expr, in nft_target_eval_xt() argument 93 void *info = nft_expr_priv(expr); in nft_target_eval_xt() 94 struct xt_target *target = expr->ops->data; in nft_target_eval_xt() 115 static void nft_target_eval_bridge(const struct nft_expr *expr, in nft_target_eval_bridge() argument 119 void *info = nft_expr_priv(expr); in nft_target_eval_bridge() 120 struct xt_target *target = expr->ops->data; in nft_target_eval_bridge() 239 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_target_init() argument 242 void *info = nft_expr_priv(expr); in nft_target_init() 243 struct xt_target *target = expr->ops->data; in nft_target_init() 270 nft_xt = container_of(expr->ops, struct nft_xt, ops); in nft_target_init() [all …]
|
D | nf_tables_core.c | 52 static void nft_cmp_fast_eval(const struct nft_expr *expr, in nft_cmp_fast_eval() argument 55 const struct nft_cmp_fast_expr *priv = nft_expr_priv(expr); in nft_cmp_fast_eval() 63 static bool nft_payload_fast_eval(const struct nft_expr *expr, in nft_payload_fast_eval() argument 67 const struct nft_payload *priv = nft_expr_priv(expr); in nft_payload_fast_eval() 123 static void expr_call_ops_eval(const struct nft_expr *expr, in expr_call_ops_eval() argument 127 unsigned long e = (unsigned long)expr->ops->eval; in expr_call_ops_eval() 130 nft_meta_get_eval(expr, regs, pkt); in expr_call_ops_eval() 132 nft_lookup_eval(expr, regs, pkt); in expr_call_ops_eval() 134 expr->ops->eval(expr, regs, pkt); in expr_call_ops_eval() 144 const struct nft_expr *expr, *last; in nft_do_chain() local [all …]
|
D | nft_fwd_netdev.c | 26 static void nft_fwd_netdev_eval(const struct nft_expr *expr, in nft_fwd_netdev_eval() argument 30 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_eval() 44 const struct nft_expr *expr, in nft_fwd_netdev_init() argument 47 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_init() 58 static int nft_fwd_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_fwd_netdev_dump() argument 60 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_dump() 77 static void nft_fwd_neigh_eval(const struct nft_expr *expr, in nft_fwd_neigh_eval() argument 81 struct nft_fwd_neigh *priv = nft_expr_priv(expr); in nft_fwd_neigh_eval() 138 const struct nft_expr *expr, in nft_fwd_neigh_init() argument 141 struct nft_fwd_neigh *priv = nft_expr_priv(expr); in nft_fwd_neigh_init() [all …]
|
D | nft_queue.c | 31 static void nft_queue_eval(const struct nft_expr *expr, in nft_queue_eval() argument 35 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_eval() 58 static void nft_queue_sreg_eval(const struct nft_expr *expr, in nft_queue_sreg_eval() argument 62 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_sreg_eval() 82 const struct nft_expr *expr, in nft_queue_init() argument 85 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_init() 111 const struct nft_expr *expr, in nft_queue_sreg_init() argument 114 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_sreg_init() 133 static int nft_queue_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_queue_dump() argument 135 const struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_dump() [all …]
|
D | nft_fib_netdev.c | 23 static void nft_fib_netdev_eval(const struct nft_expr *expr, in nft_fib_netdev_eval() argument 27 const struct nft_fib *priv = nft_expr_priv(expr); in nft_fib_netdev_eval() 34 return nft_fib4_eval(expr, regs, pkt); in nft_fib_netdev_eval() 36 return nft_fib4_eval_type(expr, regs, pkt); in nft_fib_netdev_eval() 43 return nft_fib6_eval(expr, regs, pkt); in nft_fib_netdev_eval() 45 return nft_fib6_eval_type(expr, regs, pkt); in nft_fib_netdev_eval()
|
D | nft_fib_inet.c | 18 static void nft_fib_inet_eval(const struct nft_expr *expr, in nft_fib_inet_eval() argument 22 const struct nft_fib *priv = nft_expr_priv(expr); in nft_fib_inet_eval() 29 return nft_fib4_eval(expr, regs, pkt); in nft_fib_inet_eval() 31 return nft_fib4_eval_type(expr, regs, pkt); in nft_fib_inet_eval() 38 return nft_fib6_eval(expr, regs, pkt); in nft_fib_inet_eval() 40 return nft_fib6_eval_type(expr, regs, pkt); in nft_fib_inet_eval()
|
D | nft_meta.c | 44 void nft_meta_get_eval(const struct nft_expr *expr, in nft_meta_get_eval() argument 48 const struct nft_meta *priv = nft_expr_priv(expr); in nft_meta_get_eval() 257 static void nft_meta_set_eval(const struct nft_expr *expr, in nft_meta_set_eval() argument 261 const struct nft_meta *meta = nft_expr_priv(expr); in nft_meta_set_eval() 299 const struct nft_expr *expr, in nft_meta_get_init() argument 302 struct nft_meta *priv = nft_expr_priv(expr); in nft_meta_get_init() 367 const struct nft_expr *expr, in nft_meta_get_validate() argument 371 const struct nft_meta *priv = nft_expr_priv(expr); in nft_meta_get_validate() 399 const struct nft_expr *expr, in nft_meta_set_validate() argument 402 struct nft_meta *priv = nft_expr_priv(expr); in nft_meta_set_validate() [all …]
|
D | nft_dup_netdev.c | 22 static void nft_dup_netdev_eval(const struct nft_expr *expr, in nft_dup_netdev_eval() argument 26 struct nft_dup_netdev *priv = nft_expr_priv(expr); in nft_dup_netdev_eval() 37 const struct nft_expr *expr, in nft_dup_netdev_init() argument 40 struct nft_dup_netdev *priv = nft_expr_priv(expr); in nft_dup_netdev_init() 51 static int nft_dup_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_dup_netdev_dump() argument 53 struct nft_dup_netdev *priv = nft_expr_priv(expr); in nft_dup_netdev_dump()
|
D | nft_connlimit.c | 173 static void nft_connlimit_eval(const struct nft_expr *expr, in nft_connlimit_eval() argument 177 struct nft_connlimit *priv = nft_expr_priv(expr); in nft_connlimit_eval() 182 static int nft_connlimit_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_connlimit_dump() argument 184 struct nft_connlimit *priv = nft_expr_priv(expr); in nft_connlimit_dump() 190 const struct nft_expr *expr, in nft_connlimit_init() argument 193 struct nft_connlimit *priv = nft_expr_priv(expr); in nft_connlimit_init() 199 const struct nft_expr *expr) in nft_connlimit_destroy() argument 201 struct nft_connlimit *priv = nft_expr_priv(expr); in nft_connlimit_destroy() 219 const struct nft_expr *expr) in nft_connlimit_destroy_clone() argument 221 struct nft_connlimit *priv = nft_expr_priv(expr); in nft_connlimit_destroy_clone() [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/ |
D | os_types.h | 61 #define ASSERT_CRITICAL(expr) do { \ argument 62 if (WARN_ON(!(expr))) { \ 67 #define ASSERT_CRITICAL(expr) do { \ argument 68 if (WARN_ON(!(expr))) { \ 75 #define ASSERT(expr) ASSERT_CRITICAL(expr) argument 78 #define ASSERT(expr) WARN_ON(!(expr)) argument
|
/Linux-v4.19/drivers/pinctrl/aspeed/ |
D | pinctrl-aspeed.c | 151 static int aspeed_sig_expr_eval(const struct aspeed_sig_expr *expr, in aspeed_sig_expr_eval() argument 157 for (i = 0; i < expr->ndescs; i++) { in aspeed_sig_expr_eval() 158 const struct aspeed_sig_desc *desc = &expr->descs[i]; in aspeed_sig_expr_eval() 181 static int aspeed_sig_expr_set(const struct aspeed_sig_expr *expr, in aspeed_sig_expr_set() argument 187 for (i = 0; i < expr->ndescs; i++) { in aspeed_sig_expr_set() 188 const struct aspeed_sig_desc *desc = &expr->descs[i]; in aspeed_sig_expr_set() 244 ret = aspeed_sig_expr_eval(expr, enable, maps); in aspeed_sig_expr_set() 254 static int aspeed_sig_expr_enable(const struct aspeed_sig_expr *expr, in aspeed_sig_expr_enable() argument 259 ret = aspeed_sig_expr_eval(expr, true, maps); in aspeed_sig_expr_enable() 264 return aspeed_sig_expr_set(expr, true, maps); in aspeed_sig_expr_enable() [all …]
|
/Linux-v4.19/include/net/netfilter/ |
D | nft_fib.h | 19 int nft_fib_dump(struct sk_buff *skb, const struct nft_expr *expr); 20 int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr, 22 int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, 26 void nft_fib4_eval_type(const struct nft_expr *expr, struct nft_regs *regs, 28 void nft_fib4_eval(const struct nft_expr *expr, struct nft_regs *regs, 31 void nft_fib6_eval_type(const struct nft_expr *expr, struct nft_regs *regs, 33 void nft_fib6_eval(const struct nft_expr *expr, struct nft_regs *regs,
|
/Linux-v4.19/fs/xfs/ |
D | xfs_linux.h | 224 #define ASSERT_ALWAYS(expr) \ argument 225 (likely(expr) ? (void)0 : assfail(#expr, __FILE__, __LINE__)) 228 #define ASSERT(expr) \ argument 229 (likely(expr) ? (void)0 : assfail(#expr, __FILE__, __LINE__)) 235 #define ASSERT(expr) \ argument 236 (likely(expr) ? (void)0 : asswarn(#expr, __FILE__, __LINE__)) 240 #define ASSERT(expr) ((void)0) argument
|