/openbmc/linux/tools/testing/selftests/bpf/verifier/ |
H A D | atomic_or.c | 55 BPF_ALU64_IMM(BPF_SUB, BPF_REG_0, 1), 83 BPF_ALU64_IMM(BPF_SUB, BPF_REG_1, 1), 92 BPF_ALU64_IMM(BPF_SUB, BPF_REG_2, 1),
|
H A D | atomic_cmpxchg.c | 91 BPF_ALU64_IMM(BPF_SUB, BPF_REG_0, 1), 100 BPF_ALU64_IMM(BPF_SUB, BPF_REG_1, 1),
|
H A D | bpf_st_mem.c | 49 BPF_ALU64_IMM(BPF_SUB, BPF_REG_0, 32),
|
H A D | atomic_xor.c | 55 BPF_ALU64_IMM(BPF_SUB, BPF_REG_0, 1),
|
H A D | ld_abs.c | 136 BPF_ALU32_REG(BPF_SUB, BPF_REG_0, BPF_REG_7), 149 BPF_ALU32_REG(BPF_SUB, BPF_REG_0, BPF_REG_7),
|
H A D | precise.c | 25 BPF_ALU64_REG(BPF_SUB, BPF_REG_9, BPF_REG_8), /* map_value_ptr -= map_value_ptr */ 84 BPF_ALU64_REG(BPF_SUB, BPF_REG_9, BPF_REG_8), /* map_value_ptr -= map_value_ptr */
|
H A D | atomic_and.c | 55 BPF_ALU64_IMM(BPF_SUB, BPF_REG_0, 1),
|
H A D | basic_instr.c | 7 BPF_ALU64_REG(BPF_SUB, BPF_REG_1, BPF_REG_2),
|
/openbmc/linux/lib/ |
H A D | test_bpf.c | 573 case BPF_SUB: in __bpf_alu_result() 3711 BPF_ALU64_REG(BPF_SUB, R1, R2), 5535 BPF_ALU32_IMM(BPF_SUB, R0, 1), 5546 BPF_ALU32_IMM(BPF_SUB, R0, 0), 5568 BPF_ALU64_IMM(BPF_SUB, R0, 1), 5579 BPF_ALU64_IMM(BPF_SUB, R0, 0), 9570 BPF_ALU64_IMM(BPF_SUB, R1, 1), 9572 BPF_ALU64_IMM(BPF_SUB, R1, 1), 9574 BPF_ALU64_IMM(BPF_SUB, R1, 1), 9590 BPF_ALU64_IMM(BPF_SUB, R1, 2), [all …]
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf_common.h | 33 #define BPF_SUB 0x10 macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf_common.h | 33 #define BPF_SUB 0x10 macro
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | align.c | 438 BPF_ALU64_REG(BPF_SUB, BPF_REG_5, BPF_REG_2), 495 BPF_ALU64_REG(BPF_SUB, BPF_REG_6, BPF_REG_7), 548 BPF_ALU64_REG(BPF_SUB, BPF_REG_5, BPF_REG_6),
|
/openbmc/linux/arch/mips/net/ |
H A D | bpf_jit_comp32.c | 213 op = BPF_SUB; in emit_alu_i64() 216 case BPF_SUB: in emit_alu_i64() 235 case BPF_SUB: in emit_alu_i64() 284 case BPF_SUB: in emit_alu_r64() 744 case BPF_SUB: in emit_atomic_r32() 747 case BPF_SUB | BPF_FETCH: in emit_atomic_r32() 825 case BPF_SUB: in emit_atomic_r64() 828 case BPF_SUB | BPF_FETCH: in emit_atomic_r64() 1515 case BPF_ALU | BPF_SUB | BPF_K: in build_insn() 1545 case BPF_ALU | BPF_SUB | BPF_X: in build_insn() [all …]
|
H A D | bpf_jit_comp64.c | 190 case BPF_SUB: in emit_alu_i64() 221 case BPF_SUB: in emit_alu_r64() 695 case BPF_ALU | BPF_SUB | BPF_K: in build_insn() 730 case BPF_ALU | BPF_SUB | BPF_X: in build_insn() 769 case BPF_ALU64 | BPF_SUB | BPF_K: in build_insn() 798 case BPF_ALU64 | BPF_SUB | BPF_X: in build_insn()
|
H A D | bpf_jit_comp.c | 225 case BPF_SUB: in valid_alu_i() 256 case BPF_SUB: in rewrite_alu_i() 334 case BPF_SUB: in emit_alu_i() 374 case BPF_SUB: in emit_alu_r()
|
/openbmc/linux/tools/bpf/ |
H A D | bpf_exp.y | 358 bpf_set_curr_instr(BPF_ALU | BPF_SUB | BPF_K, 0, 0, $3); } 360 bpf_set_curr_instr(BPF_ALU | BPF_SUB | BPF_X, 0, 0, 0); } 362 bpf_set_curr_instr(BPF_ALU | BPF_SUB | BPF_X, 0, 0, 0); }
|
/openbmc/linux/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 345 case BPF_SUB: in emit_alu_i32() 432 case BPF_SUB: in emit_alu_r64() 526 case BPF_SUB: in emit_alu_r32() 975 case BPF_ALU64 | BPF_SUB | BPF_X: in bpf_jit_emit_insn() 976 case BPF_ALU64 | BPF_SUB | BPF_K: in bpf_jit_emit_insn() 1024 case BPF_ALU | BPF_SUB | BPF_X: in bpf_jit_emit_insn() 1050 case BPF_ALU | BPF_SUB | BPF_K: in bpf_jit_emit_insn()
|
/openbmc/linux/arch/parisc/net/ |
H A D | bpf_jit_comp32.c | 529 case BPF_SUB: in emit_alu_i32() 587 case BPF_SUB: in emit_alu_r64() 653 case BPF_SUB: in emit_alu_r32() 1143 case BPF_ALU64 | BPF_SUB | BPF_X: in bpf_jit_emit_insn() 1144 case BPF_ALU64 | BPF_SUB | BPF_K: in bpf_jit_emit_insn() 1193 case BPF_ALU | BPF_SUB | BPF_X: in bpf_jit_emit_insn() 1220 case BPF_ALU | BPF_SUB | BPF_K: in bpf_jit_emit_insn()
|
H A D | bpf_jit_comp64.c | 628 case BPF_ALU | BPF_SUB | BPF_X: in bpf_jit_emit_insn() 629 case BPF_ALU64 | BPF_SUB | BPF_X: in bpf_jit_emit_insn() 790 case BPF_ALU | BPF_SUB | BPF_K: in bpf_jit_emit_insn() 791 case BPF_ALU64 | BPF_SUB | BPF_K: in bpf_jit_emit_insn()
|
/openbmc/linux/arch/powerpc/net/ |
H A D | bpf_jit_comp32.c | 359 case BPF_ALU | BPF_SUB | BPF_X: /* (u32) dst -= (u32) src */ in bpf_jit_build_body() 362 case BPF_ALU64 | BPF_SUB | BPF_X: /* dst -= src */ in bpf_jit_build_body() 366 case BPF_ALU | BPF_SUB | BPF_K: /* (u32) dst -= (u32) imm */ in bpf_jit_build_body() 379 case BPF_ALU64 | BPF_SUB | BPF_K: /* dst -= imm */ in bpf_jit_build_body() 394 if (imm >= 0 || (BPF_OP(code) == BPF_SUB && imm == 0x80000000)) in bpf_jit_build_body()
|
H A D | bpf_jit_comp64.c | 422 case BPF_ALU | BPF_SUB | BPF_X: /* (u32) dst -= (u32) src */ in bpf_jit_build_body() 423 case BPF_ALU64 | BPF_SUB | BPF_X: /* dst -= src */ in bpf_jit_build_body() 437 case BPF_ALU | BPF_SUB | BPF_K: /* (u32) dst -= (u32) imm */ in bpf_jit_build_body() 438 case BPF_ALU64 | BPF_SUB | BPF_K: /* dst -= imm */ in bpf_jit_build_body()
|
/openbmc/linux/arch/loongarch/net/ |
H A D | bpf_jit.c | 500 case BPF_ALU | BPF_SUB | BPF_X: in build_insn() 501 case BPF_ALU64 | BPF_SUB | BPF_X: in build_insn() 507 case BPF_ALU | BPF_SUB | BPF_K: in build_insn() 508 case BPF_ALU64 | BPF_SUB | BPF_K: in build_insn()
|
/openbmc/linux/arch/x86/net/ |
H A D | bpf_jit_comp32.c | 549 case BPF_SUB: in emit_ia32_alu_r() 630 case BPF_SUB: in emit_ia32_alu_i() 1720 case BPF_ALU | BPF_SUB | BPF_K: in do_jit() 1721 case BPF_ALU | BPF_SUB | BPF_X: in do_jit() 1730 case BPF_ALU64 | BPF_SUB | BPF_K: in do_jit() 1731 case BPF_ALU64 | BPF_SUB | BPF_X: in do_jit()
|
H A D | bpf_jit_comp.c | 267 [BPF_SUB] = 0x29, 1123 case BPF_ALU | BPF_SUB | BPF_X: in do_jit() 1128 case BPF_ALU64 | BPF_SUB | BPF_X: in do_jit() 1159 case BPF_ALU | BPF_SUB | BPF_K: in do_jit() 1164 case BPF_ALU64 | BPF_SUB | BPF_K: in do_jit() 1180 case BPF_SUB: in do_jit()
|
/openbmc/linux/arch/arm/net/ |
H A D | bpf_jit_32.c | 681 case BPF_SUB: in emit_alu_r() 1406 case BPF_ALU | BPF_SUB | BPF_K: in build_insn() 1407 case BPF_ALU | BPF_SUB | BPF_X: in build_insn() 1421 case BPF_ALU64 | BPF_SUB | BPF_K: in build_insn() 1422 case BPF_ALU64 | BPF_SUB | BPF_X: in build_insn()
|