/kernel/linux/linux-5.10/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 | ctx_sk_lookup.c | 236 BPF_MOV32_IMM(BPF_REG_0, 0), 249 BPF_MOV32_IMM(BPF_REG_0, 0), 262 BPF_MOV32_IMM(BPF_REG_0, 0), 275 BPF_MOV32_IMM(BPF_REG_0, 0), 288 BPF_MOV32_IMM(BPF_REG_0, 0), 301 BPF_MOV32_IMM(BPF_REG_0, 0), 314 BPF_MOV32_IMM(BPF_REG_0, 0), 327 BPF_MOV32_IMM(BPF_REG_0, 0), 340 BPF_MOV32_IMM(BPF_REG_0, 0), 354 BPF_MOV32_IMM(BPF_REG_0, 0), [all …]
|
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 | 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 | 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 | search_pruning.c | 68 BPF_MOV32_IMM(BPF_REG_2, MAX_ENTRIES), 70 BPF_MOV32_IMM(BPF_REG_1, 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 | raw_tp_writable.c | 9 BPF_MOV32_IMM(BPF_REG_0, 0),
|
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),
|
D | calls.c | 41 BPF_MOV32_IMM(BPF_REG_2, 0), 42 BPF_MOV32_IMM(BPF_REG_3, 1), 69 BPF_MOV32_IMM(BPF_REG_0, 42), 370 BPF_MOV32_IMM(BPF_REG_0, 0),
|
D | value_ptr_arith.c | 521 BPF_MOV32_IMM(BPF_REG_1, 0x12345678), 863 BPF_MOV32_IMM(BPF_REG_1, 0xFFFFFFFF),
|
D | unpriv.c | 415 BPF_MOV32_IMM(BPF_REG_7, 0),
|
/kernel/linux/linux-5.10/lib/ |
D | test_bpf.c | 1891 BPF_MOV32_IMM(R4, -1234), 2354 BPF_MOV32_IMM(R0, 2), 2356 BPF_MOV32_IMM(R0, 1), 2390 BPF_MOV32_IMM(R0, 2), 2392 BPF_MOV32_IMM(R0, 1), 2406 BPF_MOV32_IMM(R0, 2), 2408 BPF_MOV32_IMM(R0, 1), 2488 BPF_MOV32_IMM(R0, 0), 2490 BPF_MOV32_IMM(R0, 1), 2553 BPF_MOV32_IMM(R0, 2), [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_sock_addr.c | 763 BPF_MOV32_IMM(BPF_REG_7, addr4_rw.sin_addr.s_addr), in bind4_prog_load() 768 BPF_MOV32_IMM(BPF_REG_7, addr4_rw.sin_port), in bind4_prog_load() 822 BPF_MOV32_IMM(BPF_REG_7, addr6_rw.sin6_addr.s6_addr32[N]), \ in bind6_prog_load() 833 BPF_MOV32_IMM(BPF_REG_7, addr6_rw.sin6_port), in bind6_prog_load() 938 BPF_MOV32_IMM(BPF_REG_7, src4_rw_ip.s_addr), in sendmsg4_rw_asm_prog_load() 943 BPF_MOV32_IMM(BPF_REG_7, dst4_rw_addr.sin_addr.s_addr), in sendmsg4_rw_asm_prog_load() 948 BPF_MOV32_IMM(BPF_REG_7, dst4_rw_addr.sin_port), in sendmsg4_rw_asm_prog_load() 984 BPF_MOV32_IMM(BPF_REG_7, src4_rw_addr.sin_addr.s_addr), in recvmsg4_rw_asm_prog_load() 989 BPF_MOV32_IMM(BPF_REG_7, src4_rw_addr.sin_port), in recvmsg4_rw_asm_prog_load() 1032 BPF_MOV32_IMM(BPF_REG_7, SRC[N]), \ in sendmsg6_rw_dst_asm_prog_load() [all …]
|
D | test_verifier.c | 178 insn[len - 2] = BPF_MOV32_IMM(BPF_REG_0, 0); in bpf_fill_ld_abs_vlan_push_pop() 211 insn[i++] = BPF_MOV32_IMM(BPF_REG_0, 0); in bpf_fill_rand_ld_dw()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | bpf_insn.h | 72 #define BPF_MOV32_IMM(DST, IMM) \ macro
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | cgroup_attach_multi.c | 40 BPF_MOV32_IMM(BPF_REG_0, 0), in prog_load_cnt()
|
/kernel/linux/linux-5.10/tools/include/linux/ |
D | filter.h | 106 #define BPF_MOV32_IMM(DST, IMM) \ macro
|
/kernel/linux/linux-5.10/net/core/ |
D | filter.c | 720 *insn++ = BPF_MOV32_IMM(BPF_REG_TMP, fp->k); in bpf_convert_filter() 836 *insn = BPF_MOV32_IMM(BPF_CLASS(fp->code) == BPF_LD ? in bpf_convert_filter() 8535 *insn++ = BPF_MOV32_IMM(si->dst_reg, 0); in bpf_convert_ctx_access() 8555 *insn++ = BPF_MOV32_IMM(si->dst_reg, 0); in bpf_convert_ctx_access() 8742 *insn++ = BPF_MOV32_IMM(si->dst_reg, 0); in bpf_sock_convert_ctx_access() 8758 *insn++ = BPF_MOV32_IMM(si->dst_reg, 0); in bpf_sock_convert_ctx_access() 9274 *insn++ = BPF_MOV32_IMM(si->dst_reg, 0); in sock_ops_convert_ctx_access() 9295 *insn++ = BPF_MOV32_IMM(si->dst_reg, 0); in sock_ops_convert_ctx_access() 9603 *insn++ = BPF_MOV32_IMM(si->dst_reg, 0); in sk_msg_convert_ctx_access() 9624 *insn++ = BPF_MOV32_IMM(si->dst_reg, 0); in sk_msg_convert_ctx_access() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | filter.h | 165 #define BPF_MOV32_IMM(DST, IMM) \ macro
|