/Linux-v6.6/tools/testing/selftests/bpf/verifier/ |
D | basic_instr.c | 36 BPF_ALU32_IMM(BPF_ARSH, BPF_REG_0, 5), 46 BPF_ALU32_IMM(BPF_ARSH, BPF_REG_0, 7), 57 BPF_ALU32_REG(BPF_ARSH, BPF_REG_0, BPF_REG_1), 68 BPF_ALU32_REG(BPF_ARSH, BPF_REG_0, BPF_REG_1), 78 BPF_ALU64_IMM(BPF_ARSH, BPF_REG_0, 5), 88 BPF_ALU64_REG(BPF_ARSH, BPF_REG_0, BPF_REG_1), 126 BPF_ALU64_IMM(BPF_ARSH, BPF_REG_1, 0), 170 BPF_ALU64_REG(BPF_ARSH, BPF_REG_1, BPF_REG_3),
|
D | jit.c | 14 BPF_ALU64_IMM(BPF_ARSH, BPF_REG_1, 1), 38 BPF_ALU64_REG(BPF_ARSH, BPF_REG_4, BPF_REG_4),
|
/Linux-v6.6/arch/mips/net/ |
D | bpf_jit_comp64.c | 182 case BPF_ARSH: in emit_alu_i64() 213 case BPF_ARSH: in emit_alu_r64() 693 case BPF_ALU | BPF_ARSH | BPF_K: in build_insn() 728 case BPF_ALU | BPF_ARSH | BPF_X: in build_insn() 767 case BPF_ALU64 | BPF_ARSH | BPF_K: in build_insn() 796 case BPF_ALU64 | BPF_ARSH | BPF_X: in build_insn()
|
D | bpf_jit_comp.c | 217 case BPF_ARSH: in valid_alu_i() 254 case BPF_ARSH: in rewrite_alu_i() 326 case BPF_ARSH: in emit_alu_i() 366 case BPF_ARSH: in emit_alu_r()
|
D | bpf_jit_comp32.c | 350 case BPF_ARSH: in emit_shift_i64() 404 case BPF_ARSH: in emit_shift_r64() 1513 case BPF_ALU | BPF_ARSH | BPF_K: in build_insn() 1543 case BPF_ALU | BPF_ARSH | BPF_X: in build_insn() 1585 case BPF_ALU64 | BPF_ARSH | BPF_K: in build_insn() 1621 case BPF_ALU64 | BPF_ARSH | BPF_X: in build_insn()
|
/Linux-v6.6/arch/riscv/net/ |
D | bpf_jit_comp32.c | 309 case BPF_ARSH: in emit_alu_i64() 393 case BPF_ARSH: in emit_alu_i32() 486 case BPF_ARSH: in emit_alu_r64() 553 case BPF_ARSH: in emit_alu_r32() 987 case BPF_ALU64 | BPF_ARSH | BPF_X: in bpf_jit_emit_insn() 1011 case BPF_ALU64 | BPF_ARSH | BPF_K: in bpf_jit_emit_insn() 1040 case BPF_ALU | BPF_ARSH | BPF_X: in bpf_jit_emit_insn() 1056 case BPF_ALU | BPF_ARSH | BPF_K: in bpf_jit_emit_insn()
|
D | bpf_jit_comp64.c | 1179 case BPF_ALU | BPF_ARSH | BPF_X: in bpf_jit_emit_insn() 1180 case BPF_ALU64 | BPF_ARSH | BPF_X: in bpf_jit_emit_insn() 1373 case BPF_ALU | BPF_ARSH | BPF_K: in bpf_jit_emit_insn() 1374 case BPF_ALU64 | BPF_ARSH | BPF_K: in bpf_jit_emit_insn()
|
/Linux-v6.6/arch/parisc/net/ |
D | bpf_jit_comp32.c | 487 case BPF_ARSH: in emit_alu_i64() 553 case BPF_ARSH: in emit_alu_i32() 618 case BPF_ARSH: in emit_alu_r64() 683 case BPF_ARSH: /* sign extending arithmetic shift right */ in emit_alu_r32() 1161 case BPF_ALU64 | BPF_ARSH | BPF_X: in bpf_jit_emit_insn() 1180 case BPF_ALU64 | BPF_ARSH | BPF_K: in bpf_jit_emit_insn() 1209 case BPF_ALU | BPF_ARSH | BPF_X: in bpf_jit_emit_insn() 1226 case BPF_ALU | BPF_ARSH | BPF_K: in bpf_jit_emit_insn()
|
D | bpf_jit_comp64.c | 707 case BPF_ALU | BPF_ARSH | BPF_X: in bpf_jit_emit_insn() 708 case BPF_ALU64 | BPF_ARSH | BPF_X: in bpf_jit_emit_insn() 843 case BPF_ALU | BPF_ARSH | BPF_K: in bpf_jit_emit_insn() 844 case BPF_ALU64 | BPF_ARSH | BPF_K: in bpf_jit_emit_insn()
|
/Linux-v6.6/arch/powerpc/net/ |
D | bpf_jit_comp64.c | 613 case BPF_ALU | BPF_ARSH | BPF_X: /* (s32) dst >>= src */ in bpf_jit_build_body() 616 case BPF_ALU64 | BPF_ARSH | BPF_X: /* (s64) dst >>= src */ in bpf_jit_build_body() 619 case BPF_ALU | BPF_ARSH | BPF_K: /* (s32) dst >>= imm */ in bpf_jit_build_body() 622 case BPF_ALU64 | BPF_ARSH | BPF_K: /* (s64) dst >>= imm */ in bpf_jit_build_body()
|
D | bpf_jit_comp32.c | 684 case BPF_ALU | BPF_ARSH | BPF_X: /* (s32) dst >>= src */ in bpf_jit_build_body() 687 case BPF_ALU64 | BPF_ARSH | BPF_X: /* (s64) dst >>= src */ in bpf_jit_build_body() 700 case BPF_ALU | BPF_ARSH | BPF_K: /* (s32) dst >>= imm */ in bpf_jit_build_body() 706 case BPF_ALU64 | BPF_ARSH | BPF_K: /* (s64) dst >>= imm */ in bpf_jit_build_body()
|
/Linux-v6.6/lib/ |
D | test_bpf.c | 499 BPF_LSH, BPF_RSH, BPF_ARSH, BPF_ADD, in __bpf_fill_max_jmp() 565 case BPF_ARSH: in __bpf_alu_result() 632 if (op == BPF_ARSH) in __bpf_fill_alu_shift() 681 return __bpf_fill_alu_shift(self, BPF_ARSH, BPF_K, false); in bpf_fill_alu64_arsh_imm() 696 return __bpf_fill_alu_shift(self, BPF_ARSH, BPF_X, false); in bpf_fill_alu64_arsh_reg() 711 return __bpf_fill_alu_shift(self, BPF_ARSH, BPF_K, true); in bpf_fill_alu32_arsh_imm() 726 return __bpf_fill_alu_shift(self, BPF_ARSH, BPF_X, true); in bpf_fill_alu32_arsh_reg() 791 return __bpf_fill_alu_shift_same_reg(self, BPF_ARSH, false); in bpf_fill_alu64_arsh_same_reg() 806 return __bpf_fill_alu_shift_same_reg(self, BPF_ARSH, true); in bpf_fill_alu32_arsh_same_reg() 1238 if (op == BPF_LSH || op == BPF_RSH || op == BPF_ARSH) in __bpf_fill_alu_imm_regs() [all …]
|
/Linux-v6.6/arch/loongarch/net/ |
D | bpf_jit.c | 678 case BPF_ALU | BPF_ARSH | BPF_X: in build_insn() 683 case BPF_ALU64 | BPF_ARSH | BPF_X: in build_insn() 688 case BPF_ALU | BPF_ARSH | BPF_K: in build_insn() 693 case BPF_ALU64 | BPF_ARSH | BPF_K: in build_insn()
|
/Linux-v6.6/arch/arm/net/ |
D | bpf_jit_32.c | 709 case BPF_ARSH: in emit_alu_r() 801 case BPF_ARSH: in emit_a32_alu_i() 1418 case BPF_ALU | BPF_ARSH | BPF_X: in build_insn() 1479 case BPF_ALU | BPF_ARSH | BPF_K: in build_insn() 1508 case BPF_ALU64 | BPF_ARSH | BPF_X: in build_insn() 1512 case BPF_ALU64 | BPF_ARSH | BPF_K: in build_insn()
|
/Linux-v6.6/arch/x86/net/ |
D | bpf_jit_comp.c | 223 [BPF_ARSH] = 0xF8, 1262 case BPF_ALU | BPF_ARSH | BPF_K: in do_jit() 1265 case BPF_ALU64 | BPF_ARSH | BPF_K: in do_jit() 1278 case BPF_ALU | BPF_ARSH | BPF_X: in do_jit() 1281 case BPF_ALU64 | BPF_ARSH | BPF_X: in do_jit() 1295 case BPF_ARSH: in do_jit()
|
D | bpf_jit_comp32.c | 506 case BPF_ARSH: in emit_ia32_shift_r() 1771 case BPF_ALU | BPF_ARSH | BPF_K: in do_jit() 1772 case BPF_ALU | BPF_ARSH | BPF_X: in do_jit() 1852 case BPF_ALU64 | BPF_ARSH | BPF_X: in do_jit() 1856 case BPF_ALU64 | BPF_ARSH | BPF_K: in do_jit()
|
/Linux-v6.6/arch/sparc/net/ |
D | bpf_jit_comp_64.c | 988 case BPF_ALU | BPF_ARSH | BPF_X: in build_insn() 991 case BPF_ALU64 | BPF_ARSH | BPF_X: in build_insn() 1156 case BPF_ALU | BPF_ARSH | BPF_K: in build_insn() 1159 case BPF_ALU64 | BPF_ARSH | BPF_K: in build_insn()
|
/Linux-v6.6/arch/s390/net/ |
D | bpf_jit_comp.c | 1164 case BPF_ALU | BPF_ARSH | BPF_X: /* ((s32) dst) >>= src */ in bpf_jit_insn() 1169 case BPF_ALU64 | BPF_ARSH | BPF_X: /* ((s64) dst) >>= src */ in bpf_jit_insn() 1173 case BPF_ALU | BPF_ARSH | BPF_K: /* ((s32) dst >> imm */ in bpf_jit_insn() 1180 case BPF_ALU64 | BPF_ARSH | BPF_K: /* ((s64) dst) >>= imm */ in bpf_jit_insn()
|
/Linux-v6.6/tools/testing/selftests/bpf/ |
D | disasm.c | 86 [BPF_ARSH >> 4] = "s>>=",
|
/Linux-v6.6/kernel/bpf/ |
D | disasm.c | 86 [BPF_ARSH >> 4] = "s>>=",
|
/Linux-v6.6/arch/arm64/net/ |
D | bpf_jit_comp.c | 852 case BPF_ALU | BPF_ARSH | BPF_X: in build_insn() 853 case BPF_ALU64 | BPF_ARSH | BPF_X: in build_insn() 990 case BPF_ALU | BPF_ARSH | BPF_K: in build_insn() 991 case BPF_ALU64 | BPF_ARSH | BPF_K: in build_insn()
|
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/bpf/ |
D | jit.c | 3443 [BPF_ALU64 | BPF_ARSH | BPF_X] = ashr_reg64, 3444 [BPF_ALU64 | BPF_ARSH | BPF_K] = ashr_imm64, 3466 [BPF_ALU | BPF_ARSH | BPF_X] = ashr_reg, 3467 [BPF_ALU | BPF_ARSH | BPF_K] = ashr_imm,
|
/Linux-v6.6/Documentation/bpf/ |
D | classic_vs_extended.rst | 303 BPF_ARSH 0xc0 /* eBPF only: sign extending shift right */
|
/Linux-v6.6/tools/include/uapi/linux/ |
D | bpf.h | 28 #define BPF_ARSH 0xc0 /* sign extending arithmetic shift right */ macro
|
/Linux-v6.6/include/uapi/linux/ |
D | bpf.h | 28 #define BPF_ARSH 0xc0 /* sign extending arithmetic shift right */ macro
|