/linux-6.1.9/tools/testing/selftests/bpf/verifier/ |
D | div0.c | 4 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 …]
|
D | masking.c | 4 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 …]
|
D | div_overflow.c | 8 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 …]
|
D | atomic_cmpxchg.c | 44 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 …]
|
D | ctx_sk_lookup.c | 254 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 …]
|
D | atomic_xchg.c | 30 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),
|
D | atomic_or.c | 59 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),
|
D | ld_abs.c | 110 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),
|
D | direct_stack_access_wraparound.c | 7 BPF_MOV32_IMM(BPF_REG_0, 0), 20 BPF_MOV32_IMM(BPF_REG_0, 0), 33 BPF_MOV32_IMM(BPF_REG_0, 0),
|
D | spill_fill.c | 143 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),
|
D | atomic_xor.c | 59 BPF_MOV32_IMM(BPF_REG_1, 0x011), 63 BPF_MOV32_IMM(BPF_REG_0, 3), 68 BPF_MOV32_IMM(BPF_REG_1, 2),
|
D | atomic_and.c | 59 BPF_MOV32_IMM(BPF_REG_1, 0x011), 63 BPF_MOV32_IMM(BPF_REG_0, 3), 68 BPF_MOV32_IMM(BPF_REG_1, 2),
|
D | basic_instr.c | 19 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),
|
D | search_pruning.c | 68 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),
|
D | array_access.c | 72 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),
|
D | raw_tp_writable.c | 9 BPF_MOV32_IMM(BPF_REG_0, 0),
|
D | jmp32.c | 803 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),
|
D | atomic_fetch_add.c | 30 BPF_MOV32_IMM(BPF_REG_1, 1),
|
D | and.c | 38 BPF_MOV32_IMM(BPF_REG_3, 1),
|
D | bounds.c | 88 BPF_MOV32_IMM(BPF_REG_2, 0xffffffff), 544 BPF_MOV32_IMM(BPF_REG_9, 0), 591 BPF_MOV32_IMM(BPF_REG_1, 0),
|
D | subreg.c | 378 BPF_MOV32_IMM(BPF_REG_0, 0), 384 BPF_MOV32_IMM(BPF_REG_0, 1),
|
/linux-6.1.9/lib/ |
D | test_bpf.c | 1747 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/ |
D | test_sock_addr.c | 777 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/ |
D | bpf_insn.h | 72 #define BPF_MOV32_IMM(DST, IMM) \ macro
|
/linux-6.1.9/tools/include/linux/ |
D | filter.h | 106 #define BPF_MOV32_IMM(DST, IMM) \ macro
|