Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
Dverifier_helper_value_access.c22 struct test_val { struct
31 __type(value, struct test_val); argument
63 __imm_const(sizeof_test_val, sizeof(struct test_val)) in access_to_map_full_range()
138 __imm_const(__imm_0, sizeof(struct test_val) + 8) in map_out_of_bound_range()
190 __imm_const(__imm_0, sizeof(struct test_val) - offsetof(struct test_val, foo)), in via_const_imm_full_range()
191 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_imm_full_range()
218 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_imm_partial_range()
244 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_imm_empty_range()
271 __imm_const(__imm_0, sizeof(struct test_val) - offsetof(struct test_val, foo) + 8), in imm_out_of_bound_range()
272 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in imm_out_of_bound_range()
[all …]
Dverifier_array_access.c10 struct test_val { struct
19 __type(value, struct test_val); argument
27 __type(value, struct test_val);
35 __type(value, struct test_val);
58 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in an_array_with_a_constant_1()
85 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
114 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
147 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
172 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in an_array_with_a_constant_2()
201 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
[all …]
Dverifier_bpf_get_stack.c10 struct test_val { struct
19 __type(value, struct test_val); argument
26 __type(value, struct test_val);
76 __imm_const(__imm_0, sizeof(struct test_val) / 2) in stack_return_r0_within_range()
Dverifier_and.c10 struct test_val { struct
19 __type(value, struct test_val); argument
47 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
Dverifier_map_ptr_mixing.c10 struct test_val { struct
19 __type(value, struct test_val); argument
26 __type(value, struct test_val);
143 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in pointers_for_lookup_hash_array()
193 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in lookup_hash_map_in_map()
Dverifier_helper_access_var_len.c10 struct test_val { struct
19 __type(value, struct test_val); argument
344 __imm_const(sizeof_test_val, sizeof(struct test_val)) in memory_map_jmp_correct_bounds()
377 __imm_const(__imm_0, sizeof(struct test_val) + 1) in memory_map_jmp_wrong_max()
410 __imm_const(__imm_0, sizeof(struct test_val) - 20), in map_adjusted_jmp_correct_bounds()
411 __imm_const(sizeof_test_val, sizeof(struct test_val)) in map_adjusted_jmp_correct_bounds()
445 __imm_const(__imm_0, sizeof(struct test_val) - 19) in map_adjusted_jmp_wrong_max()
Dverifier_value.c10 struct test_val { struct
19 __type(value, struct test_val); argument
154 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
Dverifier_value_adj_spill.c10 struct test_val { struct
19 __type(value, struct test_val); argument
Dverifier_value_or_null.c10 struct test_val { struct
19 __type(value, struct test_val); argument
210 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
Dverifier_search_pruning.c10 struct test_val { struct
19 __type(value, struct test_val); argument
124 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
Dverifier_value_illegal_alu.c10 struct test_val { struct
19 __type(value, struct test_val); argument
Dverifier_map_ptr.c10 struct test_val { struct
19 __type(value, struct test_val); argument
Dverifier_regalloc.c10 struct test_val { struct
19 __type(value, struct test_val); argument
Dverifier_stack_ptr.c11 struct test_val { struct
20 __type(value, struct test_val); argument
Dverifier_value_ptr_arith.c11 struct test_val { struct
20 __type(value, struct test_val); argument
39 __type(value, struct test_val);
Dverifier_ref_tracking.c46 struct test_val { struct
55 __type(value, struct test_val); argument
/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()
/tools/testing/selftests/bpf/prog_tests/
Dverifier.c83 struct test_val { struct
190 struct test_val value = { in init_test_val_map()
/tools/testing/selftests/bpf/
Dtest_verifier.c178 struct test_val { struct
569 struct test_val value = { in update_map()
1056 sizeof(struct test_val), 1); in do_test_fixup()
1074 sizeof(struct test_val), 1); in do_test_fixup()
1162 sizeof(struct test_val), 1, in do_test_fixup()
1172 sizeof(struct test_val), 1, in do_test_fixup()
/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()