/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | align.c | 55 BPF_ALU64_IMM(BPF_LSH, BPF_REG_3, 1), 56 BPF_ALU64_IMM(BPF_LSH, BPF_REG_3, 1), 57 BPF_ALU64_IMM(BPF_LSH, BPF_REG_3, 1), 58 BPF_ALU64_IMM(BPF_LSH, BPF_REG_3, 1), 149 BPF_ALU64_IMM(BPF_LSH, BPF_REG_3, 1), 150 BPF_ALU64_IMM(BPF_LSH, BPF_REG_3, 1), 151 BPF_ALU64_IMM(BPF_LSH, BPF_REG_3, 1), 152 BPF_ALU64_IMM(BPF_LSH, BPF_REG_3, 1), 154 BPF_ALU64_IMM(BPF_LSH, BPF_REG_4, 5), 251 BPF_ALU64_IMM(BPF_LSH, BPF_REG_6, 2), [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/verifier/ |
H A D | jit.c | 6 BPF_ALU64_IMM(BPF_LSH, BPF_REG_1, 1), 7 BPF_ALU32_IMM(BPF_LSH, BPF_REG_1, 1), 29 BPF_ALU64_REG(BPF_LSH, BPF_REG_1, BPF_REG_0), 30 BPF_ALU32_REG(BPF_LSH, BPF_REG_1, BPF_REG_4),
|
H A D | basic_instr.c | 20 BPF_ALU64_IMM(BPF_LSH, BPF_REG_2, 32), 98 BPF_ALU64_IMM(BPF_LSH, BPF_REG_1, 0), 140 BPF_ALU64_REG(BPF_LSH, BPF_REG_1, BPF_REG_2),
|
H A D | atomic_or.c | 91 BPF_ALU64_IMM(BPF_LSH, BPF_REG_2, 32),
|
H A D | jmp32.c | 807 BPF_ALU64_IMM(BPF_LSH, BPF_REG_6, 32), 835 BPF_ALU64_IMM(BPF_LSH, BPF_REG_6, 32), 863 BPF_ALU64_IMM(BPF_LSH, BPF_REG_6, 32),
|
H A D | atomic_cmpxchg.c | 99 BPF_ALU64_IMM(BPF_LSH, BPF_REG_1, 32),
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf_common.h | 38 #define BPF_LSH 0x60 macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf_common.h | 38 #define BPF_LSH 0x60 macro
|
/openbmc/linux/arch/mips/net/ |
H A D | bpf_jit_comp.c | 215 case BPF_LSH: in valid_alu_i() 252 case BPF_LSH: in rewrite_alu_i() 271 op = BPF_LSH; in rewrite_alu_i() 318 case BPF_LSH: in emit_alu_i() 358 case BPF_LSH: in emit_alu_r()
|
H A D | bpf_jit_comp64.c | 174 case BPF_LSH: in emit_alu_i64() 205 case BPF_LSH: in emit_alu_r64() 676 case BPF_ALU | BPF_LSH | BPF_K: in build_insn() 716 case BPF_ALU | BPF_LSH | BPF_X: in build_insn() 765 case BPF_ALU64 | BPF_LSH | BPF_K: in build_insn() 794 case BPF_ALU64 | BPF_LSH | BPF_X: in build_insn()
|
H A D | bpf_jit_comp32.c | 326 case BPF_LSH: in emit_shift_i64() 378 case BPF_LSH: in emit_shift_r64() 1511 case BPF_ALU | BPF_LSH | BPF_K: in build_insn() 1541 case BPF_ALU | BPF_LSH | BPF_X: in build_insn() 1583 case BPF_ALU64 | BPF_LSH | BPF_K: in build_insn() 1619 case BPF_ALU64 | BPF_LSH | BPF_X: in build_insn()
|
/openbmc/linux/lib/ |
H A D | test_bpf.c | 559 case BPF_LSH: in __bpf_alu_result() 4318 BPF_ALU64_IMM(BPF_LSH, R1, 32), 4489 BPF_ALU64_REG(BPF_LSH, R0, R2), 4881 BPF_ALU64_IMM(BPF_LSH, R3, 32), 6750 BPF_ALU32_REG(BPF_LSH, R0, R1), 6762 BPF_ALU32_REG(BPF_LSH, R0, R1), 6774 BPF_ALU32_REG(BPF_LSH, R0, R1), 6910 BPF_ALU32_IMM(BPF_LSH, R0, 1), 6943 BPF_ALU32_IMM(BPF_LSH, R0, 0), 6954 BPF_ALU64_IMM(BPF_LSH, R0, 1), [all …]
|
/openbmc/linux/tools/bpf/ |
H A D | bpf_exp.y | 426 bpf_set_curr_instr(BPF_ALU | BPF_LSH | BPF_K, 0, 0, $3); } 428 bpf_set_curr_instr(BPF_ALU | BPF_LSH | BPF_X, 0, 0, 0); } 430 bpf_set_curr_instr(BPF_ALU | BPF_LSH | BPF_X, 0, 0, 0); }
|
/openbmc/linux/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 283 case BPF_LSH: in emit_alu_i64() 377 case BPF_LSH: in emit_alu_i32() 458 case BPF_LSH: in emit_alu_r64() 547 case BPF_LSH: in emit_alu_r32() 985 case BPF_ALU64 | BPF_LSH | BPF_X: in bpf_jit_emit_insn() 1009 case BPF_ALU64 | BPF_LSH | BPF_K: in bpf_jit_emit_insn() 1038 case BPF_ALU | BPF_LSH | BPF_X: in bpf_jit_emit_insn() 1054 case BPF_ALU | BPF_LSH | BPF_K: in bpf_jit_emit_insn()
|
/openbmc/linux/arch/parisc/net/ |
H A D | bpf_jit_comp32.c | 457 case BPF_LSH: in emit_alu_i64() 545 case BPF_LSH: in emit_alu_i32() 612 case BPF_LSH: in emit_alu_r64() 674 case BPF_LSH: in emit_alu_r32() 1159 case BPF_ALU64 | BPF_LSH | BPF_X: in bpf_jit_emit_insn() 1178 case BPF_ALU64 | BPF_LSH | BPF_K: in bpf_jit_emit_insn() 1207 case BPF_ALU | BPF_LSH | BPF_X: in bpf_jit_emit_insn() 1224 case BPF_ALU | BPF_LSH | BPF_K: in bpf_jit_emit_insn()
|
H A D | bpf_jit_comp64.c | 686 case BPF_ALU | BPF_LSH | BPF_X: in bpf_jit_emit_insn() 687 case BPF_ALU64 | BPF_LSH | BPF_X: in bpf_jit_emit_insn() 822 case BPF_ALU | BPF_LSH | BPF_K: in bpf_jit_emit_insn() 823 case BPF_ALU64 | BPF_LSH | BPF_K: in bpf_jit_emit_insn()
|
/openbmc/linux/arch/powerpc/net/ |
H A D | bpf_jit_comp64.c | 576 case BPF_ALU | BPF_LSH | BPF_X: /* (u32) dst <<= (u32) src */ in bpf_jit_build_body() 583 case BPF_ALU64 | BPF_LSH | BPF_X: /* dst <<= src; */ in bpf_jit_build_body() 586 case BPF_ALU | BPF_LSH | BPF_K: /* (u32) dst <<== (u32) imm */ in bpf_jit_build_body() 592 case BPF_ALU64 | BPF_LSH | BPF_K: /* dst <<== imm */ in bpf_jit_build_body()
|
H A D | bpf_jit_comp32.c | 609 case BPF_ALU | BPF_LSH | BPF_X: /* (u32) dst <<= (u32) src */ in bpf_jit_build_body() 612 case BPF_ALU64 | BPF_LSH | BPF_X: /* dst <<= src; */ in bpf_jit_build_body() 623 case BPF_ALU | BPF_LSH | BPF_K: /* (u32) dst <<= (u32) imm */ in bpf_jit_build_body() 629 case BPF_ALU64 | BPF_LSH | BPF_K: /* dst <<= imm */ in bpf_jit_build_body()
|
/openbmc/linux/arch/loongarch/net/ |
H A D | bpf_jit.c | 637 case BPF_ALU | BPF_LSH | BPF_X: in build_insn() 642 case BPF_ALU64 | BPF_LSH | BPF_X: in build_insn() 647 case BPF_ALU | BPF_LSH | BPF_K: in build_insn() 652 case BPF_ALU64 | BPF_LSH | BPF_K: in build_insn()
|
/openbmc/linux/arch/arm/net/ |
H A D | bpf_jit_32.c | 701 case BPF_LSH: in emit_alu_r() 795 case BPF_LSH: in emit_a32_alu_i() 1416 case BPF_ALU | BPF_LSH | BPF_X: in build_insn() 1477 case BPF_ALU | BPF_LSH | BPF_K: in build_insn() 1488 case BPF_ALU64 | BPF_LSH | BPF_K: in build_insn() 1500 case BPF_ALU64 | BPF_LSH | BPF_X: in build_insn()
|
/openbmc/linux/net/xdp/ |
H A D | xskmap.c | 128 *insn++ = BPF_ALU64_IMM(BPF_LSH, ret, ilog2(sizeof(struct xsk_sock *))); in xsk_map_gen_lookup()
|
/openbmc/linux/arch/x86/net/ |
H A D | bpf_jit_comp.c | 271 [BPF_LSH] = 0xE0, 1314 case BPF_ALU | BPF_LSH | BPF_K: in do_jit() 1317 case BPF_ALU64 | BPF_LSH | BPF_K: in do_jit() 1330 case BPF_ALU | BPF_LSH | BPF_X: in do_jit() 1333 case BPF_ALU64 | BPF_LSH | BPF_X: in do_jit() 1343 case BPF_LSH: in do_jit()
|
H A D | bpf_jit_comp32.c | 502 case BPF_LSH: in emit_ia32_shift_r() 1769 case BPF_ALU | BPF_LSH | BPF_X: in do_jit() 1821 case BPF_ALU | BPF_LSH | BPF_K: in do_jit() 1832 case BPF_ALU64 | BPF_LSH | BPF_K: in do_jit() 1844 case BPF_ALU64 | BPF_LSH | BPF_X: in do_jit()
|
/openbmc/linux/arch/sparc/net/ |
H A D | bpf_jit_comp_32.c | 430 case BPF_ALU | BPF_LSH | BPF_X: /* A <<= X */ in bpf_jit_compile() 433 case BPF_ALU | BPF_LSH | BPF_K: /* A <<= K */ in bpf_jit_compile()
|
H A D | bpf_jit_comp_64.c | 974 case BPF_ALU | BPF_LSH | BPF_X: in build_insn() 977 case BPF_ALU64 | BPF_LSH | BPF_X: in build_insn() 1142 case BPF_ALU | BPF_LSH | BPF_K: in build_insn() 1145 case BPF_ALU64 | BPF_LSH | BPF_K: in build_insn()
|