Home
last modified time | relevance | path

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

123456789

/linux/tools/debugging/
H A 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
[all...]
/linux/scripts/kconfig/
H A Dexpr.h32 struct expr * const expr; member
38 * struct expr - expression
47 struct expr { struct
60 struct expr *expr; member
192 struct expr *expr; /* the optional conditional part of the property */ member
258 struct expr *visibility;
264 struct expr *de
49 typeexpr global() argument
52 rightexpr global() argument
[all...]
H A Dexpr.c21 static struct expr *expr_eliminate_yn(struct expr *e);
33 static struct expr *expr_lookup(enum expr_type type, void *l, void *r) in expr_lookup()
35 struct expr *e; in expr_lookup()
57 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol()
62 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one()
67 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e
[all...]
H A Dmenu.c104 static struct expr *rewrite_m(struct expr *e) in rewrite_m()
111 e = expr_alloc_one(E_NOT, rewrite_m(e->left.expr)); in rewrite_m()
116 rewrite_m(e->left.expr), in rewrite_m()
117 rewrite_m(e->right.expr)); in rewrite_m()
130 void menu_add_dep(struct expr *dep) in menu_add_dep()
151 static struct property *menu_add_prop(enum prop_type type, struct expr *expr, in menu_add_prop() argument
152 struct expr *dep) in menu_add_prop()
162 prop->expr in menu_add_prop()
211 menu_add_visibility(struct expr * expr) menu_add_visibility() argument
217 menu_add_expr(enum prop_type type,struct expr * expr,struct expr * dep) menu_add_expr() argument
616 get_dep_str(struct gstr * r,const struct expr * expr,const char * prefix) get_dep_str() argument
[all...]
/linux/net/netfilter/
H A Dnft_objref.c14 #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
81 nft_objref_activate(const struct nft_ctx * ctx,const struct nft_expr * expr) nft_objref_activate() argument
105 nft_objref_map_eval(const struct nft_expr * expr,struct nft_regs * regs,const struct nft_pktinfo * pkt) nft_objref_map_eval() argument
128 nft_objref_map_init(const struct nft_ctx * ctx,const struct nft_expr * expr,const struct nlattr * const tb[]) nft_objref_map_init() argument
161 nft_objref_map_dump(struct sk_buff * skb,const struct nft_expr * expr,bool reset) nft_objref_map_dump() argument
176 nft_objref_map_deactivate(const struct nft_ctx * ctx,const struct nft_expr * expr,enum nft_trans_phase phase) nft_objref_map_deactivate() argument
185 nft_objref_map_activate(const struct nft_ctx * ctx,const struct nft_expr * expr) nft_objref_map_activate() argument
193 nft_objref_map_destroy(const struct nft_ctx * ctx,const struct nft_expr * expr) nft_objref_map_destroy() argument
[all...]
H A Dnf_tables_core.c74 static void nft_bitwise_fast_eval(const struct nft_expr *expr, in nft_bitwise_fast_eval() argument
77 const struct nft_bitwise_fast_expr *priv = nft_expr_priv(expr); in nft_bitwise_fast_eval()
84 static void nft_cmp_fast_eval(const struct nft_expr *expr, in nft_cmp_fast_eval() argument
87 const struct nft_cmp_fast_expr *priv = nft_expr_priv(expr); in nft_cmp_fast_eval()
94 static void nft_cmp16_fast_eval(const struct nft_expr *expr, in nft_cmp16_fast_eval() argument
97 const struct nft_cmp16_fast_expr *priv = nft_expr_priv(expr); in nft_cmp16_fast_eval()
144 static bool nft_payload_fast_eval(const struct nft_expr *expr, in nft_payload_fast_eval() argument
148 const struct nft_payload *priv = nft_expr_priv(expr); in nft_payload_fast_eval()
203 static void expr_call_ops_eval(const struct nft_expr *expr, in expr_call_ops_eval() argument
213 e = (unsigned long)expr in expr_call_ops_eval()
241 nft_rule_expr_next(expr) global() argument
244 nft_rule_dp_for_each_expr(expr,last,rule) global() argument
254 const struct nft_expr *expr, *last; nft_do_chain() local
[all...]
H A 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()
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
299 nft_target_destroy(const struct nft_ctx * ctx,const struct nft_expr * expr) nft_target_destroy() argument
335 nft_target_dump(struct sk_buff * skb,const struct nft_expr * expr,bool reset) nft_target_dump() argument
353 nft_target_validate(const struct nft_ctx * ctx,const struct nft_expr * expr) nft_target_validate() argument
391 __nft_match_eval(const struct nft_expr * expr,struct nft_regs * regs,const struct nft_pktinfo * pkt,void * info) __nft_match_eval() argument
420 nft_match_large_eval(const struct nft_expr * expr,struct nft_regs * regs,const struct nft_pktinfo * pkt) nft_match_large_eval() argument
429 nft_match_eval(const struct nft_expr * expr,struct nft_regs * regs,const struct nft_pktinfo * pkt) nft_match_eval() argument
496 __nft_match_init(const struct nft_ctx * ctx,const struct nft_expr * expr,const struct nlattr * const tb[],void * info) __nft_match_init() argument
524 nft_match_init(const struct nft_ctx * ctx,const struct nft_expr * expr,const struct nlattr * const tb[]) nft_match_init() argument
531 nft_match_large_init(const struct nft_ctx * ctx,const struct nft_expr * expr,const struct nlattr * const tb[]) nft_match_large_init() argument
549 __nft_match_destroy(const struct nft_ctx * ctx,const struct nft_expr * expr,void * info) __nft_match_destroy() argument
567 nft_match_destroy(const struct nft_ctx * ctx,const struct nft_expr * expr) nft_match_destroy() argument
573 nft_match_large_destroy(const struct nft_ctx * ctx,const struct nft_expr * expr) nft_match_large_destroy() argument
581 __nft_match_dump(struct sk_buff * skb,const struct nft_expr * expr,void * info) __nft_match_dump() argument
599 nft_match_dump(struct sk_buff * skb,const struct nft_expr * expr,bool reset) nft_match_dump() argument
613 nft_match_validate(const struct nft_ctx * ctx,const struct nft_expr * expr) nft_match_validate() argument
775 nft_match_reduce(struct nft_regs_track * track,const struct nft_expr * expr) nft_match_reduce() argument
[all...]
H A 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()
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()
143 nft_ng_random_eval(const struct nft_expr * expr,struct nft_regs * regs,const struct nft_pktinfo * pkt) nft_ng_random_eval() argument
153 nft_ng_random_init(const struct nft_ctx * ctx,const struct nft_expr * expr,const struct nlattr * const tb[]) nft_ng_random_init() argument
173 nft_ng_random_dump(struct sk_buff * skb,const struct nft_expr * expr,bool reset) nft_ng_random_dump() argument
182 nft_ng_random_reduce(struct nft_regs_track * track,const struct nft_expr * expr) nft_ng_random_reduce() argument
[all...]
H A 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], GFP_ATOMIC) < 0) in nft_dynset_expr_setup()
48 const struct nft_expr *expr, in nft_dynset_new() argument
51 const struct nft_dynset *priv = nft_expr_priv(expr); in nft_dynset_new()
81 void nft_dynset_eval(const struct nft_expr *expr, in nft_dynset_eval() argument
84 const struct nft_dynset *priv = nft_expr_priv(expr); in nft_dynset_eval()
94 ext = set->ops->update(set, &regs->data[priv->sreg_key], expr, regs); in nft_dynset_eval()
130 struct nft_expr *expr; in nft_dynset_expr_alloc() local
163 nft_dynset_init(const struct nft_ctx * ctx,const struct nft_expr * expr,const struct nlattr * const tb[]) nft_dynset_init() argument
339 nft_dynset_deactivate(const struct nft_ctx * ctx,const struct nft_expr * expr,enum nft_trans_phase phase) nft_dynset_deactivate() argument
348 nft_dynset_activate(const struct nft_ctx * ctx,const struct nft_expr * expr) nft_dynset_activate() argument
356 nft_dynset_destroy(const struct nft_ctx * ctx,const struct nft_expr * expr) nft_dynset_destroy() argument
368 nft_dynset_dump(struct sk_buff * skb,const struct nft_expr * expr,bool reset) nft_dynset_dump() argument
[all...]
H A 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()
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
145 const struct nft_jhash *priv = nft_expr_priv(expr); in nft_jhash_dump()
170 nft_jhash_reduce(struct nft_regs_track * track,const struct nft_expr * expr) nft_jhash_reduce() argument
180 nft_symhash_dump(struct sk_buff * skb,const struct nft_expr * expr,bool reset) nft_symhash_dump() argument
200 nft_symhash_reduce(struct nft_regs_track * track,const struct nft_expr * expr) nft_symhash_reduce() argument
[all...]
H A 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()
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()
232 nft_immediate_dump(struct sk_buff * skb,const struct nft_expr * expr,bool reset) nft_immediate_dump() argument
247 nft_immediate_validate(const struct nft_ctx * ctx,const struct nft_expr * expr) nft_immediate_validate() argument
301 nft_immediate_offload(struct nft_offload_ctx * ctx,struct nft_flow_rule * flow,const struct nft_expr * expr) nft_immediate_offload() argument
313 nft_immediate_offload_action(const struct nft_expr * expr) nft_immediate_offload_action() argument
324 nft_immediate_reduce(struct nft_regs_track * track,const struct nft_expr * expr) nft_immediate_reduce() argument
[all...]
H A 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()
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
H A 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()
91 const struct nft_expr *expr, bool reset) in nft_osf_dump() argument
93 const struct nft_osf *priv = nft_expr_priv(expr); in nft_osf_dump()
111 const struct nft_expr *expr) in nft_osf_validate() argument
131 const struct nft_expr *expr) in nft_osf_reduce() argument
133 struct nft_osf *priv = nft_expr_priv(expr); in nft_osf_reduce()
136 if (!nft_reg_track_cmp(track, expr, pri in nft_osf_reduce()
[all...]
H A Dnft_lookup.c59 void nft_lookup_eval(const struct nft_expr *expr, in nft_lookup_eval() argument
63 const struct nft_lookup *priv = nft_expr_priv(expr); in nft_lookup_eval()
99 const struct nft_expr *expr, in nft_lookup_init() argument
102 struct nft_lookup *priv = nft_expr_priv(expr); in nft_lookup_init()
164 const struct nft_expr *expr, in nft_lookup_deactivate() argument
167 struct nft_lookup *priv = nft_expr_priv(expr); in nft_lookup_deactivate()
173 const struct nft_expr *expr) in nft_lookup_activate() argument
175 struct nft_lookup *priv = nft_expr_priv(expr); in nft_lookup_activate()
181 const struct nft_expr *expr) in nft_lookup_destroy() argument
183 struct nft_lookup *priv = nft_expr_priv(expr); in nft_lookup_destroy()
189 nft_lookup_dump(struct sk_buff * skb,const struct nft_expr * expr,bool reset) nft_lookup_dump() argument
210 nft_lookup_validate(const struct nft_ctx * ctx,const struct nft_expr * expr) nft_lookup_validate() argument
237 nft_lookup_reduce(struct nft_regs_track * track,const struct nft_expr * expr) nft_lookup_reduce() argument
[all...]
/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c180 * expression <expr>, print the status to stdout, and update the "ret"
185 #define EXPECT_ZR(cond, expr) \ argument
186 do { if (!(cond)) result(llen, SKIPPED); else ret += expect_zr(expr, llen); } while (0)
189 int expect_zr(int expr, int llen) in expect_zr() argument
191 int ret = !(expr == 0); in expect_zr()
193 llen += printf(" = %d ", expr); in expect_zr()
199 #define EXPECT_NZ(cond, expr, val) \ argument
200 do { if (!(cond)) result(llen, SKIPPED); else ret += expect_nz(expr, llen; } while (0)
203 int expect_nz(int expr, int llen) in expect_nz() argument
205 int ret = !(expr ! in expect_nz()
213 EXPECT_EQ(cond,expr,val) global() argument
217 expect_eq(uint64_t expr,int llen,uint64_t val) expect_eq() argument
227 EXPECT_NE(cond,expr,val) global() argument
231 expect_ne(int expr,int llen,int val) expect_ne() argument
241 EXPECT_GE(cond,expr,val) global() argument
245 expect_ge(int expr,int llen,int val) expect_ge() argument
255 EXPECT_GT(cond,expr,val) global() argument
259 expect_gt(int expr,int llen,int val) expect_gt() argument
269 EXPECT_LE(cond,expr,val) global() argument
273 expect_le(int expr,int llen,int val) expect_le() argument
283 EXPECT_LT(cond,expr,val) global() argument
287 expect_lt(int expr,int llen,int val) expect_lt() argument
297 EXPECT_SYSZR(cond,expr) global() argument
301 expect_syszr(int expr,int llen) expect_syszr() argument
320 EXPECT_SYSEQ(cond,expr,val) global() argument
324 expect_syseq(int expr,int llen,int val) expect_syseq() argument
340 EXPECT_SYSNE(cond,expr,val) global() argument
344 expect_sysne(int expr,int llen,int val) expect_sysne() argument
363 EXPECT_SYSER2(cond,expr,expret,experr1,experr2) global() argument
366 EXPECT_SYSER(cond,expr,expret,experr) global() argument
370 expect_syserr2(int expr,int expret,int experr1,int experr2,int llen) expect_syserr2() argument
392 EXPECT_PTRZR(cond,expr) global() argument
396 expect_ptrzr(const void * expr,int llen) expect_ptrzr() argument
411 EXPECT_PTRNZ(cond,expr) global() argument
415 expect_ptrnz(const void * expr,int llen) expect_ptrnz() argument
429 EXPECT_PTREQ(cond,expr,cmp) global() argument
433 expect_ptreq(const void * expr,int llen,const void * cmp) expect_ptreq() argument
447 EXPECT_PTRNE(cond,expr,cmp) global() argument
451 expect_ptrne(const void * expr,int llen,const void * cmp) expect_ptrne() argument
465 EXPECT_PTRGE(cond,expr,cmp) global() argument
469 expect_ptrge(const void * expr,int llen,const void * cmp) expect_ptrge() argument
478 EXPECT_PTRGT(cond,expr,cmp) global() argument
482 expect_ptrgt(const void * expr,int llen,const void * cmp) expect_ptrgt() argument
492 EXPECT_PTRLE(cond,expr,cmp) global() argument
496 expect_ptrle(const void * expr,int llen,const void * cmp) expect_ptrle() argument
506 EXPECT_PTRLT(cond,expr,cmp) global() argument
510 expect_ptrlt(const void * expr,int llen,const void * cmp) expect_ptrlt() argument
519 EXPECT_PTRER2(cond,expr,expret,experr1,experr2) global() argument
522 EXPECT_PTRER(cond,expr,expret,experr) global() argument
526 expect_ptrerr2(const void * expr,const void * expret,int experr1,int experr2,int llen) expect_ptrerr2() argument
545 EXPECT_STRZR(cond,expr) global() argument
549 expect_strzr(const char * expr,int llen) expect_strzr() argument
564 EXPECT_STRNZ(cond,expr) global() argument
568 expect_strnz(const char * expr,int llen) expect_strnz() argument
583 EXPECT_STREQ(cond,expr,cmp) global() argument
587 expect_streq(const char * expr,int llen,const char * cmp) expect_streq() argument
602 EXPECT_STRNE(cond,expr,cmp) global() argument
606 expect_strne(const char * expr,int llen,const char * cmp) expect_strne() argument
620 EXPECT_STRBUFEQ(cond,expr,buf,val,cmp) global() argument
624 expect_str_buf_eq(size_t expr,const char * buf,size_t val,int llen,const char * cmp) expect_str_buf_eq() argument
[all...]
/linux/drivers/gpu/drm/i915/
H A Di915_gem.h104 #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); argument
126 GEM_TRACE_DUMP_ON(expr) global() argument
132 GEM_TRACE_DUMP_ON(expr) global() argument
[all...]
/linux/include/net/netfilter/
H A Dnft_meta.h19 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,
[all...]
H A Dnf_tables_core.h138 void nft_meta_get_eval(const struct nft_expr *expr,
140 void nft_cmp_eval(const struct nft_expr *expr,
142 void nft_lookup_eval(const struct nft_expr *expr,
144 void nft_payload_eval(const struct nft_expr *expr,
146 void nft_immediate_eval(const struct nft_expr *expr,
148 void nft_bitwise_eval(const struct nft_expr *expr,
150 void nft_range_eval(const struct nft_expr *expr,
152 void nft_byteorder_eval(const struct nft_expr *expr,
154 void nft_dynset_eval(const struct nft_expr *expr,
156 void nft_rt_get_eval(const struct nft_expr *expr,
[all...]
H A Dnft_fib.h51 int nft_fib_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset);
52 int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
54 int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr);
56 void nft_fib4_eval_type(const struct nft_expr *expr, struct nft_regs *regs,
58 void nft_fib4_eval(const struct nft_expr *expr, struct nft_regs *regs,
61 void nft_fib6_eval_type(const struct nft_expr *expr, struct nft_regs *regs,
63 void nft_fib6_eval(const struct nft_expr *expr, struct nft_regs *regs,
70 const struct nft_expr *expr);
/linux/drivers/pinctrl/aspeed/
H A Dpinctrl-aspeed.c76 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, fals in aspeed_sig_expr_disable()
165 const struct aspeed_sig_expr ***prios, **funcs, *expr; get_defined_attribute() local
203 aspeed_sig_expr_function(const struct aspeed_sig_expr * expr) aspeed_sig_expr_function() argument
213 aspeed_sig_expr_signal(const struct aspeed_sig_expr * expr) aspeed_sig_expr_signal() argument
236 const struct aspeed_sig_expr *expr = NULL; aspeed_pinmux_set_mux() local
288 aspeed_expr_is_gpio(const struct aspeed_sig_expr * expr) aspeed_expr_is_gpio() argument
384 const struct aspeed_sig_expr ***prios, **funcs, *expr; aspeed_gpio_request_enable() local
[all...]
/linux/drivers/gpu/drm/amd/display/dc/sspl/
H A Dspl_debug.h9 #define SPL_ASSERT_CRITICAL(expr) do { \ argument
10 if (WARN_ON(!(expr))) { \
15 #define SPL_ASSERT_CRITICAL(expr) do { \ argument
16 if (WARN_ON(!(expr))) { \
23 #define SPL_ASSERT(expr) SPL_ASSERT_CRITICAL(expr) argument
25 #define SPL_ASSERT(expr) WARN_ON(!(expr)) argument
/linux/net/bridge/netfilter/
H A Dnft_meta_bridge.c24 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
153 nft_meta_bridge_set_reduce(struct nft_regs_track * track,const struct nft_expr * expr) nft_meta_bridge_set_reduce() argument
171 nft_meta_bridge_set_validate(const struct nft_ctx * ctx,const struct nft_expr * expr) nft_meta_bridge_set_validate() argument
[all...]
/linux/drivers/md/dm-vdo/
H A Dpermassert.h31 #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/tools/perf/util/
H A Dbpf-filter.c120 static int check_sample_flags(struct evsel *evsel, struct perf_bpf_filter_expr *expr) in check_sample_flags() argument
124 if (expr->term >= PBF_TERM_SAMPLE_START && expr->term <= PBF_TERM_SAMPLE_END && in check_sample_flags()
125 (evsel->core.attr.sample_type & (1 << (expr->term - PBF_TERM_SAMPLE_START)))) in check_sample_flags()
128 if (expr->term == PBF_TERM_UID || expr->term == PBF_TERM_GID) { in check_sample_flags()
133 if (expr->op == PBF_OP_GROUP_BEGIN) { in check_sample_flags()
136 list_for_each_entry(group, &expr->groups, list) { in check_sample_flags()
143 info = get_sample_info(expr->term); in check_sample_flags()
146 evsel__name(evsel), expr in check_sample_flags()
159 struct perf_bpf_filter_expr *expr; get_filter_entries() local
557 struct perf_bpf_filter_expr *expr, *tmp; perf_bpf_filter__destroy() local
612 struct perf_bpf_filter_expr *expr; perf_bpf_filter_expr__new() local
[all...]
/linux/fs/xfs/
H A Dxfs_linux.h219 #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) ((voi argument
240 XFS_IS_CORRUPT(mp,expr) global() argument
[all...]

123456789