/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
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 …]
|
/linux-6.3-rc2/tools/testing/selftests/bpf/verifier/ |
A D | array_access.c | 28 BPF_ALU64_IMM(BPF_LSH, BPF_REG_1, 2), 50 BPF_ALU64_IMM(BPF_LSH, BPF_REG_1, 2), 76 BPF_ALU32_IMM(BPF_LSH, BPF_REG_1, 2), 114 BPF_ALU64_IMM(BPF_LSH, BPF_REG_1, 2), 134 BPF_ALU64_IMM(BPF_LSH, BPF_REG_1, 2), 157 BPF_ALU32_IMM(BPF_LSH, BPF_REG_1, 2), 182 BPF_ALU32_IMM(BPF_LSH, BPF_REG_1, 2),
|
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),
|
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),
|
A D | subreg.c | 225 BPF_ALU32_REG(BPF_LSH, BPF_REG_0, BPF_REG_1), 238 BPF_ALU32_IMM(BPF_LSH, BPF_REG_0, 0), 244 BPF_ALU32_IMM(BPF_LSH, BPF_REG_0, 1), 431 BPF_ALU64_IMM(BPF_LSH, BPF_REG_6, 32), 446 BPF_ALU64_IMM(BPF_LSH, BPF_REG_6, 32), 461 BPF_ALU64_IMM(BPF_LSH, BPF_REG_6, 32), 476 BPF_ALU64_IMM(BPF_LSH, BPF_REG_6, 32),
|
A D | and.c | 12 BPF_ALU64_IMM(BPF_LSH, BPF_REG_1, 2), 55 BPF_ALU64_IMM(BPF_LSH, BPF_REG_0, 32),
|
A D | bpf_get_stack.c | 20 BPF_ALU64_IMM(BPF_LSH, BPF_REG_8, 32), 27 BPF_ALU64_IMM(BPF_LSH, BPF_REG_1, 32),
|
A D | bounds.c | 213 BPF_ALU64_IMM(BPF_LSH, BPF_REG_2, 36), 340 BPF_ALU32_REG(BPF_LSH, BPF_REG_1, BPF_REG_2), 396 BPF_ALU64_IMM(BPF_LSH, BPF_REG_1, 31), 499 BPF_ALU64_IMM(BPF_LSH, BPF_REG_1, 32), 520 BPF_ALU64_IMM(BPF_LSH, BPF_REG_1, 32),
|
A D | value_or_null.c | 70 BPF_ALU64_IMM(BPF_LSH, BPF_REG_4, 1), 141 BPF_ALU64_IMM(BPF_LSH, BPF_REG_1, 2),
|
A D | atomic_or.c | 91 BPF_ALU64_IMM(BPF_LSH, BPF_REG_2, 32),
|
A D | jmp32.c | 799 BPF_ALU64_IMM(BPF_LSH, BPF_REG_6, 32), 827 BPF_ALU64_IMM(BPF_LSH, BPF_REG_6, 32), 855 BPF_ALU64_IMM(BPF_LSH, BPF_REG_6, 32),
|
A D | atomic_cmpxchg.c | 110 BPF_ALU64_IMM(BPF_LSH, BPF_REG_1, 32),
|
A D | search_pruning.c | 71 BPF_ALU32_IMM(BPF_LSH, BPF_REG_1, 2),
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | bpf_common.h | 38 #define BPF_LSH 0x60 macro
|
/linux-6.3-rc2/tools/include/uapi/linux/ |
A D | bpf_common.h | 38 #define BPF_LSH 0x60 macro
|
/linux-6.3-rc2/arch/mips/net/ |
A D | bpf_jit_comp.c | 215 case BPF_LSH: in valid_alu_i() 248 case BPF_LSH: in rewrite_alu_i() 267 op = BPF_LSH; in rewrite_alu_i() 314 case BPF_LSH: in emit_alu_i() 354 case BPF_LSH: in emit_alu_r()
|
A D | bpf_jit_comp64.c | 174 case BPF_LSH: in emit_alu_i64() 205 case BPF_LSH: in emit_alu_r64() 673 case BPF_ALU | BPF_LSH | BPF_K: in build_insn() 713 case BPF_ALU | BPF_LSH | BPF_X: in build_insn() 762 case BPF_ALU64 | BPF_LSH | BPF_K: in build_insn() 791 case BPF_ALU64 | BPF_LSH | BPF_X: in build_insn()
|
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()
|
/linux-6.3-rc2/lib/ |
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 …]
|
/linux-6.3-rc2/tools/bpf/ |
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); }
|
/linux-6.3-rc2/arch/riscv/net/ |
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()
|
/linux-6.3-rc2/arch/powerpc/net/ |
A D | bpf_jit_comp64.c | 558 case BPF_ALU | BPF_LSH | BPF_X: /* (u32) dst <<= (u32) src */ in bpf_jit_build_body() 565 case BPF_ALU64 | BPF_LSH | BPF_X: /* dst <<= src; */ in bpf_jit_build_body() 568 case BPF_ALU | BPF_LSH | BPF_K: /* (u32) dst <<== (u32) imm */ in bpf_jit_build_body() 574 case BPF_ALU64 | BPF_LSH | BPF_K: /* dst <<== imm */ in bpf_jit_build_body()
|
/linux-6.3-rc2/arch/loongarch/net/ |
A D | bpf_jit.c | 638 case BPF_ALU | BPF_LSH | BPF_X: in build_insn() 643 case BPF_ALU64 | BPF_LSH | BPF_X: in build_insn() 648 case BPF_ALU | BPF_LSH | BPF_K: in build_insn() 653 case BPF_ALU64 | BPF_LSH | BPF_K: in build_insn()
|
/linux-6.3-rc2/arch/x86/net/ |
A D | bpf_jit_comp.c | 221 [BPF_LSH] = 0xE0, 1189 case BPF_ALU | BPF_LSH | BPF_K: in do_jit() 1192 case BPF_ALU64 | BPF_LSH | BPF_K: in do_jit() 1205 case BPF_ALU | BPF_LSH | BPF_X: in do_jit() 1208 case BPF_ALU64 | BPF_LSH | BPF_X: in do_jit() 1218 case BPF_LSH: in do_jit()
|
/linux-6.3-rc2/arch/arm/net/ |
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()
|