Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A 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);
42 __type(value, struct test_val);
49 __type(value, struct test_val);
72 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in an_array_with_a_constant_1()
99 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
128 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
161 __imm_const(test_val_foo, offsetof(struct test_val, fo in __flag()
[all...]
H A 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()
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) in imm_out_of_bound_range()
[all...]
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Darena_list.c36 int __arena test_val = 1; variable
40 int test_val SEC(".addr_space.1");
56 test_val++; in arena_list_add()
H A 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()
H A Dverifier_search_pruning.c11 struct test_val { struct
20 __type(value, struct test_val); argument
125 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
H A Dverifier_value_adj_spill.c10 struct test_val { struct
19 __type(value, struct test_val); argument
H A Dverifier_value_illegal_alu.c10 struct test_val { struct
19 __type(value, struct test_val); argument
H A Dverifier_map_ptr.c10 struct test_val { struct
19 __type(value, struct test_val); argument
H A Dverifier_regalloc.c10 struct test_val { struct
19 __type(value, struct test_val); argument
H A Dverifier_stack_ptr.c11 struct test_val { struct
20 __type(value, struct test_val); argument
H A Dverifier_value_ptr_arith.c11 struct test_val { struct
20 __type(value, struct test_val); argument
39 __type(value, struct test_val);
H A Dverifier_ref_tracking.c46 struct test_val { struct
55 __type(value, struct test_val); argument
/linux/tools/testing/selftests/kvm/x86/
H A Dhyperv_cpuid.c31 u32 test_val; in test_hv_cpuid() local
62 test_val = 0x40000082; in test_hv_cpuid()
64 TEST_ASSERT(entry->eax == test_val, in test_hv_cpuid()
75 test_val = entry->eax & (1UL << 18); in test_hv_cpuid()
77 TEST_ASSERT(!!test_val == !is_smt_possible(), in test_hv_cpuid()
H A Dpmu_counters_test.c386 const uint64_t test_val = 0xffff; in guest_rd_wr_counters() local
400 const uint64_t expected_val = expect_success ? test_val : 0; in guest_rd_wr_counters()
407 vector = wrmsr_safe(msr, test_val); in guest_rd_wr_counters()
/linux/lib/kunit/
H A Dattributes.c118 long test_val = (long)attr; in attr_enum_filter() local
145 return int_filter(test_val, input, input_int, err); in attr_enum_filter()
403 void *suite_val, *test_val; in kunit_filter_attr_tests() local
434 test_val = filter.attr->get_attr((void *) test_case, true); in kunit_filter_attr_tests()
446 if (test_val) { in kunit_filter_attr_tests()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dverifier.c111 struct test_val { struct
246 struct test_val value = { in init_test_val_map()
112 indextest_val global() argument
113 footest_val global() argument
H A Darena_list.c53 ASSERT_EQ(skel->arena->test_val, cnt + 1, "num of elems"); in test_arena_list_add_del()
/linux/drivers/media/usb/gspca/m5602/
H A 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/tools/testing/selftests/bpf/
H A Dtest_verifier.c176 struct test_val { struct
567 struct test_val value = { in update_map()
1054 sizeof(struct test_val), 1); in do_test_fixup()
1072 sizeof(struct test_val), 1); in do_test_fixup()
1160 sizeof(struct test_val), 1, in do_test_fixup()
1170 sizeof(struct test_val), 1, in do_test_fixup()
177 indextest_val global() argument
178 footest_val global() argument
/linux/tools/testing/nvdimm/test/
H A Dnfit.c2879 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()