Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/bpf/verifier/
A 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),
110 sizeof(struct test_val) - offsetof(struct test_val, foo)),
171 sizeof(struct test_val) - offsetof(struct test_val, foo) + 8),
233 BPF_MOV64_IMM(BPF_REG_3, offsetof(struct test_val, foo)),
236 sizeof(struct test_val) - offsetof(struct test_val, foo)),
300 sizeof(struct test_val) -
301 offsetof(struct test_val, foo) + 8),
369 sizeof(struct test_val) - offsetof(struct test_val, foo)),
458 sizeof(struct test_val) -
[all …]
A 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)),
A 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),
A 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)),
A 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),
A Dand.c14 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
A Dvalue.c90 BPF_ALU64_IMM(BPF_ADD, BPF_REG_0, offsetof(struct test_val, foo)),
A Dvalue_or_null.c143 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
A Dsearch_pruning.c74 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
/linux-6.3-rc2/tools/testing/selftests/kvm/x86_64/
A 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()
/linux-6.3-rc2/drivers/media/usb/gspca/m5602/
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-6.3-rc2/tools/testing/selftests/bpf/
A Dtest_verifier.c182 struct test_val { struct
573 struct test_val value = { in update_map()
929 sizeof(struct test_val), 1); in do_test_fixup()
947 sizeof(struct test_val), 1); in do_test_fixup()
1035 sizeof(struct test_val), 1, in do_test_fixup()
1045 sizeof(struct test_val), 1, in do_test_fixup()
/linux-6.3-rc2/tools/testing/nvdimm/test/
A 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()

Completed in 37 milliseconds