Home
last modified time | relevance | path

Searched refs:BPF_MOV32_IMM (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.1.9/tools/testing/selftests/bpf/verifier/
Ddiv0.c4 BPF_MOV32_IMM(BPF_REG_0, 42),
5 BPF_MOV32_IMM(BPF_REG_1, 0),
6 BPF_MOV32_IMM(BPF_REG_2, 1),
16 BPF_MOV32_IMM(BPF_REG_0, 42),
18 BPF_MOV32_IMM(BPF_REG_2, 1),
28 BPF_MOV32_IMM(BPF_REG_0, 42),
29 BPF_MOV32_IMM(BPF_REG_1, 0),
30 BPF_MOV32_IMM(BPF_REG_2, 1),
40 BPF_MOV32_IMM(BPF_REG_0, 42),
41 BPF_MOV32_IMM(BPF_REG_1, 0),
[all …]
Dmasking.c4 BPF_MOV32_IMM(BPF_REG_1, 5),
5 BPF_MOV32_IMM(BPF_REG_2, 5 - 1),
20 BPF_MOV32_IMM(BPF_REG_1, 1),
21 BPF_MOV32_IMM(BPF_REG_2, 1 - 1),
36 BPF_MOV32_IMM(BPF_REG_1, 0xffffffff),
37 BPF_MOV32_IMM(BPF_REG_2, 0xffffffff - 1),
52 BPF_MOV32_IMM(BPF_REG_1, 0xffffffff),
53 BPF_MOV32_IMM(BPF_REG_2, 1 - 1),
68 BPF_MOV32_IMM(BPF_REG_1, -1),
69 BPF_MOV32_IMM(BPF_REG_2, 1 - 1),
[all …]
Ddiv_overflow.c8 BPF_MOV32_IMM(BPF_REG_1, -1),
9 BPF_MOV32_IMM(BPF_REG_0, INT_MIN),
20 BPF_MOV32_IMM(BPF_REG_0, INT_MIN),
34 BPF_MOV32_IMM(BPF_REG_0, 0),
36 BPF_MOV32_IMM(BPF_REG_0, 1),
48 BPF_MOV32_IMM(BPF_REG_0, 0),
50 BPF_MOV32_IMM(BPF_REG_0, 1),
60 BPF_MOV32_IMM(BPF_REG_1, -1),
61 BPF_MOV32_IMM(BPF_REG_0, INT_MIN),
72 BPF_MOV32_IMM(BPF_REG_0, INT_MIN),
[all …]
Datomic_cmpxchg.c44 BPF_MOV32_IMM(BPF_REG_1, 4),
45 BPF_MOV32_IMM(BPF_REG_0, 2),
49 BPF_MOV32_IMM(BPF_REG_0, 2),
54 BPF_MOV32_IMM(BPF_REG_0, 3),
57 BPF_MOV32_IMM(BPF_REG_1, 4),
58 BPF_MOV32_IMM(BPF_REG_0, 3),
62 BPF_MOV32_IMM(BPF_REG_0, 4),
67 BPF_MOV32_IMM(BPF_REG_0, 5),
70 BPF_MOV32_IMM(BPF_REG_0, 0),
106 BPF_MOV32_IMM(BPF_REG_1, 1),
[all …]
Dctx_sk_lookup.c254 BPF_MOV32_IMM(BPF_REG_0, 0),
268 BPF_MOV32_IMM(BPF_REG_0, 0),
281 BPF_MOV32_IMM(BPF_REG_0, 0),
295 BPF_MOV32_IMM(BPF_REG_0, 0),
308 BPF_MOV32_IMM(BPF_REG_0, 0),
322 BPF_MOV32_IMM(BPF_REG_0, 0),
336 BPF_MOV32_IMM(BPF_REG_0, 0),
349 BPF_MOV32_IMM(BPF_REG_0, 0),
363 BPF_MOV32_IMM(BPF_REG_0, 0),
377 BPF_MOV32_IMM(BPF_REG_0, 0),
[all …]
Datomic_xchg.c30 BPF_MOV32_IMM(BPF_REG_1, 4),
34 BPF_MOV32_IMM(BPF_REG_0, 1),
39 BPF_MOV32_IMM(BPF_REG_0, 2),
42 BPF_MOV32_IMM(BPF_REG_0, 0),
Datomic_or.c59 BPF_MOV32_IMM(BPF_REG_1, 0x011),
63 BPF_MOV32_IMM(BPF_REG_0, 3),
68 BPF_MOV32_IMM(BPF_REG_1, 2),
87 BPF_MOV32_IMM(BPF_REG_1, 2),
98 BPF_MOV32_IMM(BPF_REG_0, 0),
Dld_abs.c110 BPF_MOV32_IMM(BPF_REG_0, 256),
127 BPF_MOV32_IMM(BPF_REG_0, 18),
132 BPF_MOV32_IMM(BPF_REG_0, 280971478),
140 BPF_MOV32_IMM(BPF_REG_0, 22),
145 BPF_MOV32_IMM(BPF_REG_0, 17366),
151 BPF_MOV32_IMM(BPF_REG_0, 256),
153 BPF_MOV32_IMM(BPF_REG_0, 0),
Ddirect_stack_access_wraparound.c7 BPF_MOV32_IMM(BPF_REG_0, 0),
20 BPF_MOV32_IMM(BPF_REG_0, 0),
33 BPF_MOV32_IMM(BPF_REG_0, 0),
Dspill_fill.c143 BPF_MOV32_IMM(BPF_REG_4, 20),
166 BPF_MOV32_IMM(BPF_REG_4, 20),
186 BPF_MOV32_IMM(BPF_REG_4, 20),
214 BPF_MOV32_IMM(BPF_REG_6, 0),
216 BPF_MOV32_IMM(BPF_REG_7, 20),
246 BPF_MOV32_IMM(BPF_REG_4, 20),
274 BPF_MOV32_IMM(BPF_REG_4, 20),
332 BPF_MOV32_IMM(BPF_REG_4, 4321),
Datomic_xor.c59 BPF_MOV32_IMM(BPF_REG_1, 0x011),
63 BPF_MOV32_IMM(BPF_REG_0, 3),
68 BPF_MOV32_IMM(BPF_REG_1, 2),
Datomic_and.c59 BPF_MOV32_IMM(BPF_REG_1, 0x011),
63 BPF_MOV32_IMM(BPF_REG_0, 3),
68 BPF_MOV32_IMM(BPF_REG_1, 2),
Dbasic_instr.c19 BPF_MOV32_IMM(BPF_REG_2, -1),
23 BPF_MOV32_IMM(BPF_REG_0, 2),
25 BPF_MOV32_IMM(BPF_REG_0, 1),
181 BPF_MOV32_IMM(BPF_REG_0, 0),
Dsearch_pruning.c68 BPF_MOV32_IMM(BPF_REG_2, MAX_ENTRIES),
70 BPF_MOV32_IMM(BPF_REG_1, 0),
140 BPF_MOV32_IMM(BPF_REG_6, 32),
142 BPF_MOV32_IMM(BPF_REG_6, 4),
174 BPF_MOV32_IMM(BPF_REG_7, 0xffffffff),
Darray_access.c72 BPF_MOV32_IMM(BPF_REG_1, 0),
73 BPF_MOV32_IMM(BPF_REG_2, MAX_ENTRIES),
75 BPF_MOV32_IMM(BPF_REG_1, 0),
154 BPF_MOV32_IMM(BPF_REG_2, MAX_ENTRIES),
156 BPF_MOV32_IMM(BPF_REG_1, 0),
179 BPF_MOV32_IMM(BPF_REG_2, MAX_ENTRIES + 1),
181 BPF_MOV32_IMM(BPF_REG_1, 0),
Draw_tp_writable.c9 BPF_MOV32_IMM(BPF_REG_0, 0),
Djmp32.c803 BPF_MOV32_IMM(BPF_REG_0, 0),
824 BPF_MOV32_IMM(BPF_REG_2, 1),
831 BPF_MOV32_IMM(BPF_REG_0, 0),
852 BPF_MOV32_IMM(BPF_REG_2, 1),
859 BPF_MOV32_IMM(BPF_REG_0, 0),
Datomic_fetch_add.c30 BPF_MOV32_IMM(BPF_REG_1, 1),
Dand.c38 BPF_MOV32_IMM(BPF_REG_3, 1),
Dbounds.c88 BPF_MOV32_IMM(BPF_REG_2, 0xffffffff),
544 BPF_MOV32_IMM(BPF_REG_9, 0),
591 BPF_MOV32_IMM(BPF_REG_1, 0),
Dsubreg.c378 BPF_MOV32_IMM(BPF_REG_0, 0),
384 BPF_MOV32_IMM(BPF_REG_0, 1),
/linux-6.1.9/lib/
Dtest_bpf.c1747 insns[i++] = BPF_MOV32_IMM(R0, __LINE__); in __bpf_emit_cmpxchg32()
1751 insns[i++] = BPF_MOV32_IMM(R0, __LINE__); in __bpf_emit_cmpxchg32()
1761 insns[i++] = BPF_MOV32_IMM(R0, __LINE__); in __bpf_emit_cmpxchg32()
1765 insns[i++] = BPF_MOV32_IMM(R0, __LINE__); in __bpf_emit_cmpxchg32()
1954 insn[i++] = BPF_MOV32_IMM(R0, __LINE__); in __bpf_fill_atomic_reg_pairs()
1959 insn[i++] = BPF_MOV32_IMM(R0, __LINE__); in __bpf_fill_atomic_reg_pairs()
1978 insn[i++] = BPF_MOV32_IMM(R0, __LINE__); in __bpf_fill_atomic_reg_pairs()
1983 insn[i++] = BPF_MOV32_IMM(R0, __LINE__); in __bpf_fill_atomic_reg_pairs()
1991 insn[i++] = BPF_MOV32_IMM(R0, __LINE__); in __bpf_fill_atomic_reg_pairs()
2012 insn[i++] = BPF_MOV32_IMM(R0, __LINE__); in __bpf_fill_atomic_reg_pairs()
[all …]
/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_sock_addr.c777 BPF_MOV32_IMM(BPF_REG_7, src4_rw_ip.s_addr), in sendmsg4_rw_asm_prog_load()
782 BPF_MOV32_IMM(BPF_REG_7, dst4_rw_addr.sin_addr.s_addr), in sendmsg4_rw_asm_prog_load()
787 BPF_MOV32_IMM(BPF_REG_7, dst4_rw_addr.sin_port), in sendmsg4_rw_asm_prog_load()
835 BPF_MOV32_IMM(BPF_REG_7, SRC[N]), \ in sendmsg6_rw_dst_asm_prog_load()
849 BPF_MOV32_IMM(BPF_REG_7, dst6_rw_addr.sin6_port), in sendmsg6_rw_dst_asm_prog_load()
/linux-6.1.9/samples/bpf/
Dbpf_insn.h72 #define BPF_MOV32_IMM(DST, IMM) \ macro
/linux-6.1.9/tools/include/linux/
Dfilter.h106 #define BPF_MOV32_IMM(DST, IMM) \ macro

12