/linux/tools/testing/selftests/bpf/verifier/ |
H A D | jit.c | 30 BPF_ALU32_REG(BPF_LSH, BPF_REG_1, BPF_REG_4), 35 BPF_ALU32_REG(BPF_RSH, BPF_REG_4, BPF_REG_0), 96 BPF_ALU32_REG(BPF_MUL, BPF_REG_0, BPF_REG_1), 101 BPF_ALU32_REG(BPF_MUL, BPF_REG_3, BPF_REG_1), 119 BPF_ALU32_REG(BPF_MUL, BPF_REG_5, BPF_REG_1), 158 BPF_ALU32_REG(BPF_DIV, BPF_REG_1, BPF_REG_3), 162 BPF_ALU32_REG(BPF_DIV, BPF_REG_1, BPF_REG_1),
|
H A D | ld_abs.c | 136 BPF_ALU32_REG(BPF_SUB, BPF_REG_0, BPF_REG_7), 149 BPF_ALU32_REG(BPF_SUB, BPF_REG_0, BPF_REG_7), 171 BPF_ALU32_REG(BPF_DIV, BPF_REG_0, BPF_REG_2), 191 BPF_ALU32_REG(BPF_DIV, BPF_REG_0, BPF_REG_2), 211 BPF_ALU32_REG(BPF_DIV, BPF_REG_0, BPF_REG_7), 227 BPF_ALU32_REG(BPF_DIV, BPF_REG_0, BPF_REG_7),
|
H A D | basic_instr.c | 22 BPF_ALU32_REG(BPF_XOR, BPF_REG_2, BPF_REG_2), 57 BPF_ALU32_REG(BPF_ARSH, BPF_REG_0, BPF_REG_1), 68 BPF_ALU32_REG(BPF_ARSH, BPF_REG_0, BPF_REG_1),
|
H A D | jmp32.c | 882 BPF_ALU32_REG(BPF_OR, BPF_REG_2, BPF_REG_6),
|
H A D | calls.c | 333 BPF_ALU32_REG(BPF_DIV, BPF_REG_3, BPF_REG_2),
|
/linux/lib/ |
H A D | test_bpf.c | 505 insns[i++] = BPF_ALU32_REG(op, R0, R1); in __bpf_fill_max_jmp() 630 insn[i++] = BPF_ALU32_REG(op, R1, R2); in __bpf_fill_alu_shift() 754 insn[i++] = BPF_ALU32_REG(op, R1, R1); in __bpf_fill_alu_shift_same_reg() 994 insns[i++] = BPF_ALU32_REG(op, R1, R2); in __bpf_emit_alu32_reg() 1442 insns[i++] = BPF_ALU32_REG(op, rd, rs); in __bpf_fill_alu_reg_pairs() 3760 BPF_ALU32_REG(BPF_MUL, R1, R2), 3955 BPF_ALU32_REG(BPF_ADD, R0, R1), 3956 BPF_ALU32_REG(BPF_ADD, R0, R2), 3957 BPF_ALU32_REG(BPF_ADD, R0, R3), 3958 BPF_ALU32_REG(BPF_ADD, R0, R4), [all …]
|
/linux/samples/bpf/ |
H A D | bpf_insn.h | 18 #define BPF_ALU32_REG(OP, DST, SRC) \ macro
|
/linux/tools/include/linux/ |
H A D | filter.h | 42 #define BPF_ALU32_REG(OP, DST, SRC) \ macro
|
/linux/net/core/ |
H A D | filter.c | 463 *insn = BPF_ALU32_REG(BPF_XOR, BPF_REG_A, BPF_REG_X); in convert_bpf_extensions() 542 *insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_A, BPF_REG_A); in convert_bpf_ld_abs() 601 *new_insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_A, BPF_REG_A); in bpf_convert_filter() 602 *new_insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_X, BPF_REG_X); in bpf_convert_filter() 622 *new_insn++ = BPF_ALU32_REG(BPF_SUB, BPF_REG_H, BPF_REG_TMP); in bpf_convert_filter() 685 *insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_A, BPF_REG_A); in bpf_convert_filter() 8935 *insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_0, BPF_REG_0); in bpf_gen_ld_abs()
|
/linux/include/linux/ |
H A D | filter.h | 121 #define BPF_ALU32_REG(OP, DST, SRC) \ macro
|
/linux/kernel/bpf/ |
H A D | verifier.c | 20539 BPF_ALU32_REG(BPF_XOR, insn->dst_reg, insn->dst_reg), in do_misc_fixups()
|