/linux-master/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | 172 * 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) 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) 197 int ret = !(expr ! 180 expect_zr(int expr, int llen) argument 194 expect_nz(int expr, int llen) argument 208 expect_eq(uint64_t expr, int llen, uint64_t val) argument 222 expect_ne(int expr, int llen, int val) argument 236 expect_ge(int expr, int llen, int val) argument 250 expect_gt(int expr, int llen, int val) argument 264 expect_le(int expr, int llen, int val) argument 278 expect_lt(int expr, int llen, int val) argument 292 expect_syszr(int expr, int llen) argument 312 expect_syseq(int expr, int llen, int val) argument 332 expect_sysne(int expr, int llen, int val) argument 355 expect_syserr2(int expr, int expret, int experr1, int experr2, int llen) argument 379 expect_ptrzr(const void *expr, int llen) argument 398 expect_ptrnz(const void *expr, int llen) argument 416 expect_ptreq(const void *expr, int llen, const void *cmp) argument 434 expect_ptrne(const void *expr, int llen, const void *cmp) argument 452 expect_ptrge(const void *expr, int llen, const void *cmp) argument 465 expect_ptrgt(const void *expr, int llen, const void *cmp) argument 479 expect_ptrle(const void *expr, int llen, const void *cmp) argument 493 expect_ptrlt(const void *expr, int llen, const void *cmp) argument 509 expect_ptrerr2(const void *expr, const void *expret, int experr1, int experr2, int llen) argument 532 expect_strzr(const char *expr, int llen) argument 551 expect_strnz(const char *expr, int llen) argument 570 expect_streq(const char *expr, int llen, const char *cmp) argument 589 expect_strne(const char *expr, int llen, const char *cmp) argument [all...] |
/linux-master/tools/pci/ |
H A D | pcitest.sh | 12 bar=`expr $bar + 1` 28 msi=`expr $msi + 1` 38 msix=`expr $msix + 1`
|
/linux-master/net/netfilter/ |
H A D | nft_fib_netdev.c | 21 static void nft_fib_netdev_eval(const struct nft_expr *expr, argument 25 const struct nft_fib *priv = nft_expr_priv(expr); 32 return nft_fib4_eval(expr, regs, pkt); 34 return nft_fib4_eval_type(expr, regs, pkt); 43 return nft_fib6_eval(expr, regs, pkt); 45 return nft_fib6_eval_type(expr, regs, pkt);
|
H A D | nft_numgen.c | 36 static void nft_ng_inc_eval(const struct nft_expr *expr, argument 40 struct nft_ng_inc *priv = nft_expr_priv(expr); 53 const struct nft_expr *expr, 56 struct nft_ng_inc *priv = nft_expr_priv(expr); 88 const struct nft_expr *expr) 90 const struct nft_ng_inc *priv = nft_expr_priv(expr); 116 const struct nft_expr *expr, bool reset) 118 const struct nft_ng_inc *priv = nft_expr_priv(expr); 125 const struct nft_expr *expr) 127 const struct nft_ng_inc *priv = nft_expr_priv(expr); 52 nft_ng_inc_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument 87 nft_ng_inc_reduce(struct nft_regs_track *track, const struct nft_expr *expr) argument 115 nft_ng_inc_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument 124 nft_ng_inc_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) argument 143 nft_ng_random_eval(const struct nft_expr *expr, struct nft_regs *regs, const struct nft_pktinfo *pkt) argument 152 nft_ng_random_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument 172 nft_ng_random_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument 181 nft_ng_random_reduce(struct nft_regs_track *track, const struct nft_expr *expr) argument [all...] |
H A D | nf_tables_core.c | 77 static void nft_bitwise_fast_eval(const struct nft_expr *expr, argument 80 const struct nft_bitwise_fast_expr *priv = nft_expr_priv(expr); 87 static void nft_cmp_fast_eval(const struct nft_expr *expr, argument 90 const struct nft_cmp_fast_expr *priv = nft_expr_priv(expr); 97 static void nft_cmp16_fast_eval(const struct nft_expr *expr, argument 100 const struct nft_cmp16_fast_expr *priv = nft_expr_priv(expr); 147 static bool nft_payload_fast_eval(const struct nft_expr *expr, argument 151 const struct nft_payload *priv = nft_expr_priv(expr); 206 static void expr_call_ops_eval(const struct nft_expr *expr, argument 216 e = (unsigned long)expr 257 const struct nft_expr *expr, *last; local [all...] |
H A D | nft_fwd_netdev.c | 24 static void nft_fwd_netdev_eval(const struct nft_expr *expr, argument 28 struct nft_fwd_netdev *priv = nft_expr_priv(expr); 47 const struct nft_expr *expr, 50 struct nft_fwd_netdev *priv = nft_expr_priv(expr); 60 const struct nft_expr *expr, bool reset) 62 struct nft_fwd_netdev *priv = nft_expr_priv(expr); 75 const struct nft_expr *expr) 77 const struct nft_fwd_netdev *priv = nft_expr_priv(expr); 83 static bool nft_fwd_netdev_offload_action(const struct nft_expr *expr) argument 94 static void nft_fwd_neigh_eval(const struct nft_expr *expr, argument 46 nft_fwd_netdev_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument 59 nft_fwd_netdev_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument 73 nft_fwd_netdev_offload(struct nft_offload_ctx *ctx, struct nft_flow_rule *flow, const struct nft_expr *expr) argument 155 nft_fwd_neigh_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument 190 nft_fwd_neigh_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument 206 nft_fwd_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **data) argument [all...] |
H A D | nft_dynset.c | 22 bool expr; member in struct:nft_dynset 33 struct nft_expr *expr; local 37 expr = nft_setelem_expr_at(elem_expr, elem_expr->size); 38 if (nft_expr_clone(expr, priv->expr_array[i], GFP_ATOMIC) < 0) 48 const struct nft_expr *expr, 51 const struct nft_dynset *priv = nft_expr_priv(expr); 81 void nft_dynset_eval(const struct nft_expr *expr, argument 84 const struct nft_dynset *priv = nft_expr_priv(expr); 95 expr, regs, &ext)) { 129 struct nft_expr *expr; local 47 nft_dynset_new(struct nft_set *set, const struct nft_expr *expr, struct nft_regs *regs) argument 161 nft_dynset_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument 340 nft_dynset_deactivate(const struct nft_ctx *ctx, const struct nft_expr *expr, enum nft_trans_phase phase) argument 349 nft_dynset_activate(const struct nft_ctx *ctx, const struct nft_expr *expr) argument 357 nft_dynset_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) argument 369 nft_dynset_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument [all...] |
H A D | nft_immediate.c | 18 void nft_immediate_eval(const struct nft_expr *expr, argument 22 const struct nft_immediate_expr *priv = nft_expr_priv(expr); 47 const struct nft_expr *expr, 50 struct nft_immediate_expr *priv = nft_expr_priv(expr); 96 const struct nft_expr *expr) 98 const struct nft_immediate_expr *priv = nft_expr_priv(expr); 143 const struct nft_expr *expr, 146 const struct nft_immediate_expr *priv = nft_expr_priv(expr); 187 const struct nft_expr *expr) 189 const struct nft_immediate_expr *priv = nft_expr_priv(expr); 46 nft_immediate_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument 95 nft_immediate_activate(const struct nft_ctx *ctx, const struct nft_expr *expr) argument 142 nft_immediate_deactivate(const struct nft_ctx *ctx, const struct nft_expr *expr, enum nft_trans_phase phase) argument 186 nft_immediate_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) argument 231 nft_immediate_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument 246 nft_immediate_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **d) argument 300 nft_immediate_offload(struct nft_offload_ctx *ctx, struct nft_flow_rule *flow, const struct nft_expr *expr) argument 314 nft_immediate_offload_action(const struct nft_expr *expr) argument 324 nft_immediate_reduce(struct nft_regs_track *track, const struct nft_expr *expr) argument [all...] |
H A D | nft_hash.c | 26 static void nft_jhash_eval(const struct nft_expr *expr, argument 30 struct nft_jhash *priv = nft_expr_priv(expr); 46 static void nft_symhash_eval(const struct nft_expr *expr, argument 50 struct nft_symhash *priv = nft_expr_priv(expr); 70 const struct nft_expr *expr, 73 struct nft_jhash *priv = nft_expr_priv(expr); 117 const struct nft_expr *expr, 120 struct nft_symhash *priv = nft_expr_priv(expr); 142 const struct nft_expr *expr, bool reset) 144 const struct nft_jhash *priv = nft_expr_priv(expr); 69 nft_jhash_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument 116 nft_symhash_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument 141 nft_jhash_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument 168 nft_jhash_reduce(struct nft_regs_track *track, const struct nft_expr *expr) argument 178 nft_symhash_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument 198 nft_symhash_reduce(struct nft_regs_track *track, const struct nft_expr *expr) argument [all...] |
H A D | nft_compat.c | 73 static void nft_target_eval_xt(const struct nft_expr *expr, argument 77 void *info = nft_expr_priv(expr); 78 struct xt_target *target = expr->ops->data; 100 static void nft_target_eval_bridge(const struct nft_expr *expr, argument 104 void *info = nft_expr_priv(expr); 105 struct xt_target *target = expr->ops->data; 243 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, argument 246 void *info = nft_expr_priv(expr); 247 struct xt_target *target = expr->ops->data; 292 static void __nft_mt_tg_destroy(struct module *me, const struct nft_expr *expr) argument 299 nft_target_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) argument 334 nft_target_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument 352 nft_target_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **data) argument 392 __nft_match_eval(const struct nft_expr *expr, struct nft_regs *regs, const struct nft_pktinfo *pkt, void *info) argument 421 nft_match_large_eval(const struct nft_expr *expr, struct nft_regs *regs, const struct nft_pktinfo *pkt) argument 430 nft_match_eval(const struct nft_expr *expr, struct nft_regs *regs, const struct nft_pktinfo *pkt) argument 497 __nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[], void *info) argument 525 nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument 532 nft_match_large_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument 550 __nft_match_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr, void *info) argument 568 nft_match_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) argument 574 nft_match_large_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) argument 582 __nft_match_dump(struct sk_buff *skb, const struct nft_expr *expr, void *info) argument 599 nft_match_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument 613 nft_match_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **data) argument 776 nft_match_reduce(struct nft_regs_track *track, const struct nft_expr *expr) argument [all...] |
H A D | nft_queue.c | 28 static void nft_queue_eval(const struct nft_expr *expr, argument 32 struct nft_queue *priv = nft_expr_priv(expr); 55 static void nft_queue_sreg_eval(const struct nft_expr *expr, argument 59 struct nft_queue *priv = nft_expr_priv(expr); 72 const struct nft_expr *expr, 104 const struct nft_expr *expr, 107 struct nft_queue *priv = nft_expr_priv(expr); 133 const struct nft_expr *expr, 136 struct nft_queue *priv = nft_expr_priv(expr); 156 const struct nft_expr *expr, boo 71 nft_queue_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **data) argument 103 nft_queue_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument 132 nft_queue_sreg_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument 155 nft_queue_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument 172 nft_queue_sreg_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bpf_misc.h | 81 #define __imm_const(name, expr) [name]"i"(expr) 84 #define __imm_insn(name, expr) [name]"i"(*(long *)&(expr)) 136 #define __sink(expr) asm volatile("" : "+g"(expr))
|
/linux-master/tools/perf/scripts/perl/bin/ |
H A D | rwtop-report | 7 if expr match "$i" "-" > /dev/null ; then
|
/linux-master/tools/testing/selftests/bpf/benchs/ |
H A D | run_bench_bpf_hashmap_full_update.sh | 8 nr_threads=`expr $(cat /proc/cpuinfo | grep "processor"| wc -l) - 1`
|
/linux-master/scripts/kconfig/ |
H A D | menu.c | 83 static struct expr *rewrite_m(struct expr *e) 90 e->left.expr = rewrite_m(e->left.expr); 94 e->left.expr = rewrite_m(e->left.expr); 95 e->right.expr = rewrite_m(e->right.expr); 108 void menu_add_dep(struct expr *dep) 129 static struct property *menu_add_prop(enum prop_type type, struct expr *exp argument 199 menu_add_visibility(struct expr *expr) argument 205 menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep) argument 683 get_dep_str(struct gstr *r, struct expr *expr, const char *prefix) argument [all...] |
/linux-master/drivers/pinctrl/aspeed/ |
H A D | pinmux-aspeed.c | 66 * @expr: An expression controlling the signal for a mux function on a pin 84 const struct aspeed_sig_expr *expr, bool enabled) 90 return ctx->ops->eval(ctx, expr, enabled); 92 for (i = 0; i < expr->ndescs; i++) { 93 const struct aspeed_sig_desc *desc = &expr->descs[i]; 83 aspeed_sig_expr_eval(struct aspeed_pinmux_data *ctx, const struct aspeed_sig_expr *expr, bool enabled) argument
|
/linux-master/tools/testing/selftests/ftrace/test.d/kprobe/ |
H A D | probepoint.tc | 17 PREV=`expr $A1 - $A2` # offset to previous symbol 18 NEXT=+`expr $A3 - $A2` # offset to next symbol
|
/linux-master/net/bridge/netfilter/ |
H A D | nft_meta_bridge.c | 24 static void nft_meta_bridge_get_eval(const struct nft_expr *expr, argument 28 const struct nft_meta *priv = nft_expr_priv(expr); 63 return nft_meta_get_eval(expr, regs, pkt); 73 const struct nft_expr *expr, 76 struct nft_meta *priv = nft_expr_priv(expr); 90 return nft_meta_get_init(ctx, expr, tb); 108 static void nft_meta_bridge_set_eval(const struct nft_expr *expr, argument 112 const struct nft_meta *meta = nft_expr_priv(expr); 123 nft_meta_set_eval(expr, regs, pkt); 128 const struct nft_expr *expr, 72 nft_meta_bridge_get_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument 127 nft_meta_bridge_set_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument 152 nft_meta_bridge_set_reduce(struct nft_regs_track *track, const struct nft_expr *expr) argument 170 nft_meta_bridge_set_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nft_data **data) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/ |
H A D | os_types.h | 74 #define ASSERT_CRITICAL(expr) do { \ 75 if (WARN_ON(!(expr))) \ 79 #define ASSERT(expr) do { \ 80 if (WARN_ON_ONCE(!(expr))) \
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_memcpy.c | 35 #define CI_BUG_ON(expr) BUG_ON(expr) 37 #define CI_BUG_ON(expr) BUILD_BUG_ON_INVALID(expr)
|
/linux-master/tools/memory-model/scripts/ |
H A D | cmplitmushist.sh | 39 badmacnam=`expr "$badmacnam" + 1` 55 timedout=`expr "$timedout" + 1` 63 perfect=`expr "$perfect" + 1` 74 obsline=`expr "$obsline" + 1` 79 noobsline=`expr "$noobsline" + 1` 88 obsresult=`expr "$obsresult" + 1` 92 badcompare=`expr "$badcompare" + 1`
|
/linux-master/tools/testing/selftests/powerpc/include/ |
H A D | basic_asm.h | 18 #define LOAD_REG_IMMEDIATE(reg, expr) \ 19 lis reg, (expr)@highest; \ 20 ori reg, reg, (expr)@higher; \ 22 oris reg, reg, (expr)@high; \ 23 ori reg, reg, (expr)@l;
|
/linux-master/include/net/netfilter/ |
H A D | nf_tables_core.h | 131 void nft_meta_get_eval(const struct nft_expr *expr, 133 void nft_cmp_eval(const struct nft_expr *expr, 135 void nft_lookup_eval(const struct nft_expr *expr, 137 void nft_payload_eval(const struct nft_expr *expr, 139 void nft_immediate_eval(const struct nft_expr *expr, 141 void nft_bitwise_eval(const struct nft_expr *expr, 143 void nft_range_eval(const struct nft_expr *expr, 145 void nft_byteorder_eval(const struct nft_expr *expr, 147 void nft_dynset_eval(const struct nft_expr *expr, 149 void nft_rt_get_eval(const struct nft_expr *expr, [all...] |
/linux-master/net/ipv4/netfilter/ |
H A D | nft_dup_ipv4.c | 20 static void nft_dup_ipv4_eval(const struct nft_expr *expr, argument 24 struct nft_dup_ipv4 *priv = nft_expr_priv(expr); 34 const struct nft_expr *expr, 37 struct nft_dup_ipv4 *priv = nft_expr_priv(expr); 56 const struct nft_expr *expr, bool reset) 58 struct nft_dup_ipv4 *priv = nft_expr_priv(expr); 33 nft_dup_ipv4_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument 55 nft_dup_ipv4_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
|
/linux-master/net/ipv6/netfilter/ |
H A D | nft_dup_ipv6.c | 20 static void nft_dup_ipv6_eval(const struct nft_expr *expr, argument 24 struct nft_dup_ipv6 *priv = nft_expr_priv(expr); 32 const struct nft_expr *expr, 35 struct nft_dup_ipv6 *priv = nft_expr_priv(expr); 54 const struct nft_expr *expr, bool reset) 56 struct nft_dup_ipv6 *priv = nft_expr_priv(expr); 31 nft_dup_ipv6_init(const struct nft_ctx *ctx, const struct nft_expr *expr, const struct nlattr * const tb[]) argument 53 nft_dup_ipv6_dump(struct sk_buff *skb, const struct nft_expr *expr, bool reset) argument
|