Home
last modified time | relevance | path

Searched refs:BPF_REG_5 (Results 1 – 22 of 22) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dalign.c213 BPF_MOV64_REG(BPF_REG_5, BPF_REG_2),
218 BPF_ALU64_IMM(BPF_ADD, BPF_REG_5, 14),
219 BPF_MOV64_REG(BPF_REG_4, BPF_REG_5),
224 BPF_LDX_MEM(BPF_B, BPF_REG_4, BPF_REG_5, 0),
225 BPF_LDX_MEM(BPF_B, BPF_REG_4, BPF_REG_5, 1),
226 BPF_LDX_MEM(BPF_B, BPF_REG_4, BPF_REG_5, 2),
227 BPF_LDX_MEM(BPF_B, BPF_REG_4, BPF_REG_5, 3),
228 BPF_LDX_MEM(BPF_H, BPF_REG_4, BPF_REG_5, 0),
229 BPF_LDX_MEM(BPF_H, BPF_REG_4, BPF_REG_5, 2),
230 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_5, 0),
[all …]
/tools/testing/selftests/bpf/verifier/
Dmeta_access.c171 BPF_MOV64_IMM(BPF_REG_5, 42),
173 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_5, -8),
175 BPF_LDX_MEM(BPF_DW, BPF_REG_5, BPF_REG_10, -8),
176 BPF_JMP_IMM(BPF_JGT, BPF_REG_5, 100, 6),
177 BPF_ALU64_REG(BPF_ADD, BPF_REG_3, BPF_REG_5),
178 BPF_MOV64_REG(BPF_REG_5, BPF_REG_3),
181 BPF_JMP_REG(BPF_JGT, BPF_REG_6, BPF_REG_5, 1),
196 BPF_MOV64_IMM(BPF_REG_5, 42),
198 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_5, -8),
200 BPF_LDX_MEM(BPF_DW, BPF_REG_5, BPF_REG_10, -8),
[all …]
Datomic_cmpxchg.c134 BPF_MOV64_REG(BPF_REG_5, BPF_REG_10),
136 BPF_ATOMIC_OP(BPF_DW, BPF_CMPXCHG, BPF_REG_10, BPF_REG_5, -8),
155 BPF_MOV64_REG(BPF_REG_5, BPF_REG_10),
157 BPF_ATOMIC_OP(BPF_W, BPF_CMPXCHG, BPF_REG_10, BPF_REG_5, -8),
174 BPF_MOV32_REG(BPF_REG_5, BPF_REG_10),
176 BPF_ATOMIC_OP(BPF_W, BPF_CMPXCHG, BPF_REG_10, BPF_REG_5, -8),
195 BPF_MOV32_REG(BPF_REG_5, BPF_REG_10),
197 BPF_ATOMIC_OP(BPF_W, BPF_CMPXCHG, BPF_REG_10, BPF_REG_5, -8),
Dhelper_packet_access.c45 BPF_LDX_MEM(BPF_B, BPF_REG_5, BPF_REG_2, 0),
47 BPF_ALU64_REG(BPF_ADD, BPF_REG_4, BPF_REG_5),
48 BPF_MOV64_REG(BPF_REG_5, BPF_REG_4),
49 BPF_ALU64_IMM(BPF_ADD, BPF_REG_5, 8),
50 BPF_JMP_REG(BPF_JGT, BPF_REG_5, BPF_REG_3, 4),
148 BPF_LDX_MEM(BPF_B, BPF_REG_5, BPF_REG_2, 0),
150 BPF_ALU64_REG(BPF_ADD, BPF_REG_4, BPF_REG_5),
151 BPF_MOV64_REG(BPF_REG_5, BPF_REG_4),
152 BPF_ALU64_IMM(BPF_ADD, BPF_REG_5, 8),
153 BPF_JMP_REG(BPF_JGT, BPF_REG_5, BPF_REG_3, 4),
[all …]
Ddirect_packet_access.c40 BPF_MOV64_REG(BPF_REG_5, BPF_REG_3),
41 BPF_ALU64_IMM(BPF_ADD, BPF_REG_5, 14),
42 BPF_JMP_REG(BPF_JGT, BPF_REG_5, BPF_REG_4, 15),
228 BPF_MOV64_REG(BPF_REG_5, BPF_REG_3),
229 BPF_ALU64_IMM(BPF_ADD, BPF_REG_5, 23),
230 BPF_ALU64_IMM(BPF_RSH, BPF_REG_5, 3),
232 BPF_ALU64_REG(BPF_ADD, BPF_REG_6, BPF_REG_5),
253 BPF_MOV64_REG(BPF_REG_5, BPF_REG_3),
254 BPF_ALU64_IMM(BPF_ADD, BPF_REG_5, 23),
255 BPF_ALU64_IMM(BPF_AND, BPF_REG_5, 15),
[all …]
Dcgroup_skb.c10 BPF_LDX_MEM(BPF_W, BPF_REG_5, BPF_REG_1,
39 BPF_LDX_MEM(BPF_W, BPF_REG_5, BPF_REG_1,
62 BPF_LDX_MEM(BPF_W, BPF_REG_5, BPF_REG_1,
74 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_5,
97 BPF_LDX_MEM(BPF_W, BPF_REG_5, BPF_REG_1,
99 BPF_LDX_MEM(BPF_W, BPF_REG_5, BPF_REG_1,
101 BPF_LDX_MEM(BPF_W, BPF_REG_5, BPF_REG_1,
103 BPF_LDX_MEM(BPF_W, BPF_REG_5, BPF_REG_1,
Dld_ind.c53 BPF_MOV64_IMM(BPF_REG_5, 1),
54 BPF_LD_IND(BPF_W, BPF_REG_5, -0x200000),
55 BPF_MOV64_REG(BPF_REG_0, BPF_REG_5),
Dref_tracking.c330 BPF_MOV64_REG(BPF_REG_5, BPF_REG_10),
331 BPF_ALU64_IMM(BPF_ADD, BPF_REG_5, -8),
332 BPF_STX_MEM(BPF_DW, BPF_REG_5, BPF_REG_4, 0),
335 BPF_MOV64_REG(BPF_REG_5, BPF_REG_10),
336 BPF_ALU64_IMM(BPF_ADD, BPF_REG_5, -8),
337 BPF_LDX_MEM(BPF_DW, BPF_REG_4, BPF_REG_5, 0),
359 BPF_MOV64_REG(BPF_REG_5, BPF_REG_10),
360 BPF_ALU64_IMM(BPF_ADD, BPF_REG_5, -8),
361 BPF_STX_MEM(BPF_DW, BPF_REG_5, BPF_REG_4, 0),
364 BPF_MOV64_REG(BPF_REG_5, BPF_REG_10),
[all …]
Dsearch_pruning.c100 BPF_LDX_MEM(BPF_DW, BPF_REG_5, BPF_REG_10, -16),
101 BPF_JMP_IMM(BPF_JEQ, BPF_REG_5, 0, 2),
127 BPF_LDX_MEM(BPF_DW, BPF_REG_5, BPF_REG_10, -16),
Dbpf_get_stack.c32 BPF_MOV64_IMM(BPF_REG_5, sizeof(struct test_val)/2),
33 BPF_ALU64_REG(BPF_ADD, BPF_REG_1, BPF_REG_5),
Dcalls.c1686 BPF_MOV64_IMM(BPF_REG_5, 0),
1688 BPF_MOV64_IMM(BPF_REG_5, 1),
1693 BPF_MOV64_REG(BPF_REG_0, BPF_REG_5),
1722 BPF_MOV64_IMM(BPF_REG_5, 0),
1724 BPF_MOV64_IMM(BPF_REG_5, 1),
1728 BPF_MOV64_REG(BPF_REG_0, BPF_REG_5),
1754 BPF_MOV64_IMM(BPF_REG_5, 0),
1758 BPF_MOV64_IMM(BPF_REG_5, 1),
1762 BPF_MOV64_REG(BPF_REG_0, BPF_REG_5),
1790 BPF_MOV64_IMM(BPF_REG_5, 0),
[all …]
Dhelper_access_var_len.c332 BPF_MOV64_IMM(BPF_REG_5, 0),
349 BPF_MOV64_IMM(BPF_REG_5, 0),
367 BPF_MOV64_IMM(BPF_REG_5, 0),
387 BPF_MOV64_IMM(BPF_REG_5, 0),
411 BPF_MOV64_IMM(BPF_REG_5, 0),
433 BPF_MOV64_IMM(BPF_REG_5, 0),
456 BPF_MOV64_IMM(BPF_REG_5, 0),
Devent_output.c34 BPF_MOV64_IMM(BPF_REG_5, 8), \
Dstack_ptr.c267 BPF_MOV64_REG(BPF_REG_5, BPF_REG_10),
268 BPF_LDX_MEM(BPF_B, BPF_REG_0, BPF_REG_5, -6),
339 BPF_MOV64_IMM(BPF_REG_5, -1),
Dld_abs.c53 BPF_MOV64_IMM(BPF_REG_5, 0),
55 BPF_MOV64_REG(BPF_REG_0, BPF_REG_5),
Dvar_off.c155 BPF_MOV64_IMM(BPF_REG_5, 8),
309 BPF_MOV64_IMM(BPF_REG_5, 8),
Darray_access.c250 BPF_MOV64_IMM(BPF_REG_5, 0),
370 BPF_MOV64_IMM(BPF_REG_5, 0),
Dbounds_mix_sign_unsign.c163 BPF_MOV64_IMM(BPF_REG_5, 0),
Dbounds.c551 BPF_LDX_MEM(BPF_W, BPF_REG_5, BPF_REG_6, 0),
/tools/include/linux/
Dfilter.h18 #define BPF_REG_ARG5 BPF_REG_5
/tools/include/uapi/linux/
Dbpf.h59 BPF_REG_5, enumerator
/tools/testing/selftests/bpf/
Dtest_verifier.c398 BPF_MOV64_IMM(BPF_REG_5, 0), \