Home
last modified time | relevance | path

Searched defs:expr (Results 1 – 25 of 125) sorted by relevance

12345

/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c185 #define EXPECT_ZR(cond, expr) \ argument
189 int expect_zr(int expr, int llen) in expect_zr() argument
199 #define EXPECT_NZ(cond, expr) \ argument
203 int expect_nz(int expr, int llen) in expect_nz() argument
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/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()
47 const struct nft_expr *expr) in nft_objref_validate()
55 const struct nft_expr *expr, in nft_objref_init()
82 const struct nft_expr *expr, bool reset) in nft_objref_dump()
98 const struct nft_expr *expr, in nft_objref_deactivate()
110 const struct nft_expr *expr) in nft_objref_activate()
135 void nft_objref_map_eval(const struct nft_expr *expr, in nft_objref_map_eval()
158 const struct nft_expr *expr, in nft_objref_map_init()
191 const struct nft_expr *expr, bool reset) in nft_objref_map_dump()
[all …]
H A Dnft_immediate.c18 void nft_immediate_eval(const struct nft_expr *expr, in nft_immediate_eval()
47 const struct nft_expr *expr, in nft_immediate_init()
96 const struct nft_expr *expr) in nft_immediate_activate()
143 const struct nft_expr *expr, in nft_immediate_deactivate()
187 const struct nft_expr *expr) in nft_immediate_destroy()
232 const struct nft_expr *expr, bool reset) in nft_immediate_dump()
247 const struct nft_expr *expr) in nft_immediate_validate()
301 const struct nft_expr *expr) in nft_immediate_offload()
313 static bool nft_immediate_offload_action(const struct nft_expr *expr) in nft_immediate_offload_action()
324 const struct nft_expr *expr) in nft_immediate_reduce()
H A Dnft_fwd_netdev.c24 static void nft_fwd_netdev_eval(const struct nft_expr *expr, in nft_fwd_netdev_eval()
47 const struct nft_expr *expr, in nft_fwd_netdev_init()
60 const struct nft_expr *expr, bool reset) in nft_fwd_netdev_dump()
75 const struct nft_expr *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()
94 static void nft_fwd_neigh_eval(const struct nft_expr *expr, in nft_fwd_neigh_eval()
156 const struct nft_expr *expr, in nft_fwd_neigh_init()
191 const struct nft_expr *expr, bool reset) in nft_fwd_neigh_dump()
207 const struct nft_expr *expr) in nft_fwd_validate()
H A Dnft_dynset.c22 bool expr; member
33 struct nft_expr *expr; in nft_dynset_expr_setup() local
48 const struct nft_expr *expr, in nft_dynset_new()
81 void nft_dynset_eval(const struct nft_expr *expr, in nft_dynset_eval()
130 struct nft_expr *expr; in nft_dynset_expr_alloc() local
163 const struct nft_expr *expr, in nft_dynset_init()
339 const struct nft_expr *expr, in nft_dynset_deactivate()
348 const struct nft_expr *expr) in nft_dynset_activate()
356 const struct nft_expr *expr) in nft_dynset_destroy()
368 const struct nft_expr *expr, bool reset) in nft_dynset_dump()
H A Dnft_numgen.c36 static void nft_ng_inc_eval(const struct nft_expr *expr, in nft_ng_inc_eval()
53 const struct nft_expr *expr, in nft_ng_inc_init()
88 const struct nft_expr *expr) in nft_ng_inc_reduce()
116 const struct nft_expr *expr, bool reset) in nft_ng_inc_dump()
125 const struct nft_expr *expr) in nft_ng_inc_destroy()
143 static void nft_ng_random_eval(const struct nft_expr *expr, in nft_ng_random_eval()
153 const struct nft_expr *expr, in nft_ng_random_init()
173 const struct nft_expr *expr, bool reset) in nft_ng_random_dump()
182 const struct nft_expr *expr) in nft_ng_random_reduce()
H A Dnft_compat.c73 static void nft_target_eval_xt(const struct nft_expr *expr, in nft_target_eval_xt()
100 static void nft_target_eval_bridge(const struct nft_expr *expr, in nft_target_eval_bridge()
243 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_target_init()
292 static void __nft_mt_tg_destroy(struct module *me, const struct nft_expr *expr) in __nft_mt_tg_destroy()
299 nft_target_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_target_destroy()
335 const struct nft_expr *expr, bool reset) in nft_target_dump()
353 const struct nft_expr *expr) in nft_target_validate()
391 static void __nft_match_eval(const struct nft_expr *expr, in __nft_match_eval()
420 static void nft_match_large_eval(const struct nft_expr *expr, in nft_match_large_eval()
429 static void nft_match_eval(const struct nft_expr *expr, in nft_match_eval()
[all …]
H A Dnft_exthdr.c46 static void nft_exthdr_ipv6_eval(const struct nft_expr *expr, in nft_exthdr_ipv6_eval()
139 static void nft_exthdr_ipv4_eval(const struct nft_expr *expr, in nft_exthdr_ipv4_eval()
188 static void nft_exthdr_tcp_eval(const struct nft_expr *expr, in nft_exthdr_tcp_eval()
232 static void nft_exthdr_tcp_set_eval(const struct nft_expr *expr, in nft_exthdr_tcp_set_eval()
312 static void nft_exthdr_tcp_strip_eval(const struct nft_expr *expr, in nft_exthdr_tcp_strip_eval()
369 static void nft_exthdr_sctp_eval(const struct nft_expr *expr, in nft_exthdr_sctp_eval()
411 static void nft_exthdr_dccp_eval(const struct nft_expr *expr, in nft_exthdr_dccp_eval()
499 const struct nft_expr *expr, in nft_exthdr_init()
547 const struct nft_expr *expr, in nft_exthdr_tcp_set_init()
596 const struct nft_expr *expr, in nft_exthdr_tcp_strip_init()
[all …]
H A Dnft_redir.c30 const struct nft_expr *expr) in nft_redir_validate()
44 const struct nft_expr *expr, in nft_redir_init()
78 const struct nft_expr *expr, bool reset) in nft_redir_dump()
101 static void nft_redir_eval(const struct nft_expr *expr, in nft_redir_eval()
135 nft_redir_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_ipv4_destroy()
163 nft_redir_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_ipv6_destroy()
192 nft_redir_inet_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_inet_destroy()
H A Dnft_lookup.c95 void nft_lookup_eval(const struct nft_expr *expr, in nft_lookup_eval()
135 const struct nft_expr *expr, in nft_lookup_init()
200 const struct nft_expr *expr, in nft_lookup_deactivate()
209 const struct nft_expr *expr) in nft_lookup_activate()
217 const struct nft_expr *expr) in nft_lookup_destroy()
225 const struct nft_expr *expr, bool reset) in nft_lookup_dump()
246 const struct nft_expr *expr) in nft_lookup_validate()
273 const struct nft_expr *expr) in nft_lookup_reduce()
H A Dnft_cmp.c26 void nft_cmp_eval(const struct nft_expr *expr, in nft_cmp_eval()
72 static int nft_cmp_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_cmp_init()
96 const struct nft_expr *expr, bool reset) in nft_cmp_dump()
180 const struct nft_expr *expr) in nft_cmp_offload()
210 const struct nft_expr *expr, in nft_cmp_fast_init()
240 const struct nft_expr *expr) in nft_cmp_fast_offload()
258 const struct nft_expr *expr, bool reset) in nft_cmp_fast_dump()
312 const struct nft_expr *expr, in nft_cmp16_fast_init()
339 const struct nft_expr *expr) in nft_cmp16_fast_offload()
353 const struct nft_expr *expr, bool reset) in nft_cmp16_fast_dump()
H A Dnft_queue.c28 static void nft_queue_eval(const struct nft_expr *expr, in nft_queue_eval()
55 static void nft_queue_sreg_eval(const struct nft_expr *expr, in nft_queue_sreg_eval()
72 const struct nft_expr *expr) in nft_queue_validate()
103 const struct nft_expr *expr, in nft_queue_init()
132 const struct nft_expr *expr, in nft_queue_sreg_init()
155 const struct nft_expr *expr, bool reset) in nft_queue_dump()
172 const struct nft_expr *expr, bool reset) in nft_queue_sreg_dump()
H A Dnft_meta.c309 void nft_meta_get_eval(const struct nft_expr *expr, in nft_meta_get_eval()
418 void nft_meta_set_eval(const struct nft_expr *expr, in nft_meta_set_eval()
467 const struct nft_expr *expr, in nft_meta_get_init()
584 const struct nft_expr *expr) in nft_meta_get_validate()
602 const struct nft_expr *expr) in nft_meta_set_validate()
631 const struct nft_expr *expr, in nft_meta_set_init()
670 const struct nft_expr *expr, bool reset) in nft_meta_get_dump()
686 const struct nft_expr *expr, bool reset) in nft_meta_set_dump()
703 const struct nft_expr *expr) in nft_meta_set_destroy()
714 const struct nft_expr *expr) in nft_meta_get_offload()
[all …]
H A Dnft_hash.c26 static void nft_jhash_eval(const struct nft_expr *expr, in nft_jhash_eval()
46 static void nft_symhash_eval(const struct nft_expr *expr, in nft_symhash_eval()
71 const struct nft_expr *expr, in nft_jhash_init()
118 const struct nft_expr *expr, in nft_symhash_init()
143 const struct nft_expr *expr, bool reset) in nft_jhash_dump()
170 const struct nft_expr *expr) in nft_jhash_reduce()
180 const struct nft_expr *expr, bool reset) in nft_symhash_dump()
200 const struct nft_expr *expr) in nft_symhash_reduce()
H A Dnft_tproxy.c21 static void nft_tproxy_eval_v4(const struct nft_expr *expr, in nft_tproxy_eval_v4()
84 static void nft_tproxy_eval_v6(const struct nft_expr *expr, in nft_tproxy_eval_v6()
157 static void nft_tproxy_eval(const struct nft_expr *expr, in nft_tproxy_eval()
192 const struct nft_expr *expr, in nft_tproxy_init()
274 const struct nft_expr *expr) in nft_tproxy_destroy()
297 const struct nft_expr *expr, bool reset) in nft_tproxy_dump()
316 const struct nft_expr *expr) in nft_tproxy_validate()
H A Dnft_masq.c30 const struct nft_expr *expr) in nft_masq_validate()
43 const struct nft_expr *expr, in nft_masq_init()
74 const struct nft_expr *expr, bool reset) in nft_masq_dump()
96 static void nft_masq_eval(const struct nft_expr *expr, in nft_masq_eval()
132 nft_masq_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_ipv4_destroy()
160 nft_masq_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_ipv6_destroy()
202 nft_masq_inet_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_inet_destroy()
H A Dnft_dup_netdev.c20 static void nft_dup_netdev_eval(const struct nft_expr *expr, in nft_dup_netdev_eval()
35 const struct nft_expr *expr, in nft_dup_netdev_init()
48 const struct nft_expr *expr, bool reset) in nft_dup_netdev_dump()
63 const struct nft_expr *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()
H A Dnf_tables_core.c74 static void nft_bitwise_fast_eval(const struct nft_expr *expr, in nft_bitwise_fast_eval()
84 static void nft_cmp_fast_eval(const struct nft_expr *expr, in nft_cmp_fast_eval()
94 static void nft_cmp16_fast_eval(const struct nft_expr *expr, in nft_cmp16_fast_eval()
144 static bool nft_payload_fast_eval(const struct nft_expr *expr, in nft_payload_fast_eval()
203 static void expr_call_ops_eval(const struct nft_expr *expr, in expr_call_ops_eval()
241 #define nft_rule_expr_next(expr) ((void *)expr) + expr->ops->size argument
244 #define nft_rule_dp_for_each_expr(expr, last, rule) \ argument
254 const struct nft_expr *expr, *last; in nft_do_chain() local
H A Dnft_bitwise.c91 void nft_bitwise_eval(const struct nft_expr *expr, in nft_bitwise_eval()
243 const struct nft_expr *expr, in nft_bitwise_init()
341 const struct nft_expr *expr, bool reset) in nft_bitwise_dump()
377 const struct nft_expr *expr) in nft_bitwise_offload()
395 const struct nft_expr *expr) in nft_bitwise_reduce()
473 const struct nft_expr *expr, in nft_bitwise_fast_init()
510 const struct nft_expr *expr, bool reset) in nft_bitwise_fast_dump()
539 const struct nft_expr *expr) in nft_bitwise_fast_offload()
552 const struct nft_expr *expr) in nft_bitwise_fast_reduce()
631 const struct nft_expr *expr) in nft_expr_reduce_bitwise()
H A Dnft_osf.c20 static void nft_osf_eval(const struct nft_expr *expr, struct nft_regs *regs, in nft_osf_eval()
61 const struct nft_expr *expr, in nft_osf_init()
91 const struct nft_expr *expr, bool reset) in nft_osf_dump()
111 const struct nft_expr *expr) in nft_osf_validate()
131 const struct nft_expr *expr) in nft_osf_reduce()
H A Dnft_fib.c29 int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_fib_validate()
66 int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_fib_init()
119 int nft_fib_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) in nft_fib_dump()
166 const struct nft_expr *expr) in nft_fib_reduce()
H A Dnft_nat.c103 static void nft_nat_eval(const struct nft_expr *expr, in nft_nat_eval()
140 const struct nft_expr *expr) in nft_nat_validate()
170 static int nft_nat_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_nat_init()
261 const struct nft_expr *expr, bool reset) in nft_nat_dump()
307 nft_nat_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_nat_destroy()
335 static void nft_nat_inet_eval(const struct nft_expr *expr, in nft_nat_inet_eval()
/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
73 nft_meta_bridge_get_init(const struct nft_ctx * ctx,const struct nft_expr * expr,const struct nlattr * const tb[]) nft_meta_bridge_get_init() argument
108 nft_meta_bridge_set_eval(const struct nft_expr * expr,struct nft_regs * regs,const struct nft_pktinfo * pkt) nft_meta_bridge_set_eval() argument
128 nft_meta_bridge_set_init(const struct nft_ctx * ctx,const struct nft_expr * expr,const struct nlattr * const tb[]) 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/tools/sched_ext/include/scx/
H A Dbpf_arena_common.bpf.h91 #define __cond_break(expr) expr argument
105 #define __cond_break(expr) \ argument
129 #define __cond_break(expr) \ argument
155 #define __cond_break(expr) \ argument
/linux/scripts/kconfig/
H A Dexpr.h32 struct expr * const expr; member
47 struct expr { struct
49 enum expr_type type; argument
52 union expr_data left, right; argument
60 struct expr *expr; member
193 struct expr *expr; /* the optional conditional part of the property */ member

12345