Home
last modified time | relevance | path

Searched refs:test_val (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/verifier/
Dhelper_value_access.c11 BPF_MOV64_IMM(BPF_REG_2, sizeof(struct test_val)),
68 BPF_MOV64_IMM(BPF_REG_2, sizeof(struct test_val) + 8),
108 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
110 sizeof(struct test_val) - offsetof(struct test_val, foo)),
129 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
149 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
169 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
171 sizeof(struct test_val) - offsetof(struct test_val, foo) + 8),
191 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
212 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
[all …]
Darray_access.c10 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
30 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
52 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
78 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
97 offsetof(struct test_val, foo)),
116 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
136 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
159 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
184 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
212 offsetof(struct test_val, foo)),
Dbpf_get_stack.c12 BPF_MOV64_IMM(BPF_REG_9, sizeof(struct test_val)/2),
15 BPF_MOV64_IMM(BPF_REG_3, sizeof(struct test_val)/2),
32 BPF_MOV64_IMM(BPF_REG_5, sizeof(struct test_val)/2),
Dmap_ptr_mixing.c15 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
45 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
Dhelper_access_var_len.c229 BPF_MOV64_IMM(BPF_REG_2, sizeof(struct test_val)),
232 BPF_JMP_IMM(BPF_JSGT, BPF_REG_2, sizeof(struct test_val), 4),
258 BPF_JMP_IMM(BPF_JSGT, BPF_REG_2, sizeof(struct test_val) + 1, 4),
282 BPF_MOV64_IMM(BPF_REG_2, sizeof(struct test_val)),
285 BPF_JMP_IMM(BPF_JSGT, BPF_REG_2, sizeof(struct test_val) - 20, 4),
312 BPF_JMP_IMM(BPF_JSGT, BPF_REG_2, sizeof(struct test_val) - 19, 4),
Dand.c14 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
Dvalue.c90 BPF_ALU64_IMM(BPF_ADD, BPF_REG_0, offsetof(struct test_val, foo)),
Dvalue_or_null.c143 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
Dsearch_pruning.c74 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dhyperv_cpuid.c51 u32 test_val; in test_hv_cpuid() local
77 test_val = 0x40000082; in test_hv_cpuid()
79 TEST_ASSERT(entry->eax == test_val, in test_hv_cpuid()
86 test_val = entry->eax & (1UL << 18); in test_hv_cpuid()
88 TEST_ASSERT(!!test_val == !smt_possible(), in test_hv_cpuid()
/linux-6.1.9/drivers/media/usb/gspca/m5602/
Dm5602_s5k83a.c557 u8 old_val, ctrl_val, test_val = 0xff; in s5k83a_dump_registers() local
560 m5602_write_sensor(sd, address, &test_val, 1); in s5k83a_dump_registers()
563 if (ctrl_val == test_val) in s5k83a_dump_registers()
/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_verifier.c182 struct test_val { struct
573 struct test_val value = { in update_map()
929 sizeof(struct test_val), 1); in do_test_fixup()
947 sizeof(struct test_val), 1); in do_test_fixup()
1035 sizeof(struct test_val), 1, in do_test_fixup()
1045 sizeof(struct test_val), 1, in do_test_fixup()
/linux-6.1.9/tools/testing/nvdimm/test/
Dnfit.c2877 const u64 test_val = 0x0123456789abcdefULL; in nfit_ctl_test() local
3019 .length = test_val, in nfit_ctl_test()
3027 if (rc < 0 || cmd_rc || record->length != test_val) { in nfit_ctl_test()
3041 .length = test_val, in nfit_ctl_test()
3049 if (rc < 0 || cmd_rc || record->length != test_val) { in nfit_ctl_test()