Home
last modified time | relevance | path

Searched refs:BPF_NEG (Results 1 – 25 of 32) sorted by relevance

12

/openbmc/linux/tools/include/uapi/linux/
H A Dbpf_common.h40 #define BPF_NEG 0x80 macro
/openbmc/linux/include/uapi/linux/
H A Dbpf_common.h40 #define BPF_NEG 0x80 macro
/openbmc/linux/arch/mips/net/
H A Dbpf_jit_comp64.c170 case BPF_NEG: in emit_alu_i64()
664 case BPF_ALU | BPF_NEG: in build_insn()
666 emit_alu_i(ctx, dst, 0, BPF_NEG); in build_insn()
748 case BPF_ALU64 | BPF_NEG: in build_insn()
749 emit_alu_i64(ctx, dst, 0, BPF_NEG); in build_insn()
H A Dbpf_jit_comp.c214 case BPF_NEG: in valid_alu_i()
302 case BPF_NEG: in emit_alu_i()
H A Dbpf_jit_comp32.c1493 case BPF_ALU | BPF_NEG: in build_insn()
1494 emit_alu_i(ctx, lo(dst), 0, BPF_NEG); in build_insn()
1562 case BPF_ALU64 | BPF_NEG: in build_insn()
/openbmc/linux/tools/testing/selftests/bpf/
H A Ddisasm.c82 [BPF_NEG >> 4] = "neg",
182 } else if (BPF_OP(insn->code) == BPF_NEG) { in print_bpf_insn()
/openbmc/linux/kernel/bpf/
H A Ddisasm.c82 [BPF_NEG >> 4] = "neg",
182 } else if (BPF_OP(insn->code) == BPF_NEG) { in print_bpf_insn()
/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Djump.c381 BPF_ALU64_IMM(BPF_NEG, BPF_REG_3, 0),
382 BPF_ALU64_IMM(BPF_NEG, BPF_REG_3, 0),
H A Djmp32.c880 BPF_ALU64_IMM(BPF_NEG, BPF_REG_2, 0),
881 BPF_ALU64_IMM(BPF_NEG, BPF_REG_2, 0),
/openbmc/linux/arch/riscv/net/
H A Dbpf_jit_comp32.c500 case BPF_NEG: in emit_alu_r64()
556 case BPF_NEG: in emit_alu_r32()
995 case BPF_ALU64 | BPF_NEG: in bpf_jit_emit_insn()
1064 case BPF_ALU | BPF_NEG: in bpf_jit_emit_insn()
H A Dbpf_jit_comp64.c1187 case BPF_ALU | BPF_NEG: in bpf_jit_emit_insn()
1188 case BPF_ALU64 | BPF_NEG: in bpf_jit_emit_insn()
/openbmc/linux/arch/parisc/net/
H A Dbpf_jit_comp32.c621 case BPF_NEG: in emit_alu_r64()
689 case BPF_NEG: in emit_alu_r32()
1170 case BPF_ALU64 | BPF_NEG: in bpf_jit_emit_insn()
1234 case BPF_ALU | BPF_NEG: in bpf_jit_emit_insn()
H A Dbpf_jit_comp64.c720 case BPF_ALU | BPF_NEG: in bpf_jit_emit_insn()
721 case BPF_ALU64 | BPF_NEG: in bpf_jit_emit_insn()
/openbmc/linux/arch/powerpc/net/
H A Dbpf_jit_comp64.c520 case BPF_ALU | BPF_NEG: /* (u32) dst = -dst */ in bpf_jit_build_body()
521 case BPF_ALU64 | BPF_NEG: /* dst = -dst */ in bpf_jit_build_body()
H A Dbpf_jit_comp32.c527 case BPF_ALU | BPF_NEG: /* (u32) dst = -dst */ in bpf_jit_build_body()
530 case BPF_ALU64 | BPF_NEG: /* dst = -dst */ in bpf_jit_build_body()
/openbmc/linux/tools/bpf/
H A Dbpf_exp.y394 bpf_set_curr_instr(BPF_ALU | BPF_NEG, 0, 0, 0); }
/openbmc/linux/arch/loongarch/net/
H A Dbpf_jit.c572 case BPF_ALU | BPF_NEG: in build_insn()
573 case BPF_ALU64 | BPF_NEG: in build_insn()
/openbmc/linux/arch/arm/net/
H A Dbpf_jit_32.c804 case BPF_NEG: in emit_a32_alu_i()
1518 case BPF_ALU | BPF_NEG: in build_insn()
1524 case BPF_ALU64 | BPF_NEG: in build_insn()
/openbmc/linux/arch/x86/net/
H A Dbpf_jit_comp32.c664 case BPF_NEG: in emit_ia32_alu_i()
1862 case BPF_ALU | BPF_NEG: in do_jit()
1869 case BPF_ALU64 | BPF_NEG: in do_jit()
H A Dbpf_jit_comp.c1151 case BPF_ALU | BPF_NEG: in do_jit()
1152 case BPF_ALU64 | BPF_NEG: in do_jit()
/openbmc/linux/arch/sparc/net/
H A Dbpf_jit_comp_32.c483 case BPF_ALU | BPF_NEG: in bpf_jit_compile()
H A Dbpf_jit_comp_64.c996 case BPF_ALU | BPF_NEG: in build_insn()
997 case BPF_ALU64 | BPF_NEG: in build_insn()
/openbmc/linux/arch/s390/net/
H A Dbpf_jit_comp.c1189 case BPF_ALU | BPF_NEG: /* dst = (u32) -dst */ in bpf_jit_insn()
1194 case BPF_ALU64 | BPF_NEG: /* dst = -dst */ in bpf_jit_insn()
/openbmc/linux/arch/arm64/net/
H A Dbpf_jit_comp.c857 case BPF_ALU | BPF_NEG: in build_insn()
858 case BPF_ALU64 | BPF_NEG: in build_insn()
/openbmc/linux/Documentation/bpf/
H A Dclassic_vs_extended.rst299 BPF_NEG 0x80

12