| /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 | 32 struct expr * const expr; member 47 struct expr { struct 60 struct expr *expr; member 253 struct expr *dep; 288 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); 290 struct expr *expr_alloc_and(struct expr *e1, struct expr *e2); 291 struct expr *expr_alloc_or(struct expr *e1, struct expr *e2); 292 void expr_eliminate_eq(struct expr **ep1, struct expr **ep2); 293 bool expr_eq(struct expr *e1, struct expr *e2); 295 struct expr *expr_eliminate_dups(struct expr *e); [all …]
|
| A D | expr.c | 21 static struct expr *expr_eliminate_yn(struct expr *e); 67 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() 77 struct expr *expr_alloc_and(struct expr *e1, struct expr *e2) in expr_alloc_and() 84 struct expr *expr_alloc_or(struct expr *e1, struct expr *e2) in expr_alloc_or() 207 bool expr_eq(struct expr *e1, struct expr *e2) in expr_eq() 232 return expr_eq(e1->left.expr, e2->left.expr); in expr_eq() 313 static struct expr *expr_join_or(struct expr *e1, struct expr *e2) in expr_join_or() 378 static struct expr *expr_join_and(struct expr *e1, struct expr *e2) in expr_join_and() 537 struct expr *expr_eliminate_dups(struct expr *e) in expr_eliminate_dups() 593 struct expr *expr_transform(struct expr *e) in expr_transform() [all …]
|
| A D | menu.c | 103 static struct expr *rewrite_m(struct expr *e) in rewrite_m() 161 prop->expr = expr; in menu_add_prop() 179 struct expr *dep) in menu_add_prompt() 199 prop->visible.expr = expr_alloc_and(prop->visible.expr, in menu_add_prompt() 210 void menu_add_visibility(struct expr *expr) in menu_add_visibility() argument 213 expr); in menu_add_visibility() 216 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep) in menu_add_expr() argument 370 es->rev_dep.expr = expr_alloc_or(es->rev_dep.expr, in _menu_finalize() 374 es->implied.expr = expr_alloc_or(es->implied.expr, in _menu_finalize() 453 sym->dir_dep.expr = expr_alloc_or(sym->dir_dep.expr, parent->dep); in _menu_finalize() [all …]
|
| /linux/tools/testing/selftests/nolibc/ |
| A D | nolibc-test.c | 305 if (expr) { in expect_syszr() 325 if (expr != val) { in expect_syseq() 345 if (expr == val) { in expect_sysne() 393 if (expr) { in expect_ptrzr() 412 if (!expr) { in expect_ptrnz() 430 if (expr != cmp) { in expect_ptreq() 448 if (expr == cmp) { in expect_ptrne() 545 llen += printf(" = <%s> ", expr ? expr : "(null)"); in expect_strzr() 546 if (expr) { in expect_strzr() 564 llen += printf(" = <%s> ", expr ? expr : "(null)"); in expect_strnz() [all …]
|
| /linux/tools/perf/util/ |
| A D | expr.y | 157 if_expr: expr IF expr ELSE if_expr 196 | expr 218 | expr '|' expr 247 | expr '&' expr 276 | expr '^' expr 287 | expr '<' expr { BINARY_OP($$, <, $1, $3); } 292 | expr '/' expr 311 | expr '%' expr 326 | D_RATIO '(' expr ',' expr ')' 356 | MIN '(' expr ',' expr ')' [all …]
|
| A D | bpf-filter.y | 22 static void perf_bpf_filter_error(struct list_head *expr __maybe_unused, 39 struct perf_bpf_filter_expr *expr; 43 %type <expr> filter_term filter_expr 44 %destructor { free ($$); } <expr> 66 struct perf_bpf_filter_expr *expr; 69 expr = $1; 71 expr = perf_bpf_filter_expr__new(PBF_TERM_NONE, /*part=*/0, 73 list_add_tail(&$1->list, &expr->groups); 75 expr->val++; 76 list_add_tail(&$3->list, &expr->groups); [all …]
|
| A D | bpf-filter.c | 123 if (expr->term >= PBF_TERM_SAMPLE_START && expr->term <= PBF_TERM_SAMPLE_END && in check_sample_flags() 127 if (expr->term == PBF_TERM_UID || expr->term == PBF_TERM_GID) { in check_sample_flags() 167 entry[i].op = expr->op; in get_filter_entries() 558 free(expr); in perf_bpf_filter__destroy() 610 expr = malloc(sizeof(*expr)); in perf_bpf_filter_expr__new() 611 if (expr != NULL) { in perf_bpf_filter_expr__new() 612 expr->term = term; in perf_bpf_filter_expr__new() 613 expr->part = part; in perf_bpf_filter_expr__new() 614 expr->op = op; in perf_bpf_filter_expr__new() 615 expr->val = val; in perf_bpf_filter_expr__new() [all …]
|
| /linux/net/netfilter/ |
| A D | nft_objref.c | 14 #define nft_objref_priv(expr) *((struct nft_object **)nft_expr_priv(expr)) argument 16 void nft_objref_eval(const struct nft_expr *expr, in nft_objref_eval() 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 47 nft_objref_priv(expr) = obj; in nft_objref_init() 69 const struct nft_expr *expr, in nft_objref_deactivate() argument 81 const struct nft_expr *expr) in nft_objref_activate() argument 129 const struct nft_expr *expr, in nft_objref_map_init() argument 177 const struct nft_expr *expr, in nft_objref_map_deactivate() argument 186 const struct nft_expr *expr) in nft_objref_map_activate() argument [all …]
|
| A D | nf_tables_core.c | 216 e = (unsigned long)expr->ops->eval; in expr_call_ops_eval() 240 expr->ops->eval(expr, regs, pkt); in expr_call_ops_eval() 244 #define nft_rule_expr_next(expr) ((void *)expr) + expr->ops->size argument 249 (expr) != (last); \ 250 (expr) = nft_rule_expr_next(expr)) 257 const struct nft_expr *expr, *last; in nft_do_chain() local 280 if (expr->ops == &nft_cmp_fast_ops) in nft_do_chain() 281 nft_cmp_fast_eval(expr, ®s); in nft_do_chain() 283 nft_cmp16_fast_eval(expr, ®s); in nft_do_chain() 285 nft_bitwise_fast_eval(expr, ®s); in nft_do_chain() [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() 246 void *info = nft_expr_priv(expr); in nft_target_init() 295 kfree(expr->ops); in __nft_mt_tg_destroy() 302 void *info = nft_expr_priv(expr); in nft_target_destroy() 313 __nft_mt_tg_destroy(me, expr); in nft_target_destroy() 433 __nft_match_eval(expr, regs, pkt, nft_expr_priv(expr)); in nft_match_eval() 527 return __nft_match_init(ctx, expr, tb, nft_expr_priv(expr)); in nft_match_init() 563 __nft_mt_tg_destroy(me, expr); in __nft_match_destroy() 569 __nft_match_destroy(ctx, expr, nft_expr_priv(expr)); in nft_match_destroy() [all …]
|
| A D | nft_numgen.c | 40 struct nft_ng_inc *priv = nft_expr_priv(expr); in nft_ng_inc_eval() 53 const struct nft_expr *expr, in nft_ng_inc_init() argument 56 struct nft_ng_inc *priv = nft_expr_priv(expr); in nft_ng_inc_init() 88 const struct nft_expr *expr) in nft_ng_inc_reduce() argument 116 const struct nft_expr *expr, bool reset) in nft_ng_inc_dump() argument 125 const struct nft_expr *expr) in nft_ng_inc_destroy() argument 147 struct nft_ng_random *priv = nft_expr_priv(expr); in nft_ng_random_eval() 153 const struct nft_expr *expr, in nft_ng_random_init() argument 156 struct nft_ng_random *priv = nft_expr_priv(expr); in nft_ng_random_init() 173 const struct nft_expr *expr, bool reset) in nft_ng_random_dump() argument [all …]
|
| A D | nft_dynset.c | 22 bool expr; member 33 struct nft_expr *expr; in nft_dynset_expr_setup() local 95 expr, regs, &ext)) { in nft_dynset_eval() 130 struct nft_expr *expr; in nft_dynset_expr_alloc() local 134 if (IS_ERR(expr)) in nft_dynset_expr_alloc() 135 return expr; in nft_dynset_expr_alloc() 142 return expr; in nft_dynset_expr_alloc() 145 nft_expr_destroy(ctx, expr); in nft_dynset_expr_alloc() 187 priv->expr = true; in nft_dynset_init() 263 if (!priv->expr) in nft_dynset_init() [all …]
|
| A D | nft_hash.c | 30 struct nft_jhash *priv = nft_expr_priv(expr); in nft_jhash_eval() 50 struct nft_symhash *priv = nft_expr_priv(expr); in nft_symhash_eval() 71 const struct nft_expr *expr, in nft_jhash_init() argument 74 struct nft_jhash *priv = nft_expr_priv(expr); in nft_jhash_init() 118 const struct nft_expr *expr, in nft_symhash_init() argument 121 struct nft_symhash *priv = nft_expr_priv(expr); in nft_symhash_init() 143 const struct nft_expr *expr, bool reset) in nft_jhash_dump() argument 170 const struct nft_expr *expr) in nft_jhash_reduce() argument 180 const struct nft_expr *expr, bool reset) in nft_symhash_dump() argument 200 const struct nft_expr *expr) in nft_symhash_reduce() argument [all …]
|
| A D | nft_fwd_netdev.c | 28 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_eval() 47 const struct nft_expr *expr, in nft_fwd_netdev_init() argument 50 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_init() 60 const struct nft_expr *expr, bool reset) in nft_fwd_netdev_dump() argument 62 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_dump() 75 const struct nft_expr *expr) in nft_fwd_netdev_offload() argument 98 struct nft_fwd_neigh *priv = nft_expr_priv(expr); in nft_fwd_neigh_eval() 156 const struct nft_expr *expr, in nft_fwd_neigh_init() argument 159 struct nft_fwd_neigh *priv = nft_expr_priv(expr); in nft_fwd_neigh_init() 191 const struct nft_expr *expr, bool reset) in nft_fwd_neigh_dump() argument [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() 47 const struct nft_expr *expr, in nft_immediate_init() argument 50 struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_init() 96 const struct nft_expr *expr) in nft_immediate_activate() argument 143 const struct nft_expr *expr, in nft_immediate_deactivate() argument 187 const struct nft_expr *expr) in nft_immediate_destroy() argument 232 const struct nft_expr *expr, bool reset) in nft_immediate_dump() argument 247 const struct nft_expr *expr) in nft_immediate_validate() argument 301 const struct nft_expr *expr) in nft_immediate_offload() 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() 48 const struct nft_expr *expr, bool reset) in nft_dup_netdev_dump() argument 50 struct nft_dup_netdev *priv = nft_expr_priv(expr); in nft_dup_netdev_dump() 63 const struct nft_expr *expr) in nft_dup_netdev_offload() argument 65 const struct nft_dup_netdev *priv = nft_expr_priv(expr); in nft_dup_netdev_offload() 71 static bool nft_dup_netdev_offload_action(const struct nft_expr *expr) in nft_dup_netdev_offload_action() argument
|
| /linux/drivers/gpu/drm/i915/ |
| A D | i915_gem.h | 104 #define GEM_WARN_ON(expr) WARN_ON(expr) argument 106 #define GEM_DEBUG_WARN_ON(expr) GEM_WARN_ON(expr) argument 112 #define GEM_BUG_ON(expr) BUILD_BUG_ON_INVALID(expr) argument 113 #define GEM_WARN_ON(expr) ({ unlikely(!!(expr)); }) argument 115 #define GEM_DEBUG_WARN_ON(expr) ({ BUILD_BUG_ON_INVALID(expr); 0; }) argument 126 #define GEM_TRACE_DUMP_ON(expr) \ argument 127 do { if (expr) GEM_TRACE_DUMP(); } while (0) 132 #define GEM_TRACE_DUMP_ON(expr) BUILD_BUG_ON_INVALID(expr) argument
|
| /linux/include/net/netfilter/ |
| A D | nft_meta.h | 19 const struct nft_expr *expr, 23 const struct nft_expr *expr, 27 const struct nft_expr *expr, bool reset); 30 const struct nft_expr *expr, bool reset); 32 void nft_meta_get_eval(const struct nft_expr *expr, 36 void nft_meta_set_eval(const struct nft_expr *expr, 41 const struct nft_expr *expr); 44 const struct nft_expr *expr); 47 const struct nft_expr *expr); 50 void nft_meta_inner_eval(const struct nft_expr *expr,
|
| A D | nft_fib.h | 21 int nft_fib_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset); 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); 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, 40 const struct nft_expr *expr);
|
| A D | nf_tables_core.h | 131 void nft_meta_get_eval(const struct nft_expr *expr, 133 void nft_cmp_eval(const struct nft_expr *expr, 135 void nft_lookup_eval(const struct nft_expr *expr, 137 void nft_payload_eval(const struct nft_expr *expr, 139 void nft_immediate_eval(const struct nft_expr *expr, 141 void nft_bitwise_eval(const struct nft_expr *expr, 143 void nft_range_eval(const struct nft_expr *expr, 145 void nft_byteorder_eval(const struct nft_expr *expr, 147 void nft_dynset_eval(const struct nft_expr *expr, 149 void nft_rt_get_eval(const struct nft_expr *expr, [all …]
|
| /linux/drivers/pinctrl/aspeed/ |
| A D | pinctrl-aspeed.c | 81 expr->function); in aspeed_sig_expr_enable() 99 expr->function); in aspeed_sig_expr_disable() 170 while ((expr = *funcs)) { in get_defined_attribute() 205 return expr->function; in aspeed_sig_expr_function() 215 return expr->signal; in aspeed_sig_expr_signal() 254 if (expr) in aspeed_pinmux_set_mux() 264 if (!expr) { in aspeed_pinmux_set_mux() 282 expr->function); in aspeed_pinmux_set_mux() 360 !strcmp(expr->signal, expr->function); in aspeed_expr_is_gpio() 418 expr = *funcs; in aspeed_gpio_request_enable() [all …]
|
| /linux/net/bridge/netfilter/ |
| A D | nft_meta_bridge.c | 63 return nft_meta_get_eval(expr, regs, pkt); in nft_meta_bridge_get_eval() 73 const struct nft_expr *expr, in nft_meta_bridge_get_init() argument 76 struct nft_meta *priv = nft_expr_priv(expr); in nft_meta_bridge_get_init() 90 return nft_meta_get_init(ctx, expr, tb); in nft_meta_bridge_get_init() 123 nft_meta_set_eval(expr, regs, pkt); in nft_meta_bridge_set_eval() 128 const struct nft_expr *expr, in nft_meta_bridge_set_init() argument 131 struct nft_meta *priv = nft_expr_priv(expr); in nft_meta_bridge_set_init() 141 return nft_meta_set_init(ctx, expr, tb); in nft_meta_bridge_set_init() 153 const struct nft_expr *expr) in nft_meta_bridge_set_reduce() argument 171 const struct nft_expr *expr) in nft_meta_bridge_set_validate() argument [all …]
|
| /linux/drivers/md/dm-vdo/ |
| A D | permassert.h | 31 #define VDO_ASSERT(expr, ...) vdo_must_use(__VDO_ASSERT(expr, __VA_ARGS__)) argument 34 #define VDO_ASSERT_LOG_ONLY(expr, ...) __VDO_ASSERT(expr, __VA_ARGS__) argument 36 #define __VDO_ASSERT(expr, ...) \ argument 37 (likely(expr) ? VDO_SUCCESS \ 38 : vdo_assertion_failed(STRINGIFY(expr), __FILE__, __LINE__, __VA_ARGS__))
|
| /linux/fs/xfs/ |
| A D | xfs_linux.h | 219 #define ASSERT_ALWAYS(expr) \ argument 220 (likely(expr) ? (void)0 : assfail(NULL, #expr, __FILE__, __LINE__)) 223 #define ASSERT(expr) \ argument 224 (likely(expr) ? (void)0 : assfail(NULL, #expr, __FILE__, __LINE__)) 230 #define ASSERT(expr) \ argument 231 (likely(expr) ? (void)0 : asswarn(NULL, #expr, __FILE__, __LINE__)) 235 #define ASSERT(expr) ((void)0) argument 240 #define XFS_IS_CORRUPT(mp, expr) \ argument 241 (unlikely(expr) ? xfs_corruption_error(#expr, XFS_ERRLEVEL_LOW, (mp), \
|