Searched refs:expr (Results 1 - 25 of 200) sorted by relevance

12345678

/linux-master/tools/testing/selftests/kvm/include/
H A Dkvm_util_types.h14 #define __kvm_static_assert(expr, msg, ...) _Static_assert(expr, msg)
15 #define kvm_static_assert(expr, ...) __kvm_static_assert(expr, ##__VA_ARGS__, #expr)
/linux-master/drivers/md/dm-vdo/
H A Dpermassert.h31 #define VDO_ASSERT(expr, ...) vdo_must_use(__VDO_ASSERT(expr, __VA_ARGS__))
34 #define VDO_ASSERT_LOG_ONLY(expr, ...) __VDO_ASSERT(expr, __VA_ARGS__)
36 #define __VDO_ASSERT(expr, ...) \
37 (likely(expr) ? VDO_SUCCESS \
38 : vdo_assertion_failed(STRINGIFY(expr), __FILE__, __LINE__, __VA_ARGS__))
/linux-master/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-master/tools/testing/selftests/ftrace/test.d/00basic/
H A Dringbuffer_size.tc9 expr $ORIG / 2 > buffer_size_kb
11 expr $ORIG \* 2 > buffer_size_kb
/linux-master/scripts/kconfig/
H A Dexpr.h33 struct expr *expr; member in union:expr_data
37 struct expr { struct
47 for (e = (l); e && (s = e->right.sym); e = e->left.expr)
50 struct expr *expr; member in struct:expr_value
185 struct expr *expr; /* the optional conditional part of the property */ member in struct:property
237 struct expr *visibility;
243 struct expr *de
[all...]
H A Dexpr.c16 static struct expr *expr_eliminate_yn(struct expr *e);
18 struct expr *expr_alloc_symbol(struct symbol *sym)
20 struct expr *e = xcalloc(1, sizeof(*e));
26 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce)
28 struct expr *e = xcalloc(1, sizeof(*e));
30 e->left.expr = ce;
34 struct expr *expr_alloc_two(enum expr_type type, struct expr *e
[all...]
/linux-master/tools/perf/util/
H A Dbpf-filter.y18 static void perf_bpf_filter_error(struct list_head *expr __maybe_unused,
34 struct perf_bpf_filter_expr *expr;
38 %type <expr> filter_term filter_expr
39 %destructor { free ($$); } <expr>
60 struct perf_bpf_filter_expr *expr;
63 expr = $1;
65 expr = perf_bpf_filter_expr__new(0, 0, PBF_OP_GROUP_BEGIN, 1);
66 list_add_tail(&$1->list, &expr->groups);
68 expr->val++;
69 list_add_tail(&$3->list, &expr
[all...]
H A Dbpf-filter.c58 static int check_sample_flags(struct evsel *evsel, struct perf_bpf_filter_expr *expr) argument
62 if (evsel->core.attr.sample_type & expr->sample_flags)
65 if (expr->op == PBF_OP_GROUP_BEGIN) {
68 list_for_each_entry(group, &expr->groups, list) {
75 info = get_sample_info(expr->sample_flags);
78 evsel__name(evsel), expr->sample_flags);
94 struct perf_bpf_filter_expr *expr; local
104 list_for_each_entry(expr, &evsel->bpf_filters, list) {
106 .op = expr->op,
107 .part = expr
159 struct perf_bpf_filter_expr *expr, *tmp; local
180 struct perf_bpf_filter_expr *expr; local
[all...]
H A Dexpr.y11 #include "expr.h"
12 #include "expr-bison.h"
56 %type <ids> expr if_expr
157 if_expr: expr IF expr ELSE if_expr
171 * ids are being computed and the IF expr is a non-zero
196 | expr
199 expr: NUMBER label
218 | expr '|' expr
[all...]
/linux-master/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,
48 const struct nft_expr *expr);
51 void nft_meta_inner_eval(const struct nft_expr *expr,
[all...]
H A Dnft_fib.h21 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);
H A Dnft_reject.h18 const struct nft_expr *expr,
22 const struct nft_expr *expr,
26 const struct nft_expr *expr, bool reset);
/linux-master/tools/perf/scripts/perl/bin/
H A Dfailed-syscalls-report5 if ! expr match "$1" "-" > /dev/null ; then
/linux-master/tools/perf/scripts/python/bin/
H A Dsyscall-counts-report5 if ! expr match "$1" "-" > /dev/null ; then
H A Dfailed-syscalls-by-pid-report5 if ! expr match "$1" "-" > /dev/null ; then
H A Dsyscall-counts-by-pid-report5 if ! expr match "$1" "-" > /dev/null ; then
/linux-master/init/
H A Dbuild-version5 ver=$(expr ${prev_ver} + 1 2>/dev/null) ||
/linux-master/drivers/gpu/drm/i915/
H A Di915_gem.h104 #define GEM_WARN_ON(expr) WARN_ON(expr)
106 #define GEM_DEBUG_WARN_ON(expr) GEM_WARN_ON(expr)
112 #define GEM_BUG_ON(expr) BUILD_BUG_ON_INVALID(expr)
113 #define GEM_WARN_ON(expr) ({ unlikely(!!(expr)); })
115 #define GEM_DEBUG_WARN_ON(expr) ({ BUILD_BUG_ON_INVALID(expr);
[all...]
/linux-master/include/linux/
H A Dbuild_bug.h71 * true for expr).
77 #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr)
78 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
H A Dseqlock_types.h57 #define __SEQ_LOCK(expr) expr
59 #define __SEQ_LOCK(expr)
/linux-master/tools/include/linux/
H A Dbuild_bug.h71 * true for expr).
78 #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr)
79 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
/linux-master/net/netfilter/
H A Dnft_objref.c14 #define nft_objref_priv(expr) *((struct nft_object **)nft_expr_priv(expr))
16 void nft_objref_eval(const struct nft_expr *expr, argument
20 struct nft_object *obj = nft_objref_priv(expr);
26 const struct nft_expr *expr,
29 struct nft_object *obj = nft_objref_priv(expr);
47 nft_objref_priv(expr) = obj;
53 const struct nft_expr *expr, bool reset)
55 const struct nft_object *obj = nft_objref_priv(expr);
69 const struct nft_expr *expr,
25 nft_objref_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument
52 nft_objref_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
68 nft_objref_deactivate(const struct nft_ctx *ctx, const struct nft_expr *expr, enum nft_trans_phase phase) argument
80 nft_objref_activate(const struct nft_ctx *ctx, const struct nft_expr *expr) argument
105 nft_objref_map_eval(const struct nft_expr *expr, struct nft_regs *regs, const struct nft_pktinfo *pkt) argument
128 nft_objref_map_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument
161 nft_objref_map_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
176 nft_objref_map_deactivate(const struct nft_ctx *ctx, const struct nft_expr *expr, enum nft_trans_phase phase) argument
185 nft_objref_map_activate(const struct nft_ctx *ctx, const struct nft_expr *expr) argument
193 nft_objref_map_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) argument
[all...]
H A Dnft_fib_inet.c14 static void nft_fib_inet_eval(const struct nft_expr *expr, argument
18 const struct nft_fib *priv = nft_expr_priv(expr);
25 return nft_fib4_eval(expr, regs, pkt);
27 return nft_fib4_eval_type(expr, regs, pkt);
34 return nft_fib6_eval(expr, regs, pkt);
36 return nft_fib6_eval_type(expr, regs, pkt);
H A Dnft_dup_netdev.c20 static void nft_dup_netdev_eval(const struct nft_expr *expr, argument
24 struct nft_dup_netdev *priv = nft_expr_priv(expr);
35 const struct nft_expr *expr,
38 struct nft_dup_netdev *priv = nft_expr_priv(expr);
48 const struct nft_expr *expr, bool reset)
50 struct nft_dup_netdev *priv = nft_expr_priv(expr);
63 const struct nft_expr *expr)
65 const struct nft_dup_netdev *priv = nft_expr_priv(expr);
71 static bool nft_dup_netdev_offload_action(const struct nft_expr *expr) argument
34 nft_dup_netdev_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument
47 nft_dup_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
61 nft_dup_netdev_offload(struct nft_offload_ctx *ctx, struct nft_flow_rule *flow, const struct nft_expr *expr) argument
/linux-master/tools/testing/selftests/nolibc/
H A Dnolibc-test.c172 * expression <expr>, print the status to stdout, and update the "ret"
177 #define EXPECT_ZR(cond, expr) \
178 do { if (!(cond)) result(llen, SKIPPED); else ret += expect_zr(expr, llen); } while (0)
181 int expect_zr(int expr, int llen) argument
183 int ret = !(expr == 0);
185 llen += printf(" = %d ", expr);
191 #define EXPECT_NZ(cond, expr, val) \
192 do { if (!(cond)) result(llen, SKIPPED); else ret += expect_nz(expr, llen; } while (0)
195 int expect_nz(int expr, int llen) argument
197 int ret = !(expr !
209 expect_eq(uint64_t expr, int llen, uint64_t val) argument
223 expect_ne(int expr, int llen, int val) argument
237 expect_ge(int expr, int llen, int val) argument
251 expect_gt(int expr, int llen, int val) argument
265 expect_le(int expr, int llen, int val) argument
279 expect_lt(int expr, int llen, int val) argument
293 expect_syszr(int expr, int llen) argument
313 expect_syseq(int expr, int llen, int val) argument
333 expect_sysne(int expr, int llen, int val) argument
356 expect_syserr2(int expr, int expret, int experr1, int experr2, int llen) argument
380 expect_ptrzr(const void *expr, int llen) argument
399 expect_ptrnz(const void *expr, int llen) argument
417 expect_ptreq(const void *expr, int llen, const void *cmp) argument
435 expect_ptrne(const void *expr, int llen, const void *cmp) argument
453 expect_ptrge(const void *expr, int llen, const void *cmp) argument
466 expect_ptrgt(const void *expr, int llen, const void *cmp) argument
480 expect_ptrle(const void *expr, int llen, const void *cmp) argument
494 expect_ptrlt(const void *expr, int llen, const void *cmp) argument
510 expect_ptrerr2(const void *expr, const void *expret, int experr1, int experr2, int llen) argument
533 expect_strzr(const char *expr, int llen) argument
552 expect_strnz(const char *expr, int llen) argument
571 expect_streq(const char *expr, int llen, const char *cmp) argument
590 expect_strne(const char *expr, int llen, const char *cmp) argument
608 expect_str_buf_eq(size_t expr, const char *buf, size_t val, int llen, const char *cmp) argument
[all...]

Completed in 409 milliseconds

12345678