Home
last modified time | relevance | path

Searched refs:BPF_RSH (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dalign.c59 BPF_ALU64_IMM(BPF_RSH, BPF_REG_3, 4),
61 BPF_ALU64_IMM(BPF_RSH, BPF_REG_4, 1),
62 BPF_ALU64_IMM(BPF_RSH, BPF_REG_4, 1),
63 BPF_ALU64_IMM(BPF_RSH, BPF_REG_4, 1),
64 BPF_ALU64_IMM(BPF_RSH, BPF_REG_4, 1),
155 BPF_ALU64_IMM(BPF_RSH, BPF_REG_4, 1),
156 BPF_ALU64_IMM(BPF_RSH, BPF_REG_4, 1),
157 BPF_ALU64_IMM(BPF_RSH, BPF_REG_4, 1),
158 BPF_ALU64_IMM(BPF_RSH, BPF_REG_4, 1),
/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Djit.c10 BPF_ALU64_IMM(BPF_RSH, BPF_REG_1, 1),
11 BPF_ALU32_IMM(BPF_RSH, BPF_REG_1, 1),
33 BPF_ALU64_REG(BPF_RSH, BPF_REG_1, BPF_REG_4),
35 BPF_ALU32_REG(BPF_RSH, BPF_REG_4, BPF_REG_0),
52 BPF_ALU64_IMM(BPF_RSH, BPF_REG_1, 32),
H A Dbasic_instr.c112 BPF_ALU64_IMM(BPF_RSH, BPF_REG_1, 0),
155 BPF_ALU64_REG(BPF_RSH, BPF_REG_1, BPF_REG_3),
H A Djmp32.c808 BPF_ALU64_IMM(BPF_RSH, BPF_REG_6, 32),
836 BPF_ALU64_IMM(BPF_RSH, BPF_REG_6, 32),
864 BPF_ALU64_IMM(BPF_RSH, BPF_REG_6, 32),
H A Dprecise.c246 BPF_ALU64_IMM(BPF_RSH, BPF_REG_6, 10),
/openbmc/linux/lib/
H A Dtest_bpf.c562 case BPF_RSH: in __bpf_alu_result()
3476 BPF_STMT(BPF_ALU | BPF_RSH, 1),
3744 BPF_ALU64_IMM(BPF_RSH, R1, 8),
3761 BPF_ALU64_IMM(BPF_RSH, R1, 8),
4315 BPF_ALU64_IMM(BPF_RSH, R2, 32),
4332 BPF_ALU64_IMM(BPF_RSH, R2, 32),
4485 BPF_ALU32_REG(BPF_RSH, R0, R1),
7218 BPF_ALU32_IMM(BPF_RSH, R0, 1),
7251 BPF_ALU32_IMM(BPF_RSH, R0, 0),
7262 BPF_ALU64_IMM(BPF_RSH, R0, 1),
[all …]
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf_common.h39 #define BPF_RSH 0x70 macro
/openbmc/linux/include/uapi/linux/
H A Dbpf_common.h39 #define BPF_RSH 0x70 macro
/openbmc/linux/arch/mips/net/
H A Dbpf_jit_comp.c216 case BPF_RSH: in valid_alu_i()
253 case BPF_RSH: in rewrite_alu_i()
281 op = BPF_RSH; in rewrite_alu_i()
322 case BPF_RSH: in emit_alu_i()
362 case BPF_RSH: in emit_alu_r()
H A Dbpf_jit_comp64.c178 case BPF_RSH: in emit_alu_i64()
209 case BPF_RSH: in emit_alu_r64()
692 case BPF_ALU | BPF_RSH | BPF_K: in build_insn()
727 case BPF_ALU | BPF_RSH | BPF_X: in build_insn()
766 case BPF_ALU64 | BPF_RSH | BPF_K: in build_insn()
795 case BPF_ALU64 | BPF_RSH | BPF_X: in build_insn()
H A Dbpf_jit_comp32.c338 case BPF_RSH: in emit_shift_i64()
391 case BPF_RSH: in emit_shift_r64()
1512 case BPF_ALU | BPF_RSH | BPF_K: in build_insn()
1542 case BPF_ALU | BPF_RSH | BPF_X: in build_insn()
1584 case BPF_ALU64 | BPF_RSH | BPF_K: in build_insn()
1620 case BPF_ALU64 | BPF_RSH | BPF_X: in build_insn()
/openbmc/linux/tools/bpf/
H A Dbpf_exp.y435 bpf_set_curr_instr(BPF_ALU | BPF_RSH | BPF_K, 0, 0, $3); }
437 bpf_set_curr_instr(BPF_ALU | BPF_RSH | BPF_X, 0, 0, 0); }
439 bpf_set_curr_instr(BPF_ALU | BPF_RSH | BPF_X, 0, 0, 0); }
/openbmc/linux/arch/riscv/net/
H A Dbpf_jit_comp32.c296 case BPF_RSH: in emit_alu_i64()
385 case BPF_RSH: in emit_alu_i32()
472 case BPF_RSH: in emit_alu_r64()
550 case BPF_RSH: in emit_alu_r32()
986 case BPF_ALU64 | BPF_RSH | BPF_X: in bpf_jit_emit_insn()
1010 case BPF_ALU64 | BPF_RSH | BPF_K: in bpf_jit_emit_insn()
1039 case BPF_ALU | BPF_RSH | BPF_X: in bpf_jit_emit_insn()
1055 case BPF_ALU | BPF_RSH | BPF_K: in bpf_jit_emit_insn()
/openbmc/linux/arch/parisc/net/
H A Dbpf_jit_comp32.c472 case BPF_RSH: in emit_alu_i64()
549 case BPF_RSH: in emit_alu_i32()
615 case BPF_RSH: in emit_alu_r64()
679 case BPF_RSH: in emit_alu_r32()
1160 case BPF_ALU64 | BPF_RSH | BPF_X: in bpf_jit_emit_insn()
1179 case BPF_ALU64 | BPF_RSH | BPF_K: in bpf_jit_emit_insn()
1208 case BPF_ALU | BPF_RSH | BPF_X: in bpf_jit_emit_insn()
1225 case BPF_ALU | BPF_RSH | BPF_K: in bpf_jit_emit_insn()
H A Dbpf_jit_comp64.c697 case BPF_ALU | BPF_RSH | BPF_X: in bpf_jit_emit_insn()
698 case BPF_ALU64 | BPF_RSH | BPF_X: in bpf_jit_emit_insn()
831 case BPF_ALU | BPF_RSH | BPF_K: in bpf_jit_emit_insn()
832 case BPF_ALU64 | BPF_RSH | BPF_K: in bpf_jit_emit_insn()
/openbmc/linux/arch/powerpc/net/
H A Dbpf_jit_comp64.c596 case BPF_ALU | BPF_RSH | BPF_X: /* (u32) dst >>= (u32) src */ in bpf_jit_build_body()
601 case BPF_ALU64 | BPF_RSH | BPF_X: /* dst >>= src */ in bpf_jit_build_body()
604 case BPF_ALU | BPF_RSH | BPF_K: /* (u32) dst >>= (u32) imm */ in bpf_jit_build_body()
609 case BPF_ALU64 | BPF_RSH | BPF_K: /* dst >>= imm */ in bpf_jit_build_body()
H A Dbpf_jit_comp32.c646 case BPF_ALU | BPF_RSH | BPF_X: /* (u32) dst >>= (u32) src */ in bpf_jit_build_body()
649 case BPF_ALU64 | BPF_RSH | BPF_X: /* dst >>= src */ in bpf_jit_build_body()
660 case BPF_ALU | BPF_RSH | BPF_K: /* (u32) dst >>= (u32) imm */ in bpf_jit_build_body()
666 case BPF_ALU64 | BPF_RSH | BPF_K: /* dst >>= imm */ in bpf_jit_build_body()
/openbmc/linux/tools/lib/bpf/
H A Dgen_loader.c705 emit(gen, BPF_ALU64_IMM(BPF_RSH, BPF_REG_9, 32)); in emit_relo_kfunc_btf()
780 emit(gen, BPF_ALU64_IMM(BPF_RSH, BPF_REG_9, 32)); in emit_relo_ksym_typeless()
836 emit(gen, BPF_ALU64_IMM(BPF_RSH, BPF_REG_7, 32)); in emit_relo_ksym_btf()
1012 emit(gen, BPF_ALU64_IMM(BPF_RSH, BPF_REG_7, 32)); in bpf_gen__prog_load()
/openbmc/linux/arch/loongarch/net/
H A Dbpf_jit.c657 case BPF_ALU | BPF_RSH | BPF_X: in build_insn()
662 case BPF_ALU64 | BPF_RSH | BPF_X: in build_insn()
667 case BPF_ALU | BPF_RSH | BPF_K: in build_insn()
672 case BPF_ALU64 | BPF_RSH | BPF_K: in build_insn()
/openbmc/linux/arch/arm/net/
H A Dbpf_jit_32.c705 case BPF_RSH: in emit_alu_r()
798 case BPF_RSH: in emit_a32_alu_i()
1417 case BPF_ALU | BPF_RSH | BPF_X: in build_insn()
1478 case BPF_ALU | BPF_RSH | BPF_K: in build_insn()
1494 case BPF_ALU64 | BPF_RSH | BPF_K: in build_insn()
1504 case BPF_ALU64 | BPF_RSH | BPF_X: in build_insn()
/openbmc/linux/arch/x86/net/
H A Dbpf_jit_comp.c272 [BPF_RSH] = 0xE8,
1315 case BPF_ALU | BPF_RSH | BPF_K: in do_jit()
1318 case BPF_ALU64 | BPF_RSH | BPF_K: in do_jit()
1331 case BPF_ALU | BPF_RSH | BPF_X: in do_jit()
1334 case BPF_ALU64 | BPF_RSH | BPF_X: in do_jit()
1346 case BPF_RSH: in do_jit()
H A Dbpf_jit_comp32.c504 case BPF_RSH: in emit_ia32_shift_r()
1770 case BPF_ALU | BPF_RSH | BPF_X: in do_jit()
1820 case BPF_ALU | BPF_RSH | BPF_K: in do_jit()
1838 case BPF_ALU64 | BPF_RSH | BPF_K: in do_jit()
1848 case BPF_ALU64 | BPF_RSH | BPF_X: in do_jit()
/openbmc/linux/arch/sparc/net/
H A Dbpf_jit_comp_32.c436 case BPF_ALU | BPF_RSH | BPF_X: /* A >>= X */ in bpf_jit_compile()
439 case BPF_ALU | BPF_RSH | BPF_K: /* A >>= K */ in bpf_jit_compile()
H A Dbpf_jit_comp_64.c980 case BPF_ALU | BPF_RSH | BPF_X: in build_insn()
985 case BPF_ALU64 | BPF_RSH | BPF_X: in build_insn()
1148 case BPF_ALU | BPF_RSH | BPF_K: in build_insn()
1153 case BPF_ALU64 | BPF_RSH | BPF_K: in build_insn()
/openbmc/linux/arch/s390/net/
H A Dbpf_jit_comp.c1139 case BPF_ALU | BPF_RSH | BPF_X: /* dst = (u32) dst >> (u32) src */ in bpf_jit_insn()
1144 case BPF_ALU64 | BPF_RSH | BPF_X: /* dst = dst >> src */ in bpf_jit_insn()
1148 case BPF_ALU | BPF_RSH | BPF_K: /* dst = (u32) dst >> (u32) imm */ in bpf_jit_insn()
1155 case BPF_ALU64 | BPF_RSH | BPF_K: /* dst = dst >> imm */ in bpf_jit_insn()

12