Home
last modified time | relevance | path

Searched refs:BPF_JMP32 (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/linux/arch/powerpc/net/
H A Dbpf_jit_comp64.c1030 case BPF_JMP32 | BPF_JGT | BPF_K: in bpf_jit_build_body()
1031 case BPF_JMP32 | BPF_JGT | BPF_X: in bpf_jit_build_body()
1040 case BPF_JMP32 | BPF_JLT | BPF_K: in bpf_jit_build_body()
1041 case BPF_JMP32 | BPF_JLT | BPF_X: in bpf_jit_build_body()
1050 case BPF_JMP32 | BPF_JGE | BPF_K: in bpf_jit_build_body()
1051 case BPF_JMP32 | BPF_JGE | BPF_X: in bpf_jit_build_body()
1060 case BPF_JMP32 | BPF_JLE | BPF_K: in bpf_jit_build_body()
1061 case BPF_JMP32 | BPF_JLE | BPF_X: in bpf_jit_build_body()
1068 case BPF_JMP32 | BPF_JEQ | BPF_K: in bpf_jit_build_body()
1069 case BPF_JMP32 | BPF_JEQ | BPF_X: in bpf_jit_build_body()
[all …]
H A Dbpf_jit_comp32.c1087 case BPF_JMP32 | BPF_JGT | BPF_K: in bpf_jit_build_body()
1088 case BPF_JMP32 | BPF_JGT | BPF_X: in bpf_jit_build_body()
1097 case BPF_JMP32 | BPF_JLT | BPF_K: in bpf_jit_build_body()
1098 case BPF_JMP32 | BPF_JLT | BPF_X: in bpf_jit_build_body()
1107 case BPF_JMP32 | BPF_JGE | BPF_K: in bpf_jit_build_body()
1108 case BPF_JMP32 | BPF_JGE | BPF_X: in bpf_jit_build_body()
1117 case BPF_JMP32 | BPF_JLE | BPF_K: in bpf_jit_build_body()
1118 case BPF_JMP32 | BPF_JLE | BPF_X: in bpf_jit_build_body()
1125 case BPF_JMP32 | BPF_JEQ | BPF_K: in bpf_jit_build_body()
1126 case BPF_JMP32 | BPF_JEQ | BPF_X: in bpf_jit_build_body()
[all …]
/openbmc/linux/arch/mips/net/
H A Dbpf_jit_comp64.c909 case BPF_JMP32 | BPF_JEQ | BPF_X: in build_insn()
910 case BPF_JMP32 | BPF_JNE | BPF_X: in build_insn()
912 case BPF_JMP32 | BPF_JGT | BPF_X: in build_insn()
913 case BPF_JMP32 | BPF_JGE | BPF_X: in build_insn()
914 case BPF_JMP32 | BPF_JLT | BPF_X: in build_insn()
915 case BPF_JMP32 | BPF_JLE | BPF_X: in build_insn()
940 case BPF_JMP32 | BPF_JEQ | BPF_K: in build_insn()
941 case BPF_JMP32 | BPF_JNE | BPF_K: in build_insn()
943 case BPF_JMP32 | BPF_JGT | BPF_K: in build_insn()
944 case BPF_JMP32 | BPF_JGE | BPF_K: in build_insn()
[all …]
H A Dbpf_jit_comp32.c1753 case BPF_JMP32 | BPF_JEQ | BPF_X: in build_insn()
1754 case BPF_JMP32 | BPF_JNE | BPF_X: in build_insn()
1756 case BPF_JMP32 | BPF_JGT | BPF_X: in build_insn()
1757 case BPF_JMP32 | BPF_JGE | BPF_X: in build_insn()
1758 case BPF_JMP32 | BPF_JLT | BPF_X: in build_insn()
1759 case BPF_JMP32 | BPF_JLE | BPF_X: in build_insn()
1782 case BPF_JMP32 | BPF_JEQ | BPF_K: in build_insn()
1783 case BPF_JMP32 | BPF_JNE | BPF_K: in build_insn()
1785 case BPF_JMP32 | BPF_JGT | BPF_K: in build_insn()
1786 case BPF_JMP32 | BPF_JGE | BPF_K: in build_insn()
[all …]
/openbmc/linux/arch/parisc/net/
H A Dbpf_jit_comp64.c866 case BPF_JMP32 | BPF_JEQ | BPF_X: in bpf_jit_emit_insn()
868 case BPF_JMP32 | BPF_JGT | BPF_X: in bpf_jit_emit_insn()
870 case BPF_JMP32 | BPF_JLT | BPF_X: in bpf_jit_emit_insn()
872 case BPF_JMP32 | BPF_JGE | BPF_X: in bpf_jit_emit_insn()
874 case BPF_JMP32 | BPF_JLE | BPF_X: in bpf_jit_emit_insn()
876 case BPF_JMP32 | BPF_JNE | BPF_X: in bpf_jit_emit_insn()
912 case BPF_JMP32 | BPF_JEQ | BPF_K: in bpf_jit_emit_insn()
914 case BPF_JMP32 | BPF_JGT | BPF_K: in bpf_jit_emit_insn()
916 case BPF_JMP32 | BPF_JLT | BPF_K: in bpf_jit_emit_insn()
918 case BPF_JMP32 | BPF_JGE | BPF_K: in bpf_jit_emit_insn()
[all …]
H A Dbpf_jit_comp32.c1326 case BPF_JMP32 | BPF_JEQ | BPF_X: in bpf_jit_emit_insn()
1327 case BPF_JMP32 | BPF_JEQ | BPF_K: in bpf_jit_emit_insn()
1331 case BPF_JMP32 | BPF_JNE | BPF_X: in bpf_jit_emit_insn()
1332 case BPF_JMP32 | BPF_JNE | BPF_K: in bpf_jit_emit_insn()
1336 case BPF_JMP32 | BPF_JLE | BPF_X: in bpf_jit_emit_insn()
1337 case BPF_JMP32 | BPF_JLE | BPF_K: in bpf_jit_emit_insn()
1341 case BPF_JMP32 | BPF_JLT | BPF_X: in bpf_jit_emit_insn()
1342 case BPF_JMP32 | BPF_JLT | BPF_K: in bpf_jit_emit_insn()
1346 case BPF_JMP32 | BPF_JGE | BPF_X: in bpf_jit_emit_insn()
1347 case BPF_JMP32 | BPF_JGE | BPF_K: in bpf_jit_emit_insn()
[all …]
/openbmc/linux/arch/loongarch/net/
H A Dbpf_jit.c742 case BPF_JMP32 | BPF_JEQ | BPF_X: in build_insn()
743 case BPF_JMP32 | BPF_JNE | BPF_X: in build_insn()
744 case BPF_JMP32 | BPF_JGT | BPF_X: in build_insn()
745 case BPF_JMP32 | BPF_JGE | BPF_X: in build_insn()
746 case BPF_JMP32 | BPF_JLT | BPF_X: in build_insn()
747 case BPF_JMP32 | BPF_JLE | BPF_X: in build_insn()
777 case BPF_JMP32 | BPF_JEQ | BPF_K: in build_insn()
778 case BPF_JMP32 | BPF_JNE | BPF_K: in build_insn()
779 case BPF_JMP32 | BPF_JGT | BPF_K: in build_insn()
780 case BPF_JMP32 | BPF_JGE | BPF_K: in build_insn()
[all …]
/openbmc/linux/arch/s390/net/
H A Dbpf_jit_comp.c1581 case BPF_JMP32 | BPF_JSGT | BPF_K: /* ((s32) dst > (s32) imm) */ in bpf_jit_insn()
1585 case BPF_JMP32 | BPF_JSLT | BPF_K: /* ((s32) dst < (s32) imm) */ in bpf_jit_insn()
1623 if (BPF_CLASS(insn->code) == BPF_JMP32) { in bpf_jit_insn()
1637 case BPF_JMP32 | BPF_JSGT | BPF_X: /* ((s32) dst > (s32) src) */ in bpf_jit_insn()
1641 case BPF_JMP32 | BPF_JSLT | BPF_X: /* ((s32) dst < (s32) src) */ in bpf_jit_insn()
1653 case BPF_JMP32 | BPF_JGT | BPF_X: /* ((u32) dst > (u32) src) */ in bpf_jit_insn()
1657 case BPF_JMP32 | BPF_JLT | BPF_X: /* ((u32) dst < (u32) src) */ in bpf_jit_insn()
1679 bool is_jmp32 = BPF_CLASS(insn->code) == BPF_JMP32; in bpf_jit_insn()
1687 is_jmp32 = BPF_CLASS(insn->code) == BPF_JMP32; in bpf_jit_insn()
1708 is_jmp32 = BPF_CLASS(insn->code) == BPF_JMP32; in bpf_jit_insn()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H A Ddisasm.c69 [BPF_JMP32] = "jmp32",
304 } else if (class == BPF_JMP32 || class == BPF_JMP) { in print_bpf_insn()
325 } else if (insn->code == (BPF_JMP32 | BPF_JA)) { in print_bpf_insn()
333 insn->code, class == BPF_JMP32 ? 'w' : 'r', in print_bpf_insn()
336 class == BPF_JMP32 ? 'w' : 'r', in print_bpf_insn()
341 insn->code, class == BPF_JMP32 ? 'w' : 'r', in print_bpf_insn()
/openbmc/linux/kernel/bpf/
H A Ddisasm.c69 [BPF_JMP32] = "jmp32",
304 } else if (class == BPF_JMP32 || class == BPF_JMP) { in print_bpf_insn()
325 } else if (insn->code == (BPF_JMP32 | BPF_JA)) { in print_bpf_insn()
333 insn->code, class == BPF_JMP32 ? 'w' : 'r', in print_bpf_insn()
336 class == BPF_JMP32 ? 'w' : 'r', in print_bpf_insn()
341 insn->code, class == BPF_JMP32 ? 'w' : 'r', in print_bpf_insn()
H A Dcore.c1334 case BPF_JMP32 | BPF_JEQ | BPF_K: in bpf_jit_blind_insn()
1335 case BPF_JMP32 | BPF_JNE | BPF_K: in bpf_jit_blind_insn()
1336 case BPF_JMP32 | BPF_JGT | BPF_K: in bpf_jit_blind_insn()
1337 case BPF_JMP32 | BPF_JLT | BPF_K: in bpf_jit_blind_insn()
1338 case BPF_JMP32 | BPF_JGE | BPF_K: in bpf_jit_blind_insn()
1339 case BPF_JMP32 | BPF_JLE | BPF_K: in bpf_jit_blind_insn()
1340 case BPF_JMP32 | BPF_JSGT | BPF_K: in bpf_jit_blind_insn()
1341 case BPF_JMP32 | BPF_JSLT | BPF_K: in bpf_jit_blind_insn()
1342 case BPF_JMP32 | BPF_JSGE | BPF_K: in bpf_jit_blind_insn()
1343 case BPF_JMP32 | BPF_JSLE | BPF_K: in bpf_jit_blind_insn()
[all …]
/openbmc/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c1386 case BPF_JMP32 | BPF_JA: in bpf_jit_emit_insn()
1398 case BPF_JMP32 | BPF_JEQ | BPF_X: in bpf_jit_emit_insn()
1400 case BPF_JMP32 | BPF_JGT | BPF_X: in bpf_jit_emit_insn()
1402 case BPF_JMP32 | BPF_JLT | BPF_X: in bpf_jit_emit_insn()
1404 case BPF_JMP32 | BPF_JGE | BPF_X: in bpf_jit_emit_insn()
1406 case BPF_JMP32 | BPF_JLE | BPF_X: in bpf_jit_emit_insn()
1408 case BPF_JMP32 | BPF_JNE | BPF_X: in bpf_jit_emit_insn()
1445 case BPF_JMP32 | BPF_JEQ | BPF_K: in bpf_jit_emit_insn()
1447 case BPF_JMP32 | BPF_JGT | BPF_K: in bpf_jit_emit_insn()
1449 case BPF_JMP32 | BPF_JLT | BPF_K: in bpf_jit_emit_insn()
[all …]
H A Dbpf_jit_comp32.c1157 case BPF_JMP32 | BPF_JEQ | BPF_X: in bpf_jit_emit_insn()
1158 case BPF_JMP32 | BPF_JEQ | BPF_K: in bpf_jit_emit_insn()
1162 case BPF_JMP32 | BPF_JNE | BPF_X: in bpf_jit_emit_insn()
1163 case BPF_JMP32 | BPF_JNE | BPF_K: in bpf_jit_emit_insn()
1167 case BPF_JMP32 | BPF_JLE | BPF_X: in bpf_jit_emit_insn()
1168 case BPF_JMP32 | BPF_JLE | BPF_K: in bpf_jit_emit_insn()
1172 case BPF_JMP32 | BPF_JLT | BPF_X: in bpf_jit_emit_insn()
1173 case BPF_JMP32 | BPF_JLT | BPF_K: in bpf_jit_emit_insn()
1177 case BPF_JMP32 | BPF_JGE | BPF_X: in bpf_jit_emit_insn()
1178 case BPF_JMP32 | BPF_JGE | BPF_K: in bpf_jit_emit_insn()
[all …]
/openbmc/linux/arch/arm64/net/
H A Dbpf_jit_comp.c997 case BPF_JMP32 | BPF_JA: in build_insn()
1016 case BPF_JMP32 | BPF_JEQ | BPF_X: in build_insn()
1017 case BPF_JMP32 | BPF_JGT | BPF_X: in build_insn()
1018 case BPF_JMP32 | BPF_JLT | BPF_X: in build_insn()
1019 case BPF_JMP32 | BPF_JGE | BPF_X: in build_insn()
1020 case BPF_JMP32 | BPF_JLE | BPF_X: in build_insn()
1021 case BPF_JMP32 | BPF_JNE | BPF_X: in build_insn()
1082 case BPF_JMP32 | BPF_JEQ | BPF_K: in build_insn()
1083 case BPF_JMP32 | BPF_JGT | BPF_K: in build_insn()
1084 case BPF_JMP32 | BPF_JLT | BPF_K: in build_insn()
[all …]
/openbmc/linux/arch/arm/net/
H A Dbpf_jit_32.c1664 case BPF_JMP32 | BPF_JEQ | BPF_X: in build_insn()
1665 case BPF_JMP32 | BPF_JGT | BPF_X: in build_insn()
1666 case BPF_JMP32 | BPF_JGE | BPF_X: in build_insn()
1667 case BPF_JMP32 | BPF_JNE | BPF_X: in build_insn()
1671 case BPF_JMP32 | BPF_JLE | BPF_X: in build_insn()
1672 case BPF_JMP32 | BPF_JLT | BPF_X: in build_insn()
1701 case BPF_JMP32 | BPF_JEQ | BPF_K: in build_insn()
1702 case BPF_JMP32 | BPF_JGT | BPF_K: in build_insn()
1703 case BPF_JMP32 | BPF_JGE | BPF_K: in build_insn()
1704 case BPF_JMP32 | BPF_JNE | BPF_K: in build_insn()
[all …]
/openbmc/linux/arch/x86/net/
H A Dbpf_jit_comp32.c2151 case BPF_JMP32 | BPF_JEQ | BPF_X: in do_jit()
2152 case BPF_JMP32 | BPF_JNE | BPF_X: in do_jit()
2153 case BPF_JMP32 | BPF_JGT | BPF_X: in do_jit()
2154 case BPF_JMP32 | BPF_JLT | BPF_X: in do_jit()
2155 case BPF_JMP32 | BPF_JGE | BPF_X: in do_jit()
2156 case BPF_JMP32 | BPF_JLE | BPF_X: in do_jit()
2322 case BPF_JMP32 | BPF_JEQ | BPF_K: in do_jit()
2323 case BPF_JMP32 | BPF_JNE | BPF_K: in do_jit()
2324 case BPF_JMP32 | BPF_JGT | BPF_K: in do_jit()
2325 case BPF_JMP32 | BPF_JLT | BPF_K: in do_jit()
[all …]
H A Dbpf_jit_comp.c1713 case BPF_JMP32 | BPF_JEQ | BPF_X: in do_jit()
1714 case BPF_JMP32 | BPF_JNE | BPF_X: in do_jit()
1715 case BPF_JMP32 | BPF_JGT | BPF_X: in do_jit()
1716 case BPF_JMP32 | BPF_JLT | BPF_X: in do_jit()
1717 case BPF_JMP32 | BPF_JGE | BPF_X: in do_jit()
1718 case BPF_JMP32 | BPF_JLE | BPF_X: in do_jit()
1755 case BPF_JMP32 | BPF_JEQ | BPF_K: in do_jit()
1756 case BPF_JMP32 | BPF_JNE | BPF_K: in do_jit()
1757 case BPF_JMP32 | BPF_JGT | BPF_K: in do_jit()
1758 case BPF_JMP32 | BPF_JLT | BPF_K: in do_jit()
[all …]
/openbmc/linux/samples/bpf/
H A Dbpf_insn.h187 .code = BPF_JMP32 | BPF_OP(OP) | BPF_X, \
207 .code = BPF_JMP32 | BPF_OP(OP) | BPF_K, \
/openbmc/linux/tools/include/linux/
H A Dfilter.h222 .code = BPF_JMP32 | BPF_OP(OP) | BPF_X, \
242 .code = BPF_JMP32 | BPF_OP(OP) | BPF_K, \
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Djit.c3514 [BPF_JMP32 | BPF_JGT | BPF_K] = cmp_imm,
3515 [BPF_JMP32 | BPF_JGE | BPF_K] = cmp_imm,
3516 [BPF_JMP32 | BPF_JLT | BPF_K] = cmp_imm,
3517 [BPF_JMP32 | BPF_JLE | BPF_K] = cmp_imm,
3518 [BPF_JMP32 | BPF_JSGT | BPF_K] =cmp_imm,
3519 [BPF_JMP32 | BPF_JSGE | BPF_K] =cmp_imm,
3520 [BPF_JMP32 | BPF_JSLT | BPF_K] =cmp_imm,
3521 [BPF_JMP32 | BPF_JSLE | BPF_K] =cmp_imm,
3523 [BPF_JMP32 | BPF_JNE | BPF_K] = jne_imm,
3524 [BPF_JMP32 | BPF_JEQ | BPF_X] = jeq_reg,
[all …]
H A Dmain.h383 return mbpf_class(meta) == BPF_JMP32; in is_mbpf_jmp32()
/openbmc/linux/Documentation/bpf/standardization/
H A Dinstruction-set.rst184 BPF_JMP32 0x06 32-bit jump operations `Arithmetic and jump instructions`_
192 ``BPF_JMP32``), the 8-bit 'opcode' field is divided into three parts:
343 ``BPF_JMP32`` uses 32-bit wide operands while ``BPF_JMP`` uses 64-bit wide operands for
351 BPF_JA 0x0 0x0 PC += imm BPF_JMP32 class
374 ``BPF_JSGE | BPF_X | BPF_JMP32`` (0x7e) means::
380 ``BPF_JA | BPF_K | BPF_JMP32`` (0x06) means::
388 field, whereas the ``BPF_JMP32`` class permits a 32-bit jump offset
/openbmc/linux/Documentation/bpf/
H A Dclassic_vs_extended.rst266 BPF_RET 0x06 BPF_JMP32 0x06
306 If BPF_CLASS(code) == BPF_JMP or BPF_JMP32 [ in eBPF ], BPF_OP(code) is one of::
341 BPF_JMP32 to mean exactly the same operations as BPF_JMP, but with 32-bit wide
/openbmc/linux/tools/bpf/bpftool/
H A Dcfg.c162 return BPF_CLASS(code) == BPF_JMP || BPF_CLASS(code) == BPF_JMP32; in is_jmp_insn()
/openbmc/linux/include/linux/
H A Dfilter.h337 .code = BPF_JMP32 | BPF_OP(OP) | BPF_X, \
347 .code = BPF_JMP32 | BPF_OP(OP) | BPF_K, \

12