Home
last modified time | relevance | path

Searched refs:BPF_ALU32_REG (Results 1 – 11 of 11) sorted by relevance

/linux/tools/testing/selftests/bpf/verifier/
H A Djit.c30 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 Dld_abs.c136 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 Dbasic_instr.c22 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 Djmp32.c882 BPF_ALU32_REG(BPF_OR, BPF_REG_2, BPF_REG_6),
H A Dcalls.c333 BPF_ALU32_REG(BPF_DIV, BPF_REG_3, BPF_REG_2),
/linux/lib/
H A Dtest_bpf.c505 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 Dbpf_insn.h18 #define BPF_ALU32_REG(OP, DST, SRC) \ macro
/linux/tools/include/linux/
H A Dfilter.h42 #define BPF_ALU32_REG(OP, DST, SRC) \ macro
/linux/net/core/
H A Dfilter.c463 *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 Dfilter.h121 #define BPF_ALU32_REG(OP, DST, SRC) \ macro
/linux/kernel/bpf/
H A Dverifier.c20539 BPF_ALU32_REG(BPF_XOR, insn->dst_reg, insn->dst_reg), in do_misc_fixups()