/linux/tools/debugging/ |
A D | kernel-chktaint | 62 T=`expr $T / 2` 70 T=`expr $T / 2` 78 T=`expr $T / 2` 86 T=`expr $T / 2` 94 T=`expr $T / 2` 102 T=`expr $T / 2` 110 T=`expr $T / 2` 118 T=`expr $T / 2` 126 T=`expr $T / 2` 134 T=`expr $T / 2` [all …]
|
/linux/scripts/kconfig/ |
A D | expr.h | 38 struct expr *expr; member 42 struct expr { struct 55 struct expr *expr; member 290 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); 292 struct expr *expr_alloc_and(struct expr *e1, struct expr *e2); 293 struct expr *expr_alloc_or(struct expr *e1, struct expr *e2); 294 struct expr *expr_copy(const struct expr *org); 297 int expr_eq(struct expr *e1, struct expr *e2); 299 struct expr *expr_trans_bool(struct expr *e); 300 struct expr *expr_eliminate_dups(struct expr *e); [all …]
|
A D | expr.c | 16 static struct expr *expr_eliminate_yn(struct expr *e); 34 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() 52 struct expr *expr_alloc_and(struct expr *e1, struct expr *e2) in expr_alloc_and() 59 struct expr *expr_alloc_or(struct expr *e1, struct expr *e2) in expr_alloc_or() 66 struct expr *expr_copy(const struct expr *org) in expr_copy() 80 e->left.expr = expr_copy(org->left.expr); in expr_copy() 94 e->left.expr = expr_copy(org->left.expr); in expr_copy() 95 e->right.expr = expr_copy(org->right.expr); in expr_copy() 431 static struct expr *expr_join_or(struct expr *e1, struct expr *e2) in expr_join_or() 495 static struct expr *expr_join_and(struct expr *e1, struct expr *e2) in expr_join_and() [all …]
|
A D | menu.c | 83 static struct expr *rewrite_m(struct expr *e) in rewrite_m() 90 e->left.expr = rewrite_m(e->left.expr); in rewrite_m() 94 e->left.expr = rewrite_m(e->left.expr); in rewrite_m() 95 e->right.expr = rewrite_m(e->right.expr); in rewrite_m() 140 prop->expr = expr; in menu_add_prop() 199 void menu_add_visibility(struct expr *expr) in menu_add_visibility() argument 202 expr); in menu_add_visibility() 205 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep) in menu_add_expr() argument 393 es->rev_dep.expr = expr_alloc_or(es->rev_dep.expr, in menu_finalize() 397 es->implied.expr = expr_alloc_or(es->implied.expr, in menu_finalize() [all …]
|
A D | .expr.o.cmd | 1 …expr.o := gcc -Wp,-MMD,scripts/kconfig/.expr.o.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O… 3 source_scripts/kconfig/expr.o := scripts/kconfig/expr.c 5 deps_scripts/kconfig/expr.o := \ 8 scripts/kconfig/expr.h \ 12 scripts/kconfig/expr.o: $(deps_scripts/kconfig/expr.o) 14 $(deps_scripts/kconfig/expr.o):
|
A D | symbol.c | 249 struct expr *e; in sym_choice_default() 521 for (e = prop->expr; e; e = e->left.expr) { in sym_set_tristate_value() 972 struct expr **expr; member 1047 } else if (stack->expr == &sym->dir_dep.expr) { in sym_check_print_recursive() 1052 } else if (stack->expr == &sym->rev_dep.expr) { in sym_check_print_recursive() 1057 } else if (stack->expr == &sym->implied.expr) { in sym_check_print_recursive() 1129 stack.expr = &sym->dir_dep.expr; in sym_check_sym_deps() 1134 stack.expr = &sym->rev_dep.expr; in sym_check_sym_deps() 1139 stack.expr = &sym->implied.expr; in sym_check_sym_deps() 1156 stack.expr = &prop->expr; in sym_check_sym_deps() [all …]
|
A D | parser.y | 40 struct expr *expr; member 94 %type <expr> expr 95 %type <expr> if_expr 305 if_entry: T_IF expr T_EOL 435 | T_IF expr { $$ = $2; } 447 | expr T_OR expr { $$ = expr_alloc_two(E_OR, $1, $3); } 448 | expr T_AND expr { $$ = expr_alloc_two(E_AND, $1, $3); } 624 expr_fprint(prop->expr, out); in print_symbol() 636 expr_fprint(prop->expr, out); in print_symbol() 641 expr_fprint(prop->expr, out); in print_symbol() [all …]
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_gem.h | 55 #define GEM_WARN_ON(expr) WARN_ON(expr) argument 58 #define GEM_DEBUG_EXEC(expr) expr argument 59 #define GEM_DEBUG_BUG_ON(expr) GEM_BUG_ON(expr) argument 60 #define GEM_DEBUG_WARN_ON(expr) GEM_WARN_ON(expr) argument 66 #define GEM_BUG_ON(expr) BUILD_BUG_ON_INVALID(expr) argument 67 #define GEM_WARN_ON(expr) ({ unlikely(!!(expr)); }) argument 70 #define GEM_DEBUG_EXEC(expr) do { } while (0) argument 71 #define GEM_DEBUG_BUG_ON(expr) argument 72 #define GEM_DEBUG_WARN_ON(expr) ({ BUILD_BUG_ON_INVALID(expr); 0; }) argument 83 #define GEM_TRACE_DUMP_ON(expr) \ argument [all …]
|
/linux/tools/perf/util/ |
A D | expr.y | 159 if_expr: expr IF expr ELSE expr 198 | expr 211 | expr '<' expr { BINARY_OP($$, <, $1, $3); } 212 | expr '>' expr { BINARY_OP($$, >, $1, $3); } 213 | expr '+' expr { BINARY_OP($$, +, $1, $3); } 214 | expr '-' expr { BINARY_OP($$, -, $1, $3); } 216 | expr '/' expr 231 | expr '%' expr 246 | D_RATIO '(' expr ',' expr ')' 276 | MIN '(' expr ',' expr ')' [all …]
|
/linux/net/netfilter/ |
A D | nft_objref.c | 14 #define nft_objref_priv(expr) *((struct nft_object **)nft_expr_priv(expr)) argument 20 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_eval() 26 const struct nft_expr *expr, in nft_objref_init() argument 29 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_init() 44 nft_objref_priv(expr) = obj; in nft_objref_init() 66 const struct nft_expr *expr, in nft_objref_deactivate() argument 78 const struct nft_expr *expr) in nft_objref_activate() argument 126 const struct nft_expr *expr, in nft_objref_map_init() argument 173 const struct nft_expr *expr, in nft_objref_map_deactivate() argument 182 const struct nft_expr *expr) in nft_objref_map_activate() argument [all …]
|
A D | nft_compat.c | 77 void *info = nft_expr_priv(expr); in nft_target_eval_xt() 104 void *info = nft_expr_priv(expr); in nft_target_eval_bridge() 239 void *info = nft_expr_priv(expr); in nft_target_init() 288 kfree(expr->ops); in __nft_mt_tg_destroy() 295 void *info = nft_expr_priv(expr); in nft_target_destroy() 306 __nft_mt_tg_destroy(me, expr); in nft_target_destroy() 410 __nft_match_eval(expr, regs, pkt, nft_expr_priv(expr)); in nft_match_eval() 504 return __nft_match_init(ctx, expr, tb, nft_expr_priv(expr)); in nft_match_init() 540 __nft_mt_tg_destroy(me, expr); in __nft_match_destroy() 546 __nft_match_destroy(ctx, expr, nft_expr_priv(expr)); in nft_match_destroy() [all …]
|
A D | nft_dynset.c | 22 bool expr; member 33 struct nft_expr *expr; in nft_dynset_expr_setup() local 94 expr, regs, &ext)) { in nft_dynset_eval() 128 struct nft_expr *expr; in nft_dynset_expr_alloc() local 132 if (IS_ERR(expr)) in nft_dynset_expr_alloc() 133 return expr; in nft_dynset_expr_alloc() 140 return expr; in nft_dynset_expr_alloc() 143 nft_expr_destroy(ctx, expr); in nft_dynset_expr_alloc() 185 priv->expr = true; in nft_dynset_init() 258 if (!priv->expr) in nft_dynset_init() [all …]
|
A D | nft_immediate.c | 18 void nft_immediate_eval(const struct nft_expr *expr, in nft_immediate_eval() argument 22 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_eval() 33 const struct nft_expr *expr, in nft_immediate_init() argument 36 struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_init() 82 const struct nft_expr *expr) in nft_immediate_activate() argument 84 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_activate() 90 const struct nft_expr *expr, in nft_immediate_deactivate() argument 93 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_deactivate() 102 const struct nft_expr *expr) in nft_immediate_destroy() argument 149 const struct nft_expr *expr, in nft_immediate_validate() argument [all …]
|
A D | nf_tables_core.c | 140 return fun(expr, regs, pkt); } while (0) in expr_call_ops_eval() 154 expr->ops->eval(expr, regs, pkt); in expr_call_ops_eval() 164 const struct nft_expr *expr, *last; in nft_do_chain() local 185 nft_rule_for_each_expr(expr, last, rule) { in nft_do_chain() 186 if (expr->ops == &nft_cmp_fast_ops) in nft_do_chain() 187 nft_cmp_fast_eval(expr, ®s); in nft_do_chain() 188 else if (expr->ops == &nft_bitwise_fast_ops) in nft_do_chain() 189 nft_bitwise_fast_eval(expr, ®s); in nft_do_chain() 190 else if (expr->ops != &nft_payload_fast_ops || in nft_do_chain() 191 !nft_payload_fast_eval(expr, ®s, pkt)) in nft_do_chain() [all …]
|
A D | nft_fwd_netdev.c | 24 static void nft_fwd_netdev_eval(const struct nft_expr *expr, in nft_fwd_netdev_eval() argument 28 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_eval() 45 const struct nft_expr *expr, in nft_fwd_netdev_init() argument 48 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_init() 59 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_dump() 72 const struct nft_expr *expr) in nft_fwd_netdev_offload() argument 90 struct nft_fwd_neigh *priv = nft_expr_priv(expr); in nft_fwd_neigh_eval() 148 const struct nft_expr *expr, in nft_fwd_neigh_init() argument 151 struct nft_fwd_neigh *priv = nft_expr_priv(expr); in nft_fwd_neigh_init() 184 struct nft_fwd_neigh *priv = nft_expr_priv(expr); in nft_fwd_neigh_dump() [all …]
|
A D | nft_masq.c | 29 const struct nft_expr *expr, in nft_masq_validate() argument 43 const struct nft_expr *expr, in nft_masq_init() argument 47 struct nft_masq *priv = nft_expr_priv(expr); in nft_masq_init() 78 const struct nft_masq *priv = nft_expr_priv(expr); in nft_masq_dump() 98 static void nft_masq_ipv4_eval(const struct nft_expr *expr, in nft_masq_ipv4_eval() argument 102 struct nft_masq *priv = nft_expr_priv(expr); in nft_masq_ipv4_eval() 144 static void nft_masq_ipv6_eval(const struct nft_expr *expr, in nft_masq_ipv6_eval() argument 148 struct nft_masq *priv = nft_expr_priv(expr); in nft_masq_ipv6_eval() 204 static void nft_masq_inet_eval(const struct nft_expr *expr, in nft_masq_inet_eval() argument 210 return nft_masq_ipv4_eval(expr, regs, pkt); in nft_masq_inet_eval() [all …]
|
A D | nft_redir.c | 29 const struct nft_expr *expr, in nft_redir_validate() argument 44 const struct nft_expr *expr, in nft_redir_init() argument 47 struct nft_redir *priv = nft_expr_priv(expr); in nft_redir_init() 80 const struct nft_redir *priv = nft_expr_priv(expr); in nft_redir_dump() 101 static void nft_redir_ipv4_eval(const struct nft_expr *expr, in nft_redir_ipv4_eval() argument 105 struct nft_redir *priv = nft_expr_priv(expr); in nft_redir_ipv4_eval() 149 static void nft_redir_ipv6_eval(const struct nft_expr *expr, in nft_redir_ipv6_eval() argument 153 struct nft_redir *priv = nft_expr_priv(expr); in nft_redir_ipv6_eval() 199 static void nft_redir_inet_eval(const struct nft_expr *expr, in nft_redir_inet_eval() argument 205 return nft_redir_ipv4_eval(expr, regs, pkt); in nft_redir_inet_eval() [all …]
|
A D | nft_queue.c | 28 static void nft_queue_eval(const struct nft_expr *expr, in nft_queue_eval() argument 32 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_eval() 55 static void nft_queue_sreg_eval(const struct nft_expr *expr, in nft_queue_sreg_eval() argument 59 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_sreg_eval() 79 const struct nft_expr *expr, in nft_queue_init() argument 82 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_init() 108 const struct nft_expr *expr, in nft_queue_sreg_init() argument 111 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_sreg_init() 132 const struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_dump() 146 nft_queue_sreg_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_queue_sreg_dump() argument [all …]
|
A D | nft_dup_netdev.c | 20 static void nft_dup_netdev_eval(const struct nft_expr *expr, in nft_dup_netdev_eval() argument 24 struct nft_dup_netdev *priv = nft_expr_priv(expr); in nft_dup_netdev_eval() 35 const struct nft_expr *expr, in nft_dup_netdev_init() argument 38 struct nft_dup_netdev *priv = nft_expr_priv(expr); in nft_dup_netdev_init() 47 static int nft_dup_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_dup_netdev_dump() argument 49 struct nft_dup_netdev *priv = nft_expr_priv(expr); in nft_dup_netdev_dump() 62 const struct nft_expr *expr) in nft_dup_netdev_offload() argument 64 const struct nft_dup_netdev *priv = nft_expr_priv(expr); in nft_dup_netdev_offload()
|
A D | nft_numgen.c | 37 static void nft_ng_inc_eval(const struct nft_expr *expr, in nft_ng_inc_eval() argument 41 struct nft_ng_inc *priv = nft_expr_priv(expr); in nft_ng_inc_eval() 54 const struct nft_expr *expr, in nft_ng_inc_init() argument 57 struct nft_ng_inc *priv = nft_expr_priv(expr); in nft_ng_inc_init() 93 static int nft_ng_inc_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_ng_inc_dump() argument 95 const struct nft_ng_inc *priv = nft_expr_priv(expr); in nft_ng_inc_dump() 115 static void nft_ng_random_eval(const struct nft_expr *expr, in nft_ng_random_eval() argument 119 struct nft_ng_random *priv = nft_expr_priv(expr); in nft_ng_random_eval() 125 const struct nft_expr *expr, in nft_ng_random_init() argument 128 struct nft_ng_random *priv = nft_expr_priv(expr); in nft_ng_random_init() [all …]
|
/linux/drivers/pinctrl/aspeed/ |
A D | pinctrl-aspeed.c | 80 expr->function); in aspeed_sig_expr_enable() 98 expr->function); in aspeed_sig_expr_disable() 169 while ((expr = *funcs)) { in get_defined_attribute() 204 return expr->function; in aspeed_sig_expr_function() 214 return expr->signal; in aspeed_sig_expr_signal() 253 if (expr) in aspeed_pinmux_set_mux() 263 if (!expr) { in aspeed_pinmux_set_mux() 281 expr->function); in aspeed_pinmux_set_mux() 359 !strcmp(expr->signal, expr->function); in aspeed_expr_is_gpio() 417 expr = *funcs; in aspeed_gpio_request_enable() [all …]
|
/linux/include/net/netfilter/ |
A D | nft_meta.h | 18 const struct nft_expr *expr, 22 const struct nft_expr *expr, 26 const struct nft_expr *expr); 29 const struct nft_expr *expr); 31 void nft_meta_get_eval(const struct nft_expr *expr, 35 void nft_meta_set_eval(const struct nft_expr *expr, 40 const struct nft_expr *expr); 43 const struct nft_expr *expr,
|
A D | nft_fib.h | 21 int nft_fib_dump(struct sk_buff *skb, const struct nft_expr *expr); 22 int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr, 24 int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, 28 void nft_fib4_eval_type(const struct nft_expr *expr, struct nft_regs *regs, 30 void nft_fib4_eval(const struct nft_expr *expr, struct nft_regs *regs, 33 void nft_fib6_eval_type(const struct nft_expr *expr, struct nft_regs *regs, 35 void nft_fib6_eval(const struct nft_expr *expr, struct nft_regs *regs,
|
/linux/fs/xfs/ |
A D | xfs_linux.h | 202 #define ASSERT_ALWAYS(expr) \ argument 203 (likely(expr) ? (void)0 : assfail(NULL, #expr, __FILE__, __LINE__)) 206 #define ASSERT(expr) \ argument 207 (likely(expr) ? (void)0 : assfail(NULL, #expr, __FILE__, __LINE__)) 213 #define ASSERT(expr) \ argument 214 (likely(expr) ? (void)0 : asswarn(NULL, #expr, __FILE__, __LINE__)) 218 #define ASSERT(expr) ((void)0) argument 223 #define XFS_IS_CORRUPT(mp, expr) \ argument 224 (unlikely(expr) ? xfs_corruption_error(#expr, XFS_ERRLEVEL_LOW, (mp), \
|
/linux/security/selinux/ss/ |
A D | conditional.c | 30 if (expr->len == 0) in cond_evaluate_expr() 142 kfree(node->expr.nodes); in cond_node_destroy() 362 if (expr->expr_type <= 0 || expr->expr_type > COND_LAST) { in expr_node_isvalid() 388 node->expr.nodes = kcalloc(len, sizeof(*node->expr.nodes), GFP_KERNEL); in cond_read_node() 389 if (!node->expr.nodes) in cond_read_node() 392 node->expr.len = len; in cond_read_node() 395 struct cond_expr_node *expr = &node->expr.nodes[i]; in cond_read_node() local 653 newn->expr.nodes = kmemdup(orign->expr.nodes, in duplicate_policydb_cond_list() 654 orign->expr.len * sizeof(*orign->expr.nodes), in duplicate_policydb_cond_list() 656 if (!newn->expr.nodes) in duplicate_policydb_cond_list() [all …]
|