/linux-6.6.21/tools/debugging/ |
D | kernel-chktaint | 55 if [ `expr $T % 2` -eq 0 ]; then 62 T=`expr $T / 2` 63 if [ `expr $T % 2` -eq 0 ]; then 70 T=`expr $T / 2` 71 if [ `expr $T % 2` -eq 0 ]; then 78 T=`expr $T / 2` 79 if [ `expr $T % 2` -eq 0 ]; then 86 T=`expr $T / 2` 87 if [ `expr $T % 2` -eq 0 ]; then 94 T=`expr $T / 2` [all …]
|
/linux-6.6.21/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 194 struct expr *expr; /* the optional conditional part of the property */ member 244 struct expr *visibility; 250 struct expr *dep; 287 struct expr *expr_alloc_symbol(struct symbol *sym); 288 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce); 289 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); [all …]
|
D | expr.c | 16 static struct expr *expr_eliminate_yn(struct expr *e); 18 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol() 20 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_symbol() 26 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one() 28 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_one() 30 e->left.expr = ce; in expr_alloc_one() 34 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() 36 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_two() 38 e->left.expr = e1; in expr_alloc_two() 39 e->right.expr = e2; in expr_alloc_two() [all …]
|
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() 108 void menu_add_dep(struct expr *dep) in menu_add_dep() 129 static struct property *menu_add_prop(enum prop_type type, struct expr *expr, in menu_add_prop() argument 130 struct expr *dep) in menu_add_prop() 140 prop->expr = expr; in menu_add_prop() 141 prop->visible.expr = dep; in menu_add_prop() 158 struct expr *dep) in menu_add_prompt() [all …]
|
D | symbol.c | 87 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop() 99 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop() 143 range_sym = prop->expr->left.sym; in sym_validate_range() 146 range_sym = prop->expr->right.sym; in sym_validate_range() 187 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_visibility() 209 if (sym->dir_dep.expr) in sym_calc_visibility() 210 tri = expr_calc_value(sym->dir_dep.expr); in sym_calc_visibility() 218 if (sym->rev_dep.expr) in sym_calc_visibility() 219 tri = expr_calc_value(sym->rev_dep.expr); in sym_calc_visibility() 227 if (sym->implied.expr) in sym_calc_visibility() [all …]
|
/linux-6.6.21/tools/perf/util/ |
D | bpf-filter.c | 58 static int check_sample_flags(struct evsel *evsel, struct perf_bpf_filter_expr *expr) in check_sample_flags() argument 62 if (evsel->core.attr.sample_type & expr->sample_flags) in check_sample_flags() 65 if (expr->op == PBF_OP_GROUP_BEGIN) { in check_sample_flags() 68 list_for_each_entry(group, &expr->groups, list) { in check_sample_flags() 75 info = get_sample_info(expr->sample_flags); in check_sample_flags() 78 evsel__name(evsel), expr->sample_flags); in check_sample_flags() 94 struct perf_bpf_filter_expr *expr; in perf_bpf_filter__prepare() local 104 list_for_each_entry(expr, &evsel->bpf_filters, list) { in perf_bpf_filter__prepare() 106 .op = expr->op, in perf_bpf_filter__prepare() 107 .part = expr->part, in perf_bpf_filter__prepare() [all …]
|
D | expr.y | 54 %type <ids> expr if_expr 155 if_expr: expr IF expr ELSE if_expr 194 | expr 197 expr: NUMBER 216 | expr '|' expr 245 | expr '&' expr 274 | expr '^' expr 285 | expr '<' expr { BINARY_OP($$, <, $1, $3); } 286 | expr '>' expr { BINARY_OP($$, >, $1, $3); } 287 | expr '+' expr { BINARY_OP($$, +, $1, $3); } [all …]
|
D | bpf-filter.y | 14 static void perf_bpf_filter_error(struct list_head *expr __maybe_unused, 30 struct perf_bpf_filter_expr *expr; 34 %type <expr> filter_term filter_expr 35 %destructor { free ($$); } <expr> 56 struct perf_bpf_filter_expr *expr; 59 expr = $1; 61 expr = perf_bpf_filter_expr__new(0, 0, PBF_OP_GROUP_BEGIN, 1); 62 list_add_tail(&$1->list, &expr->groups); 64 expr->val++; 65 list_add_tail(&$3->list, &expr->groups); [all …]
|
/linux-6.6.21/tools/testing/selftests/nolibc/ |
D | nolibc-test.c | 165 #define EXPECT_ZR(cond, expr) \ argument 166 do { if (!(cond)) result(llen, SKIPPED); else ret += expect_zr(expr, llen); } while (0) 169 int expect_zr(int expr, int llen) in expect_zr() argument 171 int ret = !(expr == 0); in expect_zr() 173 llen += printf(" = %d ", expr); in expect_zr() 179 #define EXPECT_NZ(cond, expr, val) \ argument 180 do { if (!(cond)) result(llen, SKIPPED); else ret += expect_nz(expr, llen; } while (0) 183 int expect_nz(int expr, int llen) in expect_nz() argument 185 int ret = !(expr != 0); in expect_nz() 187 llen += printf(" = %d ", expr); in expect_nz() [all …]
|
/linux-6.6.21/net/netfilter/ |
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 29 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_init() 47 nft_objref_priv(expr) = obj; in nft_objref_init() 53 const struct nft_expr *expr, bool reset) in nft_objref_dump() argument 55 const struct nft_object *obj = nft_objref_priv(expr); in nft_objref_dump() 69 const struct nft_expr *expr, in nft_objref_deactivate() argument 72 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_deactivate() [all …]
|
D | nf_tables_core.c | 77 static void nft_bitwise_fast_eval(const struct nft_expr *expr, in nft_bitwise_fast_eval() argument 80 const struct nft_bitwise_fast_expr *priv = nft_expr_priv(expr); in nft_bitwise_fast_eval() 87 static void nft_cmp_fast_eval(const struct nft_expr *expr, in nft_cmp_fast_eval() argument 90 const struct nft_cmp_fast_expr *priv = nft_expr_priv(expr); in nft_cmp_fast_eval() 97 static void nft_cmp16_fast_eval(const struct nft_expr *expr, in nft_cmp16_fast_eval() argument 100 const struct nft_cmp16_fast_expr *priv = nft_expr_priv(expr); in nft_cmp16_fast_eval() 147 static bool nft_payload_fast_eval(const struct nft_expr *expr, in nft_payload_fast_eval() argument 151 const struct nft_payload *priv = nft_expr_priv(expr); in nft_payload_fast_eval() 206 static void expr_call_ops_eval(const struct nft_expr *expr, in expr_call_ops_eval() argument 216 e = (unsigned long)expr->ops->eval; in expr_call_ops_eval() [all …]
|
D | nft_compat.c | 73 static void nft_target_eval_xt(const struct nft_expr *expr, in nft_target_eval_xt() argument 77 void *info = nft_expr_priv(expr); in nft_target_eval_xt() 78 struct xt_target *target = expr->ops->data; in nft_target_eval_xt() 100 static void nft_target_eval_bridge(const struct nft_expr *expr, in nft_target_eval_bridge() argument 104 void *info = nft_expr_priv(expr); in nft_target_eval_bridge() 105 struct xt_target *target = expr->ops->data; in nft_target_eval_bridge() 243 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_target_init() argument 246 void *info = nft_expr_priv(expr); in nft_target_init() 247 struct xt_target *target = expr->ops->data; in nft_target_init() 292 static void __nft_mt_tg_destroy(struct module *me, const struct nft_expr *expr) in __nft_mt_tg_destroy() argument [all …]
|
D | nft_numgen.c | 36 static void nft_ng_inc_eval(const struct nft_expr *expr, in nft_ng_inc_eval() argument 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 90 const struct nft_ng_inc *priv = nft_expr_priv(expr); in nft_ng_inc_reduce() 116 const struct nft_expr *expr, bool reset) in nft_ng_inc_dump() argument 118 const struct nft_ng_inc *priv = nft_expr_priv(expr); in nft_ng_inc_dump() 125 const struct nft_expr *expr) in nft_ng_inc_destroy() argument 127 const struct nft_ng_inc *priv = nft_expr_priv(expr); in nft_ng_inc_destroy() [all …]
|
D | nft_dynset.c | 22 bool expr; member 33 struct nft_expr *expr; in nft_dynset_expr_setup() local 37 expr = nft_setelem_expr_at(elem_expr, elem_expr->size); in nft_dynset_expr_setup() 38 if (nft_expr_clone(expr, priv->expr_array[i]) < 0) in nft_dynset_expr_setup() 47 static void *nft_dynset_new(struct nft_set *set, const struct nft_expr *expr, in nft_dynset_new() argument 50 const struct nft_dynset *priv = nft_expr_priv(expr); in nft_dynset_new() 80 void nft_dynset_eval(const struct nft_expr *expr, in nft_dynset_eval() argument 83 const struct nft_dynset *priv = nft_expr_priv(expr); in nft_dynset_eval() 94 expr, regs, &ext)) { in nft_dynset_eval() 128 struct nft_expr *expr; in nft_dynset_expr_alloc() local [all …]
|
D | nft_hash.c | 26 static void nft_jhash_eval(const struct nft_expr *expr, in nft_jhash_eval() argument 30 struct nft_jhash *priv = nft_expr_priv(expr); in nft_jhash_eval() 46 static void nft_symhash_eval(const struct nft_expr *expr, in nft_symhash_eval() argument 50 struct nft_symhash *priv = nft_expr_priv(expr); in nft_symhash_eval() 70 const struct nft_expr *expr, in nft_jhash_init() argument 73 struct nft_jhash *priv = nft_expr_priv(expr); in nft_jhash_init() 117 const struct nft_expr *expr, in nft_symhash_init() argument 120 struct nft_symhash *priv = nft_expr_priv(expr); in nft_symhash_init() 142 const struct nft_expr *expr, bool reset) in nft_jhash_dump() argument 144 const struct nft_jhash *priv = nft_expr_priv(expr); in nft_jhash_dump() [all …]
|
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() 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 77 const struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_offload() 83 static bool nft_fwd_netdev_offload_action(const struct nft_expr *expr) in nft_fwd_netdev_offload_action() argument 94 static void nft_fwd_neigh_eval(const struct nft_expr *expr, in nft_fwd_neigh_eval() argument [all …]
|
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 98 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_activate() 143 const struct nft_expr *expr, in nft_immediate_deactivate() argument 146 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_deactivate() 187 const struct nft_expr *expr) in nft_immediate_destroy() argument 189 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_destroy() [all …]
|
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-6.6.21/drivers/gpu/drm/i915/ |
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-6.6.21/include/net/netfilter/ |
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, 48 const struct nft_expr *expr); 51 void nft_meta_inner_eval(const struct nft_expr *expr,
|
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 …]
|
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, 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, 42 const struct nft_expr *expr);
|
/linux-6.6.21/drivers/pinctrl/aspeed/ |
D | pinctrl-aspeed.c | 76 const struct aspeed_sig_expr *expr) in aspeed_sig_expr_enable() argument 80 pr_debug("Enabling signal %s for %s\n", expr->signal, in aspeed_sig_expr_enable() 81 expr->function); in aspeed_sig_expr_enable() 83 ret = aspeed_sig_expr_eval(ctx, expr, true); in aspeed_sig_expr_enable() 88 return aspeed_sig_expr_set(ctx, expr, true); in aspeed_sig_expr_enable() 94 const struct aspeed_sig_expr *expr) in aspeed_sig_expr_disable() argument 98 pr_debug("Disabling signal %s for %s\n", expr->signal, in aspeed_sig_expr_disable() 99 expr->function); in aspeed_sig_expr_disable() 101 ret = aspeed_sig_expr_eval(ctx, expr, true); in aspeed_sig_expr_disable() 106 return aspeed_sig_expr_set(ctx, expr, false); in aspeed_sig_expr_disable() [all …]
|
/linux-6.6.21/net/bridge/netfilter/ |
D | nft_meta_bridge.c | 24 static void nft_meta_bridge_get_eval(const struct nft_expr *expr, in nft_meta_bridge_get_eval() argument 28 const struct nft_meta *priv = nft_expr_priv(expr); in nft_meta_bridge_get_eval() 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() 108 static void nft_meta_bridge_set_eval(const struct nft_expr *expr, in nft_meta_bridge_set_eval() argument 112 const struct nft_meta *meta = nft_expr_priv(expr); in nft_meta_bridge_set_eval() 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 [all …]
|
/linux-6.6.21/fs/xfs/ |
D | xfs_linux.h | 204 #define ASSERT_ALWAYS(expr) \ argument 205 (likely(expr) ? (void)0 : assfail(NULL, #expr, __FILE__, __LINE__)) 208 #define ASSERT(expr) \ argument 209 (likely(expr) ? (void)0 : assfail(NULL, #expr, __FILE__, __LINE__)) 215 #define ASSERT(expr) \ argument 216 (likely(expr) ? (void)0 : asswarn(NULL, #expr, __FILE__, __LINE__)) 220 #define ASSERT(expr) ((void)0) argument 225 #define XFS_IS_CORRUPT(mp, expr) \ argument 226 (unlikely(expr) ? xfs_corruption_error(#expr, XFS_ERRLEVEL_LOW, (mp), \
|