Home
last modified time | relevance | path

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

12

/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Datomic_cmpxchg.c5 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3),
42 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 3),
78 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3),
115 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
117 BPF_MOV64_REG(BPF_REG_0, BPF_REG_10),
137 BPF_MOV64_REG(BPF_REG_0, BPF_REG_10),
157 BPF_MOV64_REG(BPF_REG_0, BPF_REG_10),
161 BPF_MOV64_REG(BPF_REG_5, BPF_REG_10),
178 BPF_MOV64_REG(BPF_REG_0, BPF_REG_10),
182 BPF_MOV64_REG(BPF_REG_5, BPF_REG_10),
[all …]
H A Djump.c4 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
28 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
56 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
93 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, BPF_REG_10, 1),
94 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, BPF_REG_10, 2),
95 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, BPF_REG_10, 3),
96 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, BPF_REG_10, 4),
97 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, BPF_REG_10, 1),
98 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, BPF_REG_10, 2),
99 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, BPF_REG_10, 3),
[all …]
H A Datomic_and.c5 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110),
8 BPF_ATOMIC_OP(BPF_DW, BPF_AND, BPF_REG_10, BPF_REG_1, -8),
10 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_10, -8),
27 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110),
30 BPF_ATOMIC_OP(BPF_DW, BPF_AND | BPF_FETCH, BPF_REG_10, BPF_REG_1, -8),
36 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_10, -8),
57 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0x110),
60 BPF_ATOMIC_OP(BPF_W, BPF_AND | BPF_FETCH, BPF_REG_10, BPF_REG_1, -4),
66 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_10, -4),
82 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110),
[all …]
H A Dbpf_st_mem.c4 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 42),
5 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_10, -8),
20 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
23 BPF_LDX_MEM(BPF_B, BPF_REG_1, BPF_REG_10, -8),
25 BPF_LDX_MEM(BPF_B, BPF_REG_1, BPF_REG_10, -4),
27 BPF_LDX_MEM(BPF_B, BPF_REG_1, BPF_REG_10, -1),
42 BPF_ST_MEM(BPF_DW, BPF_REG_10, -16, 0),
43 BPF_ST_MEM(BPF_DW, BPF_REG_10, -24, 0),
53 BPF_ALU64_REG(BPF_ADD, BPF_REG_0, BPF_REG_10),
58 BPF_LDX_MEM(BPF_B, BPF_REG_0, BPF_REG_10, -20),
H A Datomic_fetch_add.c6 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3),
9 BPF_ATOMIC_OP(BPF_DW, BPF_ADD | BPF_FETCH, BPF_REG_10, BPF_REG_1, -8),
15 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_10, -8),
28 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 3),
31 BPF_ATOMIC_OP(BPF_W, BPF_ADD | BPF_FETCH, BPF_REG_10, BPF_REG_1, -4),
37 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_10, -4),
49 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3),
50 BPF_ATOMIC_OP(BPF_DW, BPF_ADD | BPF_FETCH, BPF_REG_10, BPF_REG_10, -8),
61 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3),
62 BPF_ATOMIC_OP(BPF_DW, BPF_ADD | BPF_FETCH, BPF_REG_10, BPF_REG_2, -8),
H A Datomic_or.c5 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110),
8 BPF_ATOMIC_OP(BPF_DW, BPF_OR, BPF_REG_10, BPF_REG_1, -8),
10 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_10, -8),
27 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110),
30 BPF_ATOMIC_OP(BPF_DW, BPF_OR | BPF_FETCH, BPF_REG_10, BPF_REG_1, -8),
36 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_10, -8),
57 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0x110),
60 BPF_ATOMIC_OP(BPF_W, BPF_OR | BPF_FETCH, BPF_REG_10, BPF_REG_1, -4),
66 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_10, -4),
85 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_1, -8),
[all …]
H A Datomic_xor.c5 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110),
8 BPF_ATOMIC_OP(BPF_DW, BPF_XOR, BPF_REG_10, BPF_REG_1, -8),
10 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_10, -8),
27 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110),
30 BPF_ATOMIC_OP(BPF_DW, BPF_XOR | BPF_FETCH, BPF_REG_10, BPF_REG_1, -8),
36 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_10, -8),
57 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0x110),
60 BPF_ATOMIC_OP(BPF_W, BPF_XOR | BPF_FETCH, BPF_REG_10, BPF_REG_1, -4),
66 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_10, -4),
H A Dcalls.c27 BPF_MOV64_REG(BPF_REG_1, BPF_REG_10),
42 BPF_MOV64_REG(BPF_REG_1, BPF_REG_10),
57 BPF_MOV64_REG(BPF_REG_1, BPF_REG_10),
72 BPF_MOV64_REG(BPF_REG_1, BPF_REG_10),
87 BPF_MOV64_REG(BPF_REG_1, BPF_REG_10),
102 BPF_MOV64_REG(BPF_REG_1, BPF_REG_10),
121 BPF_MOV64_REG(BPF_REG_1, BPF_REG_10),
164 BPF_MOV64_REG(BPF_REG_1, BPF_REG_10),
193 BPF_MOV64_REG(BPF_REG_1, BPF_REG_10),
228 BPF_MOV64_REG(BPF_REG_1, BPF_REG_10),
[all …]
H A Datomic_xchg.c5 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3),
8 BPF_ATOMIC_OP(BPF_DW, BPF_XCHG, BPF_REG_10, BPF_REG_1, -8),
14 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_10, -8),
28 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 3),
31 BPF_ATOMIC_OP(BPF_W, BPF_XCHG, BPF_REG_10, BPF_REG_1, -4),
37 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_10, -4),
H A Dbpf_loop_inline.c182 BPF_ST_MEM(BPF_W, BPF_REG_10, -12, 0x77),
202 BPF_ST_MEM(BPF_DW, BPF_REG_10, -32, 0x55),
216 BPF_ST_MEM(BPF_W, BPF_REG_10, -12, 0x77),
218 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_6, -40),
219 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_7, -32),
220 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_8, -24),
223 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_6, -40),
224 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_7, -32),
225 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_8, -24),
227 BPF_ST_MEM(BPF_DW, BPF_REG_10, -32, 0x55),
[all …]
H A Dld_abs.c128 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -64),
129 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_10, -64),
131 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -60),
133 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -56),
134 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_10, -56),
135 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_10, -60),
141 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -56),
142 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_10, -56),
144 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -52),
146 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -48),
[all …]
H A Dmap_kptr.c5 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
25 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
45 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
76 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
108 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
130 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
160 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
184 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
205 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
228 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
[all …]
H A Datomic_fetch.c7 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
31 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
55 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
78 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
100 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, operand1), \
102 BPF_MOV64_REG(dst_reg, BPF_REG_10), \
111 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_10, -8), \
H A Dprecise.c145 BPF_MOV64_REG(BPF_REG_3, BPF_REG_10),
148 BPF_LDX_MEM(BPF_DW, BPF_REG_4, BPF_REG_10, -8),
172 BPF_MOV64_REG(BPF_REG_3, BPF_REG_10),
175 BPF_LDX_MEM(BPF_DW, BPF_REG_4, BPF_REG_10, -8),
238 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4),
241 BPF_ALU64_REG(BPF_MOV, BPF_REG_2, BPF_REG_10),
H A Datomic_bounds.c15 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -8),
18 BPF_ATOMIC_OP(BPF_DW, BPF_ADD | BPF_FETCH, BPF_REG_10, BPF_REG_1, -8),
H A Dbasic_stx_ldx.c4 BPF_STX_MEM(BPF_B, BPF_REG_10, -1, -1),
13 BPF_STX_MEM(BPF_B, 14, BPF_REG_10, -1),
H A Devent_output.c29 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_2, -8), \
30 BPF_MOV64_REG(BPF_REG_4, BPF_REG_10), \
H A Ddead_code.c166 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4),
168 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_10, -4),
H A Djmp32.c795 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
797 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
822 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
824 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
850 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
852 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10),
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_sysctl.c230 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10),
271 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10),
313 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10),
368 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10),
417 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10),
459 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10),
495 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10),
534 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10),
573 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10),
609 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10),
[all …]
H A Dtest_tag.c33 prog[i] = BPF_ALU64_IMM(BPF_MOV, i % BPF_REG_10, rand()); in bpf_gen_imm_prog()
43 BPF_LD_MAP_FD(j++ % BPF_REG_10, fd_map) in bpf_gen_map_prog()
49 prog[insns - 2] = BPF_ALU64_IMM(BPF_MOV, i % BPF_REG_10, 42); in bpf_gen_map_prog()
/openbmc/linux/samples/bpf/
H A Dcookie_uid_helper_example.c93 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -8), in prog_load()
94 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10), in prog_load()
118 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, in prog_load()
120 BPF_ST_MEM(BPF_DW, BPF_REG_10, in prog_load()
128 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_1, in prog_load()
137 BPF_MOV64_REG(BPF_REG_3, BPF_REG_10), in prog_load()
H A Dtest_cgrp2_attach.c50 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4), /* *(u32 *)(fp - 4) = r0 */ in prog_load()
51 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), in prog_load()
61 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4), /* *(u32 *)(fp - 4) = r0 */ in prog_load()
62 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), in prog_load()
H A Dsock_example.c51 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4), /* *(u32 *)(fp - 4) = r0 */ in test_sock()
52 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), in test_sock()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dsyscall.c65 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), in bpf_prog()
66 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), in bpf_prog()

12