| /tools/testing/selftests/bpf/progs/ |
| A D | test_core_autosize.c | 15 unsigned int val2; member 24 unsigned long val2; member 34 long val2; member 42 unsigned int val2; member 53 .val2 = 0x0a0b0c0d, 94 val2_samesized = in->val2; in handle_samesize() 100 out->val2 = in->val2; in handle_samesize() 121 out->val2 = in->val2; in handle_downsize() 153 bpf_core_read_int(&tmp, bpf_core_field_size(in->val2), &in->val2); in handle_probed() 173 val2_signed = in->val2; in handle_signed() [all …]
|
| A D | security_bpf_map.c | 64 __u32 val2 = a + 1; in BPF_PROG() local 67 bpf_map_update_elem(¬_prot_map, &key, &val2, BPF_ANY); in BPF_PROG()
|
| A D | test_ldsx_insn.c | 18 volatile const int val2 = -1; variable 31 if (val1 == val2) in rdonly_map_prog()
|
| A D | verifier_array_access.c | 567 struct test_val *val, *val2; in multiple_array_with_a_constant_no_nullness() local 572 val2 = bpf_map_lookup_elem(&map_array, &key2); in multiple_array_with_a_constant_no_nullness() 573 val2->index = offsetof(struct test_val, foo); in multiple_array_with_a_constant_no_nullness() 575 return val->index + val2->index; in multiple_array_with_a_constant_no_nullness()
|
| /tools/testing/selftests/futex/functional/ |
| A D | futex_numa.c | 104 int *val1, *val2; member 121 assert(*args->val1 == *args->val2); in threadfn() 124 (*args->val2)++; in threadfn() 159 static int val1, val2; variable 203 args->val2 = &val2; in main() 224 args->val2 = &val2; in main()
|
| /tools/testing/selftests/proc/ |
| A D | proc-uptime.h | 39 uint64_t val1, val2; in proc_uptime() local 57 val2 = (p[1] - '0') * 10 + p[2] - '0'; in proc_uptime() 59 return val1 * 100 + val2; in proc_uptime()
|
| /tools/gpio/ |
| A D | gpio-sloppy-logic-analyzer.sh | 128 mask=0; val1=0; val2=0 137 [hH]) val1=$((val1 | bit)); val2=$((val2 | bit));; 139 [rR]) val2=$((val2 | bit));; 143 [ $val1 -ne $val2 ] && trigger_bindat="$trigger_bindat$(printf '\\%o\\%o' $mask $val2)"
|
| /tools/perf/tests/ |
| A D | api-io.c | 133 __u64 val2, int ch2, in do_test_get_hex() argument 150 EXPECT_EQUAL64(hex, val2); in do_test_get_hex() 214 __u64 val2, int ch2, in do_test_get_dec() argument 231 EXPECT_EQUAL64(dec, val2); in do_test_get_dec()
|
| A D | expr.c | 61 static int test(struct expr_parse_ctx *ctx, const char *e, double val2) in test() argument 67 TEST_ASSERT_VAL("unexpected value", val == val2); in test()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | core_autosize.c | 11 unsigned int val2; member 181 ASSERT_EQ(out.output_samesized.val2, 0x0a0b0c0d, "val2_samesized"); in test_core_autosize() 192 ASSERT_EQ(out.output_downsized.val2, 0x0a0b0c0d, "val2_downsized"); in test_core_autosize()
|
| A D | cgrp_local_storage.c | 40 long val1 = 1, val2 = 0; in test_tp_btf() local 55 err = bpf_map_lookup_elem(bpf_map__fd(skel->maps.map_b), &cgroup_fd, &val2); in test_tp_btf() 58 if (!ASSERT_EQ(val2, 1, "map_lookup_elem, invalid val")) in test_tp_btf()
|
| /tools/perf/arch/powerpc/annotate/ |
| A D | instructions.c | 187 const struct insn_offset *val2 = b; in cmp_offset() local 189 return (val1->value - val2->value); in cmp_offset()
|
| /tools/bootconfig/ |
| A D | test-bootconfig.sh | 172 xpass grep -q 'val2[[:space:]]' $OUTFILE
|