Searched refs:expr (Results 76 - 100 of 200) sorted by relevance

12345678

/linux-master/tools/testing/selftests/openat2/
H A Dhelpers.h89 #define E_assert(expr, msg, ...) \
91 if (!(expr)) \
93 __FILE__, __LINE__, #expr, ##__VA_ARGS__); \
/linux-master/net/netfilter/
H A Dnft_inner.c48 struct __nft_expr expr; member in struct:nft_inner
248 static void nft_inner_eval(const struct nft_expr *expr, struct nft_regs *regs, argument
252 const struct nft_inner *priv = nft_expr_priv(expr);
263 nft_payload_inner_eval((struct nft_expr *)&priv->expr, regs, pkt, tun_ctx);
266 nft_meta_inner_eval((struct nft_expr *)&priv->expr, regs, pkt, tun_ctx);
292 const struct nft_expr *expr,
295 struct nft_inner *priv = nft_expr_priv(expr);
334 priv->expr.ops = expr_info.ops;
343 err = expr_info.ops->init(ctx, (struct nft_expr *)&priv->expr,
352 const struct nft_expr *expr, boo
291 nft_inner_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument
351 nft_inner_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
[all...]
H A Dnft_connlimit.c179 static void nft_connlimit_eval(const struct nft_expr *expr, argument
183 struct nft_connlimit *priv = nft_expr_priv(expr);
189 const struct nft_expr *expr, bool reset)
191 struct nft_connlimit *priv = nft_expr_priv(expr);
197 const struct nft_expr *expr,
200 struct nft_connlimit *priv = nft_expr_priv(expr);
206 const struct nft_expr *expr)
208 struct nft_connlimit *priv = nft_expr_priv(expr);
230 const struct nft_expr *expr)
232 struct nft_connlimit *priv = nft_expr_priv(expr);
188 nft_connlimit_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
196 nft_connlimit_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument
205 nft_connlimit_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) argument
229 nft_connlimit_destroy_clone(const struct nft_ctx *ctx, const struct nft_expr *expr) argument
238 nft_connlimit_gc(struct net *net, const struct nft_expr *expr) argument
[all...]
H A Dnft_limit.c177 static void nft_limit_pkts_eval(const struct nft_expr *expr, argument
181 struct nft_limit_priv_pkts *priv = nft_expr_priv(expr);
196 const struct nft_expr *expr,
199 struct nft_limit_priv_pkts *priv = nft_expr_priv(expr);
211 const struct nft_expr *expr, bool reset)
213 const struct nft_limit_priv_pkts *priv = nft_expr_priv(expr);
219 const struct nft_expr *expr)
221 const struct nft_limit_priv_pkts *priv = nft_expr_priv(expr);
249 static void nft_limit_bytes_eval(const struct nft_expr *expr, argument
253 struct nft_limit_priv *priv = nft_expr_priv(expr);
195 nft_limit_pkts_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument
210 nft_limit_pkts_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
218 nft_limit_pkts_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) argument
260 nft_limit_bytes_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument
269 nft_limit_bytes_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
277 nft_limit_bytes_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) argument
[all...]
H A Dnft_ct_fast.c7 void nft_ct_get_fast_eval(const struct nft_expr *expr, argument
11 const struct nft_ct *priv = nft_expr_priv(expr);
H A Dnft_byteorder.c26 void nft_byteorder_eval(const struct nft_expr *expr, argument
30 const struct nft_byteorder *priv = nft_expr_priv(expr);
98 const struct nft_expr *expr,
101 struct nft_byteorder *priv = nft_expr_priv(expr);
153 const struct nft_expr *expr, bool reset)
155 const struct nft_byteorder *priv = nft_expr_priv(expr);
174 const struct nft_expr *expr)
176 struct nft_byteorder *priv = nft_expr_priv(expr);
97 nft_byteorder_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument
152 nft_byteorder_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
173 nft_byteorder_reduce(struct nft_regs_track *track, const struct nft_expr *expr) argument
H A Dnft_quota.c202 static void nft_quota_eval(const struct nft_expr *expr, argument
206 struct nft_quota *priv = nft_expr_priv(expr);
212 const struct nft_expr *expr,
215 struct nft_quota *priv = nft_expr_priv(expr);
221 const struct nft_expr *expr, bool reset)
223 struct nft_quota *priv = nft_expr_priv(expr);
229 const struct nft_expr *expr)
231 struct nft_quota *priv = nft_expr_priv(expr);
211 nft_quota_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument
220 nft_quota_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
228 nft_quota_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) argument
H A Dnft_rt.c53 void nft_rt_get_eval(const struct nft_expr *expr, argument
57 const struct nft_rt *priv = nft_expr_priv(expr);
111 const struct nft_expr *expr,
114 struct nft_rt *priv = nft_expr_priv(expr);
149 const struct nft_expr *expr, bool reset)
151 const struct nft_rt *priv = nft_expr_priv(expr);
163 static int nft_rt_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, argument
166 const struct nft_rt *priv = nft_expr_priv(expr);
110 nft_rt_get_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument
148 nft_rt_get_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
H A Dnf_tables_offload.c94 struct nft_expr *expr; local
96 expr = nft_expr_first(rule);
97 while (nft_expr_more(rule, expr)) {
98 if (expr->ops->offload_action &&
99 expr->ops->offload_action(expr))
102 expr = nft_expr_next(expr);
112 expr = nft_expr_first(rule);
122 while (nft_expr_more(rule, expr)) {
298 struct nft_expr *expr, *next; local
[all...]
H A Dnft_meta.c309 void nft_meta_get_eval(const struct nft_expr *expr, argument
313 const struct nft_meta *priv = nft_expr_priv(expr);
418 void nft_meta_set_eval(const struct nft_expr *expr, argument
422 const struct nft_meta *meta = nft_expr_priv(expr);
467 const struct nft_expr *expr,
470 struct nft_meta *priv = nft_expr_priv(expr);
584 const struct nft_expr *expr,
587 const struct nft_meta *priv = nft_expr_priv(expr);
603 const struct nft_expr *expr,
606 struct nft_meta *priv = nft_expr_priv(expr);
466 nft_meta_get_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument
583 nft_meta_get_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **data) argument
602 nft_meta_set_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **data) argument
632 nft_meta_set_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument
671 nft_meta_get_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
687 nft_meta_set_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
704 nft_meta_set_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) argument
714 nft_meta_get_offload(struct nft_offload_ctx *ctx, struct nft_flow_rule *flow, const struct nft_expr *expr) argument
747 nft_meta_get_reduce(struct nft_regs_track *track, const struct nft_expr *expr) argument
783 nft_meta_set_reduce(struct nft_regs_track *track, const struct nft_expr *expr) argument
835 nft_meta_inner_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument
859 nft_meta_inner_eval(const struct nft_expr *expr, struct nft_regs *regs, const struct nft_pktinfo *pkt, struct nft_inner_tun_ctx *tun_ctx) argument
[all...]
H A Dnft_nat.c103 static void nft_nat_eval(const struct nft_expr *expr, argument
107 const struct nft_nat *priv = nft_expr_priv(expr);
140 const struct nft_expr *expr,
143 struct nft_nat *priv = nft_expr_priv(expr);
171 static int nft_nat_init(const struct nft_ctx *ctx, const struct nft_expr *expr, argument
174 struct nft_nat *priv = nft_expr_priv(expr);
262 const struct nft_expr *expr, bool reset)
264 const struct nft_nat *priv = nft_expr_priv(expr);
308 nft_nat_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) argument
310 const struct nft_nat *priv = nft_expr_priv(expr);
139 nft_nat_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **data) argument
261 nft_nat_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
336 nft_nat_inet_eval(const struct nft_expr *expr, struct nft_regs *regs, const struct nft_pktinfo *pkt) argument
[all...]
H A Dnft_reject_inet.c17 static void nft_reject_inet_eval(const struct nft_expr *expr, argument
21 struct nft_reject *priv = nft_expr_priv(expr);
64 const struct nft_expr *expr,
63 nft_reject_inet_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **data) argument
H A Dnft_payload.c168 void nft_payload_eval(const struct nft_expr *expr, argument
172 const struct nft_payload *priv = nft_expr_priv(expr);
232 const struct nft_expr *expr,
235 struct nft_payload *priv = nft_expr_priv(expr);
247 const struct nft_expr *expr, bool reset)
249 const struct nft_payload *priv = nft_expr_priv(expr);
263 const struct nft_expr *expr)
265 const struct nft_payload *priv = nft_expr_priv(expr);
268 if (!nft_reg_track_cmp(track, expr, priv->dreg)) {
269 nft_reg_track_update(track, expr, pri
231 nft_payload_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument
246 nft_payload_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
262 nft_payload_reduce(struct nft_regs_track *track, const struct nft_expr *expr) argument
560 nft_payload_offload(struct nft_offload_ctx *ctx, struct nft_flow_rule *flow, const struct nft_expr *expr) argument
604 nft_payload_inner_eval(const struct nft_expr *expr, struct nft_regs *regs, const struct nft_pktinfo *pkt, struct nft_inner_tun_ctx *tun_ctx) argument
655 nft_payload_inner_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument
813 nft_payload_set_eval(const struct nft_expr *expr, struct nft_regs *regs, const struct nft_pktinfo *pkt) argument
883 nft_payload_set_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument
935 nft_payload_set_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
955 nft_payload_set_reduce(struct nft_regs_track *track, const struct nft_expr *expr) argument
[all...]
H A Dnft_log.c104 static void nft_log_eval(const struct nft_expr *expr, argument
108 const struct nft_log *priv = nft_expr_priv(expr);
146 const struct nft_expr *expr,
149 struct nft_log *priv = nft_expr_priv(expr);
230 const struct nft_expr *expr)
232 struct nft_log *priv = nft_expr_priv(expr);
245 const struct nft_expr *expr, bool reset)
247 const struct nft_log *priv = nft_expr_priv(expr);
145 nft_log_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument
229 nft_log_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) argument
244 nft_log_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
/linux-master/security/selinux/ss/
H A Dconstraint.h25 #define CEXPR_NOT 1 /* not expr */
26 #define CEXPR_AND 2 /* expr and expr */
27 #define CEXPR_OR 3 /* expr or expr */
60 struct constraint_expr *expr; /* constraint on permissions */ member in struct:constraint_node
/linux-master/include/net/netfilter/
H A Dnf_tables.h350 * @expr: set must support for expressions
364 bool expr; member in struct:nft_set_desc
410 static inline void *nft_expr_priv(const struct nft_expr *expr) argument
412 return (void *)expr->data;
420 void nft_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *expr);
422 const struct nft_expr *expr, bool reset);
424 const struct nft_expr *expr);
465 const struct nft_expr *expr,
934 void (*eval)(const struct nft_expr *expr,
942 const struct nft_expr *expr,
998 nft_expr_next(const struct nft_expr *expr) argument
1008 nft_expr_more(const struct nft_rule *rule, const struct nft_expr *expr) argument
1029 struct nft_expr *expr; local
1829 nft_reduce_is_readonly(const struct nft_expr *expr) argument
1839 nft_reg_track_cmp(struct nft_regs_track *track, const struct nft_expr *expr, u8 dreg) argument
[all...]
/linux-master/tools/power/cpupower/utils/
H A Dversion-gen.sh34 VN=$(expr "$VN" : v*'\(.*\)')
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dstress_code_patching.sh30 END_TIME=`expr $START_TIME + $TIMEOUT`
/linux-master/net/ipv6/netfilter/
H A Dnft_reject_ipv6.c19 static void nft_reject_ipv6_eval(const struct nft_expr *expr, argument
23 struct nft_reject *priv = nft_expr_priv(expr);
/linux-master/net/ipv4/netfilter/
H A Dnft_reject_ipv4.c19 static void nft_reject_ipv4_eval(const struct nft_expr *expr, argument
23 struct nft_reject *priv = nft_expr_priv(expr);
/linux-master/tools/perf/util/
H A Dexpr.h49 const char *expr);
51 int expr__find_ids(const char *expr, const char *one,
H A Dprint-events.h26 const char *expr,
/linux-master/tools/perf/tests/shell/
H A Dstat_bpf_counters.sh16 upper=$(expr $first_num + $first_num / 5 )
18 lower=$(expr $first_num - $first_num / 5 )
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Dkvm-check-branches.sh65 ntry=`expr $ntry + 1`
83 nfail=`expr $nfail + 1`
/linux-master/tools/testing/selftests/memfd/
H A Drun_hugetlbfs_test.sh27 hpages_needed=`expr $hpages_test - $freepgs`

Completed in 385 milliseconds

12345678