| /tools/testing/selftests/bpf/progs/ |
| D | verifier_helper_value_access.c | 22 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() 175 __imm_const(__imm_0, sizeof(struct test_val) + 8) in map_out_of_bound_range() 227 __imm_const(__imm_0, sizeof(struct test_val) - offsetof(struct test_val, foo)), in via_const_imm_full_range() 228 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_imm_full_range() 255 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_imm_partial_range() 281 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in via_const_imm_empty_range() 308 __imm_const(__imm_0, sizeof(struct test_val) - offsetof(struct test_val, foo) + 8), in imm_out_of_bound_range() 309 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in imm_out_of_bound_range() [all …]
|
| D | verifier_array_access.c | 10 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 …]
|
| D | verifier_bpf_get_stack.c | 10 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()
|
| D | verifier_and.c | 10 struct test_val { struct 19 __type(value, struct test_val); argument 47 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
|
| D | verifier_map_ptr_mixing.c | 10 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()
|
| D | verifier_value.c | 10 struct test_val { struct 19 __type(value, struct test_val); argument 154 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
|
| D | verifier_helper_access_var_len.c | 10 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()
|
| D | arena_list.c | 36 int __arena test_val = 1; variable 40 int test_val SEC(".addr_space.1"); 56 test_val++; in arena_list_add()
|
| D | verifier_value_adj_spill.c | 10 struct test_val { struct 19 __type(value, struct test_val); argument
|
| D | verifier_value_or_null.c | 10 struct test_val { struct 19 __type(value, struct test_val); argument 210 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
|
| D | verifier_search_pruning.c | 11 struct test_val { struct 20 __type(value, struct test_val); argument 125 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
|
| D | verifier_value_illegal_alu.c | 10 struct test_val { struct 19 __type(value, struct test_val); argument
|
| D | verifier_map_ptr.c | 10 struct test_val { struct 19 __type(value, struct test_val); argument
|
| D | verifier_regalloc.c | 10 struct test_val { struct 19 __type(value, struct test_val); argument
|
| D | verifier_stack_ptr.c | 11 struct test_val { struct 20 __type(value, struct test_val); argument
|
| D | verifier_value_ptr_arith.c | 11 struct test_val { struct 20 __type(value, struct test_val); argument 39 __type(value, struct test_val);
|
| D | verifier_ref_tracking.c | 46 struct test_val { struct 55 __type(value, struct test_val); argument
|
| /tools/testing/selftests/kvm/x86_64/ |
| D | hyperv_cpuid.c | 49 u32 test_val; in test_hv_cpuid() local 75 test_val = 0x40000082; in test_hv_cpuid() 77 TEST_ASSERT(entry->eax == test_val, in test_hv_cpuid() 84 test_val = entry->eax & (1UL << 18); in test_hv_cpuid() 86 TEST_ASSERT(!!test_val == !smt_possible(), in test_hv_cpuid()
|
| D | pmu_counters_test.c | 369 const uint64_t test_val = 0xffff; in guest_rd_wr_counters() local 383 const uint64_t expected_val = expect_success ? test_val : 0; in guest_rd_wr_counters() 390 vector = wrmsr_safe(msr, test_val); in guest_rd_wr_counters()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| D | arena_list.c | 53 ASSERT_EQ(skel->arena->test_val, cnt + 1, "num of elems"); in test_arena_list_add_del()
|
| D | verifier.c | 103 struct test_val { struct 247 struct test_val value = { in init_test_val_map()
|
| /tools/testing/selftests/bpf/ |
| D | test_verifier.c | 180 struct test_val { struct 571 struct test_val value = { in update_map() 1058 sizeof(struct test_val), 1); in do_test_fixup() 1076 sizeof(struct test_val), 1); in do_test_fixup() 1164 sizeof(struct test_val), 1, in do_test_fixup() 1174 sizeof(struct test_val), 1, in do_test_fixup()
|
| /tools/testing/nvdimm/test/ |
| D | nfit.c | 2879 const u64 test_val = 0x0123456789abcdefULL; in nfit_ctl_test() local 3021 .length = test_val, in nfit_ctl_test() 3029 if (rc < 0 || cmd_rc || record->length != test_val) { in nfit_ctl_test() 3043 .length = test_val, in nfit_ctl_test() 3051 if (rc < 0 || cmd_rc || record->length != test_val) { in nfit_ctl_test()
|