Home
last modified time | relevance | path

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

/tools/testing/selftests/kvm/x86_64/
Dhyperv_cpuid.c53 u32 test_val; in test_hv_cpuid() local
85 test_val = 0x40000082; in test_hv_cpuid()
87 TEST_ASSERT(entry->eax == test_val, in test_hv_cpuid()
94 test_val = entry->eax & (1UL << 18); in test_hv_cpuid()
96 TEST_ASSERT(!!test_val == !smt_possible(), in test_hv_cpuid()
/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)),
Dsearch_pruning.c74 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
Dvalue_or_null.c143 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
/tools/testing/selftests/bpf/
Dtest_verifier.c137 struct test_val { struct
489 struct test_val value = { in update_map()
750 sizeof(struct test_val), 1); in do_test_fixup()
768 sizeof(struct test_val), 1); in do_test_fixup()
856 sizeof(struct test_val), 1, in do_test_fixup()
866 sizeof(struct test_val), 1, in do_test_fixup()
/tools/testing/nvdimm/test/
Dnfit.c2901 const u64 test_val = 0x0123456789abcdefULL; in nfit_ctl_test() local
3043 .length = test_val, in nfit_ctl_test()
3051 if (rc < 0 || cmd_rc || record->length != test_val) { in nfit_ctl_test()
3065 .length = test_val, in nfit_ctl_test()
3073 if (rc < 0 || cmd_rc || record->length != test_val) { in nfit_ctl_test()