/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A 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() 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 …]
|
H A 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 …]
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | verifier_search_pruning.c | 10 struct test_val { struct 19 __type(value, struct test_val); argument 124 __imm_const(test_val_foo, offsetof(struct test_val, foo)) in __flag()
|
H A D | verifier_value_adj_spill.c | 10 struct test_val { struct 19 __type(value, struct test_val); argument
|
H A D | verifier_value_illegal_alu.c | 10 struct test_val { struct 19 __type(value, struct test_val); argument
|
H A D | verifier_map_ptr.c | 10 struct test_val { struct 19 __type(value, struct test_val); argument
|
H A D | verifier_regalloc.c | 10 struct test_val { struct 19 __type(value, struct test_val); argument
|
H A D | verifier_stack_ptr.c | 11 struct test_val { struct 20 __type(value, struct test_val); argument
|
H A D | verifier_value_ptr_arith.c | 11 struct test_val { struct 20 __type(value, struct test_val); argument 39 __type(value, struct test_val);
|
H A D | verifier_ref_tracking.c | 46 struct test_val { struct 55 __type(value, struct test_val); argument
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_cpuid.c | 51 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()
|
/openbmc/linux/lib/kunit/ |
H A D | attributes.c | 108 long test_val = (long)attr; in attr_enum_filter() local 135 return int_filter(test_val, input, input_int, err); in attr_enum_filter() 343 void *suite_val, *test_val; in kunit_filter_attr_tests() local 374 test_val = filter.attr->get_attr((void *) test_case, true); in kunit_filter_attr_tests() 386 if (test_val) { in kunit_filter_attr_tests()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | verifier.c | 83 struct test_val { struct 190 struct test_val value = { in init_test_val_map()
|
/openbmc/qemu/tests/qtest/ |
H A D | test-arm-mptimer.c | 683 int test_val; in test_periodic_counter() local 691 for (test_val = 0; test_val <= test_load; test_val++) { in test_periodic_counter() 693 g_assert_cmpint(timer_counter(), ==, test_val); in test_periodic_counter()
|
/openbmc/linux/drivers/media/usb/gspca/m5602/ |
H A D | m5602_s5k83a.c | 557 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()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_verifier.c | 178 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()
|
/openbmc/qemu/target/xtensa/ |
H A D | xtensa-isa.c | 992 uint32_t test_val, orig_val; in xtensa_operand_encode() local 1050 (test_val = *valp, (*intop->decode)(&test_val)) || in xtensa_operand_encode() 1051 test_val != orig_val) { in xtensa_operand_encode()
|
/openbmc/libpldm/tests/ |
H A D | msgbuf.cpp | 1128 uint16_t test_val; in TEST() local 1178 EXPECT_EQ(pldm_msgbuf_extract_uint16(ctxExtract, test_val), 0); in TEST() 1179 EXPECT_EQ(0x8877, test_val); in TEST()
|
/openbmc/linux/tools/testing/nvdimm/test/ |
H A D | nfit.c | 2877 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()
|