Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/bpf/verifier/
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),
108 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
110 sizeof(struct test_val) - offsetof(struct test_val, foo)),
129 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
149 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
169 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
171 sizeof(struct test_val) - offsetof(struct test_val, foo) + 8),
191 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
212 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
[all …]
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)),
Dbpf_get_stack.c12 BPF_MOV64_IMM(BPF_REG_9, sizeof(struct test_val)),
15 BPF_MOV64_IMM(BPF_REG_3, sizeof(struct test_val)),
32 BPF_MOV64_IMM(BPF_REG_5, sizeof(struct test_val)),
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)),
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),
Dand.c14 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
Dvalue.c90 BPF_ALU64_IMM(BPF_ADD, BPF_REG_0, offsetof(struct test_val, foo)),
Dsearch_pruning.c74 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
Dvalue_or_null.c143 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_verifier.c123 struct test_val { struct
403 struct test_val value = { in update_map()
660 sizeof(struct test_val), 1); in do_test_fixup()
678 sizeof(struct test_val), 1); in do_test_fixup()
766 sizeof(struct test_val), 1, in do_test_fixup()
776 sizeof(struct test_val), 1, in do_test_fixup()
/Linux-v5.4/drivers/media/usb/gspca/m5602/
Dm5602_s5k83a.c562 u8 old_val, ctrl_val, test_val = 0xff; in s5k83a_dump_registers() local
565 m5602_write_sensor(sd, address, &test_val, 1); in s5k83a_dump_registers()
568 if (ctrl_val == test_val) in s5k83a_dump_registers()
/Linux-v5.4/tools/testing/nvdimm/test/
Dnfit.c2700 const u64 test_val = 0x0123456789abcdefULL; in nfit_ctl_test() local
2834 .length = test_val, in nfit_ctl_test()
2842 if (rc < 0 || cmd_rc || record->length != test_val) { in nfit_ctl_test()
2856 .length = test_val, in nfit_ctl_test()
2864 if (rc < 0 || cmd_rc || record->length != test_val) { in nfit_ctl_test()