Home
last modified time | relevance | path

Searched refs:expr (Results 1 – 25 of 202) sorted by relevance

123456789

/linux-5.19.10/tools/debugging/
Dkernel-chktaint55 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-5.19.10/scripts/kconfig/
Dexpr.h38 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;
288 struct expr *expr_alloc_symbol(struct symbol *sym);
289 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce);
290 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2);
[all …]
Dexpr.c16 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 …]
Dmenu.c83 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 …]
Dsymbol.c87 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 val2 = sym_get_range_val(prop->expr->left.sym, base); in sym_validate_range()
145 val2 = sym_get_range_val(prop->expr->right.sym, base); in sym_validate_range()
189 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_visibility()
211 if (sym->dir_dep.expr) in sym_calc_visibility()
212 tri = expr_calc_value(sym->dir_dep.expr); in sym_calc_visibility()
220 if (sym->rev_dep.expr) in sym_calc_visibility()
221 tri = expr_calc_value(sym->rev_dep.expr); in sym_calc_visibility()
229 if (sym->implied.expr) in sym_calc_visibility()
[all …]
/linux-5.19.10/tools/perf/util/
Dexpr.y52 %type <ids> expr if_expr
159 if_expr: expr IF expr ELSE expr
198 | expr
201 expr: NUMBER
208 | expr '|' expr { BINARY_LONG_OP($$, |, $1, $3); }
209 | expr '&' expr { BINARY_LONG_OP($$, &, $1, $3); }
210 | expr '^' expr { BINARY_LONG_OP($$, ^, $1, $3); }
211 | expr '<' expr { BINARY_OP($$, <, $1, $3); }
212 | expr '>' expr { BINARY_OP($$, >, $1, $3); }
213 | expr '+' expr { BINARY_OP($$, +, $1, $3); }
[all …]
/linux-5.19.10/drivers/gpu/drm/i915/
Di915_gem.h55 #define GEM_WARN_ON(expr) WARN_ON(expr) argument
57 #define GEM_DEBUG_EXEC(expr) expr argument
58 #define GEM_DEBUG_WARN_ON(expr) GEM_WARN_ON(expr) argument
64 #define GEM_BUG_ON(expr) BUILD_BUG_ON_INVALID(expr) argument
65 #define GEM_WARN_ON(expr) ({ unlikely(!!(expr)); }) argument
67 #define GEM_DEBUG_EXEC(expr) do { } while (0) argument
68 #define GEM_DEBUG_WARN_ON(expr) ({ BUILD_BUG_ON_INVALID(expr); 0; }) argument
79 #define GEM_TRACE_DUMP_ON(expr) \ argument
80 do { if (expr) GEM_TRACE_DUMP(); } while (0)
85 #define GEM_TRACE_DUMP_ON(expr) BUILD_BUG_ON_INVALID(expr) argument
/linux-5.19.10/net/netfilter/
Dnft_objref.c14 #define nft_objref_priv(expr) *((struct nft_object **)nft_expr_priv(expr)) argument
16 static 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()
44 nft_objref_priv(expr) = obj; in nft_objref_init()
50 static int nft_objref_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_objref_dump() argument
52 const struct nft_object *obj = nft_objref_priv(expr); in nft_objref_dump()
66 const struct nft_expr *expr, in nft_objref_deactivate() argument
69 struct nft_object *obj = nft_objref_priv(expr); in nft_objref_deactivate()
[all …]
Dnf_tables_core.c59 static void nft_bitwise_fast_eval(const struct nft_expr *expr, in nft_bitwise_fast_eval() argument
62 const struct nft_bitwise_fast_expr *priv = nft_expr_priv(expr); in nft_bitwise_fast_eval()
69 static void nft_cmp_fast_eval(const struct nft_expr *expr, in nft_cmp_fast_eval() argument
72 const struct nft_cmp_fast_expr *priv = nft_expr_priv(expr); in nft_cmp_fast_eval()
79 static void nft_cmp16_fast_eval(const struct nft_expr *expr, in nft_cmp16_fast_eval() argument
82 const struct nft_cmp16_fast_expr *priv = nft_expr_priv(expr); in nft_cmp16_fast_eval()
130 static bool nft_payload_fast_eval(const struct nft_expr *expr, in nft_payload_fast_eval() argument
134 const struct nft_payload *priv = nft_expr_priv(expr); in nft_payload_fast_eval()
191 static void expr_call_ops_eval(const struct nft_expr *expr, in expr_call_ops_eval() argument
196 unsigned long e = (unsigned long)expr->ops->eval; in expr_call_ops_eval()
[all …]
Dnft_immediate.c18 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()
98 const struct nft_expr *expr) in nft_immediate_activate() argument
100 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_activate()
106 const struct nft_expr *expr, in nft_immediate_deactivate() argument
109 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_deactivate()
118 const struct nft_expr *expr) in nft_immediate_destroy() argument
120 const struct nft_immediate_expr *priv = nft_expr_priv(expr); in nft_immediate_destroy()
[all …]
Dnft_compat.c73 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()
236 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_target_init() argument
239 void *info = nft_expr_priv(expr); in nft_target_init()
240 struct xt_target *target = expr->ops->data; in nft_target_init()
285 static void __nft_mt_tg_destroy(struct module *me, const struct nft_expr *expr) in __nft_mt_tg_destroy() argument
[all …]
Dnft_numgen.c36 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()
115 static int nft_ng_inc_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_ng_inc_dump() argument
117 const struct nft_ng_inc *priv = nft_expr_priv(expr); in nft_ng_inc_dump()
124 const struct nft_expr *expr) in nft_ng_inc_destroy() argument
126 const struct nft_ng_inc *priv = nft_expr_priv(expr); in nft_ng_inc_destroy()
[all …]
Dnft_dynset.c22 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 …]
Dnft_hash.c26 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) in nft_jhash_dump() argument
144 const struct nft_jhash *priv = nft_expr_priv(expr); in nft_jhash_dump()
[all …]
Dnft_fwd_netdev.c24 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()
59 static int nft_fwd_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_fwd_netdev_dump() argument
61 struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_dump()
74 const struct nft_expr *expr) in nft_fwd_netdev_offload() argument
76 const struct nft_fwd_netdev *priv = nft_expr_priv(expr); in nft_fwd_netdev_offload()
82 static bool nft_fwd_netdev_offload_action(const struct nft_expr *expr) in nft_fwd_netdev_offload_action() argument
93 static void nft_fwd_neigh_eval(const struct nft_expr *expr, in nft_fwd_neigh_eval() argument
[all …]
Dnft_dup_netdev.c20 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()
70 static bool nft_dup_netdev_offload_action(const struct nft_expr *expr) in nft_dup_netdev_offload_action() argument
Dnft_osf.c20 static void nft_osf_eval(const struct nft_expr *expr, struct nft_regs *regs, in nft_osf_eval() argument
23 struct nft_osf *priv = nft_expr_priv(expr); in nft_osf_eval()
61 const struct nft_expr *expr, in nft_osf_init() argument
64 struct nft_osf *priv = nft_expr_priv(expr); in nft_osf_init()
95 static int nft_osf_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_osf_dump() argument
97 const struct nft_osf *priv = nft_expr_priv(expr); in nft_osf_dump()
115 const struct nft_expr *expr, in nft_osf_validate() argument
136 const struct nft_expr *expr) in nft_osf_reduce() argument
138 struct nft_osf *priv = nft_expr_priv(expr); in nft_osf_reduce()
141 if (!nft_reg_track_cmp(track, expr, priv->dreg)) { in nft_osf_reduce()
[all …]
Dnft_exthdr.c38 static void nft_exthdr_ipv6_eval(const struct nft_expr *expr, in nft_exthdr_ipv6_eval() argument
42 struct nft_exthdr *priv = nft_expr_priv(expr); in nft_exthdr_ipv6_eval()
134 static void nft_exthdr_ipv4_eval(const struct nft_expr *expr, in nft_exthdr_ipv4_eval() argument
138 struct nft_exthdr *priv = nft_expr_priv(expr); in nft_exthdr_ipv4_eval()
184 static void nft_exthdr_tcp_eval(const struct nft_expr *expr, in nft_exthdr_tcp_eval() argument
189 struct nft_exthdr *priv = nft_expr_priv(expr); in nft_exthdr_tcp_eval()
227 static void nft_exthdr_tcp_set_eval(const struct nft_expr *expr, in nft_exthdr_tcp_set_eval() argument
232 struct nft_exthdr *priv = nft_expr_priv(expr); in nft_exthdr_tcp_set_eval()
311 static void nft_exthdr_tcp_strip_eval(const struct nft_expr *expr, in nft_exthdr_tcp_strip_eval() argument
316 struct nft_exthdr *priv = nft_expr_priv(expr); in nft_exthdr_tcp_strip_eval()
[all …]
Dnft_queue.c28 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()
72 const struct nft_expr *expr, in nft_queue_validate() argument
104 const struct nft_expr *expr, in nft_queue_init() argument
107 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_init()
133 const struct nft_expr *expr, in nft_queue_sreg_init() argument
136 struct nft_queue *priv = nft_expr_priv(expr); in nft_queue_sreg_init()
155 static int nft_queue_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_queue_dump() argument
[all …]
Dnft_redir.c29 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()
78 static int nft_redir_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_redir_dump() argument
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()
123 nft_redir_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_ipv4_destroy() argument
150 static void nft_redir_ipv6_eval(const struct nft_expr *expr, in nft_redir_ipv6_eval() argument
154 struct nft_redir *priv = nft_expr_priv(expr); in nft_redir_ipv6_eval()
[all …]
Dnft_masq.c29 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()
76 static int nft_masq_dump(struct sk_buff *skb, const struct nft_expr *expr) in nft_masq_dump() argument
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()
118 nft_masq_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_ipv4_destroy() argument
145 static void nft_masq_ipv6_eval(const struct nft_expr *expr, in nft_masq_ipv6_eval() argument
149 struct nft_masq *priv = nft_expr_priv(expr); in nft_masq_ipv6_eval()
[all …]
/linux-5.19.10/drivers/pinctrl/aspeed/
Dpinctrl-aspeed.c75 const struct aspeed_sig_expr *expr) in aspeed_sig_expr_enable() argument
79 pr_debug("Enabling signal %s for %s\n", expr->signal, in aspeed_sig_expr_enable()
80 expr->function); in aspeed_sig_expr_enable()
82 ret = aspeed_sig_expr_eval(ctx, expr, true); in aspeed_sig_expr_enable()
87 return aspeed_sig_expr_set(ctx, expr, true); in aspeed_sig_expr_enable()
93 const struct aspeed_sig_expr *expr) in aspeed_sig_expr_disable() argument
97 pr_debug("Disabling signal %s for %s\n", expr->signal, in aspeed_sig_expr_disable()
98 expr->function); in aspeed_sig_expr_disable()
100 ret = aspeed_sig_expr_eval(ctx, expr, true); in aspeed_sig_expr_disable()
105 return aspeed_sig_expr_set(ctx, expr, false); in aspeed_sig_expr_disable()
[all …]
/linux-5.19.10/include/net/netfilter/
Dnft_meta.h19 const struct nft_expr *expr,
23 const struct nft_expr *expr,
27 const struct nft_expr *expr);
30 const struct nft_expr *expr);
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);
Dnft_fib.h21 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,
42 const struct nft_expr *expr);
/linux-5.19.10/fs/xfs/
Dxfs_linux.h201 #define ASSERT_ALWAYS(expr) \ argument
202 (likely(expr) ? (void)0 : assfail(NULL, #expr, __FILE__, __LINE__))
205 #define ASSERT(expr) \ argument
206 (likely(expr) ? (void)0 : assfail(NULL, #expr, __FILE__, __LINE__))
212 #define ASSERT(expr) \ argument
213 (likely(expr) ? (void)0 : asswarn(NULL, #expr, __FILE__, __LINE__))
217 #define ASSERT(expr) ((void)0) argument
222 #define XFS_IS_CORRUPT(mp, expr) \ argument
223 (unlikely(expr) ? xfs_corruption_error(#expr, XFS_ERRLEVEL_LOW, (mp), \

123456789