/Linux-v6.6/lib/ |
D | test_bpf.c | 237 insn[len - 2] = __BPF_STMT(BPF_ALU | BPF_SUB | BPF_X, 0); in bpf_fill_maxinsns7() 500 BPF_SUB, BPF_MUL, BPF_DIV, BPF_MOD, in __bpf_fill_max_jmp() 573 case BPF_SUB: in __bpf_alu_result() 1058 return __bpf_fill_alu64_imm(self, BPF_SUB); in bpf_fill_alu64_sub_imm() 1104 return __bpf_fill_alu32_imm(self, BPF_SUB); in bpf_fill_alu32_sub_imm() 1150 return __bpf_fill_alu64_reg(self, BPF_SUB); in bpf_fill_alu64_sub_reg() 1196 return __bpf_fill_alu32_reg(self, BPF_SUB); in bpf_fill_alu32_sub_reg() 1318 return __bpf_fill_alu_imm_regs(self, BPF_SUB, false); in bpf_fill_alu64_sub_imm_regs() 1379 return __bpf_fill_alu_imm_regs(self, BPF_SUB, true); in bpf_fill_alu32_sub_imm_regs() 1510 return __bpf_fill_alu_reg_pairs(self, BPF_SUB, false); in bpf_fill_alu64_sub_reg_pairs() [all …]
|
/Linux-v6.6/tools/testing/selftests/bpf/verifier/ |
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),
|
D | atomic_cmpxchg.c | 102 BPF_ALU64_IMM(BPF_SUB, BPF_REG_0, 1), 111 BPF_ALU64_IMM(BPF_SUB, BPF_REG_1, 1),
|
D | bpf_st_mem.c | 49 BPF_ALU64_IMM(BPF_SUB, BPF_REG_0, 32),
|
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),
|
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 */
|
D | atomic_xor.c | 55 BPF_ALU64_IMM(BPF_SUB, BPF_REG_0, 1),
|
D | atomic_and.c | 55 BPF_ALU64_IMM(BPF_SUB, BPF_REG_0, 1),
|
D | basic_instr.c | 7 BPF_ALU64_REG(BPF_SUB, BPF_REG_1, BPF_REG_2),
|
/Linux-v6.6/tools/include/uapi/linux/ |
D | bpf_common.h | 33 #define BPF_SUB 0x10 macro
|
/Linux-v6.6/include/uapi/linux/ |
D | bpf_common.h | 33 #define BPF_SUB 0x10 macro
|
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
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),
|
/Linux-v6.6/arch/mips/net/ |
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 …]
|
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()
|
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()
|
/Linux-v6.6/tools/bpf/ |
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); }
|
/Linux-v6.6/arch/riscv/net/ |
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()
|
/Linux-v6.6/arch/parisc/net/ |
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()
|
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()
|
/Linux-v6.6/arch/powerpc/net/ |
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()
|
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()
|
/Linux-v6.6/arch/loongarch/net/ |
D | bpf_jit.c | 501 case BPF_ALU | BPF_SUB | BPF_X: in build_insn() 502 case BPF_ALU64 | BPF_SUB | BPF_X: in build_insn() 508 case BPF_ALU | BPF_SUB | BPF_K: in build_insn() 509 case BPF_ALU64 | BPF_SUB | BPF_K: in build_insn()
|
/Linux-v6.6/arch/x86/net/ |
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()
|
D | bpf_jit_comp.c | 217 [BPF_SUB] = 0x29, 1069 case BPF_ALU | BPF_SUB | BPF_X: in do_jit() 1074 case BPF_ALU64 | BPF_SUB | BPF_X: in do_jit() 1105 case BPF_ALU | BPF_SUB | BPF_K: in do_jit() 1110 case BPF_ALU64 | BPF_SUB | BPF_K: in do_jit() 1126 case BPF_SUB: in do_jit()
|
/Linux-v6.6/arch/arm/net/ |
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()
|