Home
last modified time | relevance | path

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

/openbmc/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.c320 BPF_ALU32_REG(BPF_DIV, BPF_REG_3, BPF_REG_2),
/openbmc/linux/lib/
H A Dtest_bpf.c3760 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),
3959 BPF_ALU32_REG(BPF_ADD, R0, R5),
3960 BPF_ALU32_REG(BPF_ADD, R0, R6),
3961 BPF_ALU32_REG(BPF_ADD, R0, R7),
3962 BPF_ALU32_REG(BPF_ADD, R0, R8),
6326 BPF_ALU32_REG(BPF_OR, R0, R1),
[all …]
/openbmc/linux/samples/bpf/
H A Dbpf_insn.h18 #define BPF_ALU32_REG(OP, DST, SRC) \ macro
/openbmc/linux/tools/include/linux/
H A Dfilter.h42 #define BPF_ALU32_REG(OP, DST, SRC) \ macro
/openbmc/linux/include/linux/
H A Dfilter.h115 #define BPF_ALU32_REG(OP, DST, SRC) \ macro
/openbmc/linux/net/core/
H A Dfilter.c456 *insn = BPF_ALU32_REG(BPF_XOR, BPF_REG_A, BPF_REG_X); in convert_bpf_extensions()
535 *insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_A, BPF_REG_A); in convert_bpf_ld_abs()
594 *new_insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_A, BPF_REG_A); in bpf_convert_filter()
595 *new_insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_X, BPF_REG_X); in bpf_convert_filter()
615 *new_insn++ = BPF_ALU32_REG(BPF_SUB, BPF_REG_H, BPF_REG_TMP); in bpf_convert_filter()
678 *insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_A, BPF_REG_A); in bpf_convert_filter()
8866 *insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_0, BPF_REG_0); in bpf_gen_ld_abs()
/openbmc/linux/kernel/bpf/
H A Dverifier.c18910 BPF_ALU32_REG(BPF_XOR, insn->dst_reg, insn->dst_reg), in do_misc_fixups()