/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | align.c | 59 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 D | jit.c | 10 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 D | basic_instr.c | 112 BPF_ALU64_IMM(BPF_RSH, BPF_REG_1, 0), 155 BPF_ALU64_REG(BPF_RSH, BPF_REG_1, BPF_REG_3),
|
H A D | jmp32.c | 808 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 D | precise.c | 246 BPF_ALU64_IMM(BPF_RSH, BPF_REG_6, 10),
|
/openbmc/linux/lib/ |
H A D | test_bpf.c | 562 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 D | bpf_common.h | 39 #define BPF_RSH 0x70 macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf_common.h | 39 #define BPF_RSH 0x70 macro
|
/openbmc/linux/arch/mips/net/ |
H A D | bpf_jit_comp.c | 216 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 D | bpf_jit_comp64.c | 178 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 D | bpf_jit_comp32.c | 338 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 D | bpf_exp.y | 435 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 D | bpf_jit_comp32.c | 296 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 D | bpf_jit_comp32.c | 472 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 D | bpf_jit_comp64.c | 697 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 D | bpf_jit_comp64.c | 596 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 D | bpf_jit_comp32.c | 646 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 D | gen_loader.c | 705 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 D | bpf_jit.c | 657 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 D | bpf_jit_32.c | 705 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 D | bpf_jit_comp.c | 272 [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 D | bpf_jit_comp32.c | 504 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 D | bpf_jit_comp_32.c | 436 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 D | bpf_jit_comp_64.c | 980 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 D | bpf_jit_comp.c | 1139 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()
|