Home
last modified time | relevance | path

Searched refs:BPF_JGT (Results 1 – 25 of 40) sorted by relevance

12

/openbmc/linux/samples/seccomp/
H A Dbpf-helper.h166 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, (value), 0, 1), \
170 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, (value), 1, 0), \
213 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, (hi), 4, 0), \
225 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, (hi), 4, 0), \
230 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, (lo), 0, 2), \
242 BPF_JUMP(BPF_JMP+BPF_JGT+BPF_K, (lo), 2, 0), \
/openbmc/linux/tools/bpf/
H A Dbpf_exp.y266 bpf_set_curr_instr(BPF_JMP | BPF_JGT | BPF_K, 0, 0, $3); }
269 bpf_set_curr_instr(BPF_JMP | BPF_JGT | BPF_X, 0, 0, 0); }
272 bpf_set_curr_instr(BPF_JMP | BPF_JGT | BPF_X, 0, 0, 0); }
279 bpf_set_curr_instr(BPF_JMP | BPF_JGT | BPF_K, 0, 0, $3); }
283 bpf_set_curr_instr(BPF_JMP | BPF_JGT | BPF_X, 0, 0, 0); }
287 bpf_set_curr_instr(BPF_JMP | BPF_JGT | BPF_X, 0, 0, 0); }
290 bpf_set_curr_instr(BPF_JMP | BPF_JGT | BPF_K, 0, 0, $3); }
293 bpf_set_curr_instr(BPF_JMP | BPF_JGT | BPF_X, 0, 0, 0); }
296 bpf_set_curr_instr(BPF_JMP | BPF_JGT | BPF_X, 0, 0, 0); }
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockopt.c298 BPF_JMP_REG(BPF_JGT, BPF_REG_6, BPF_REG_7, 1),
387 BPF_JMP_REG(BPF_JGT, BPF_REG_6, BPF_REG_7, 1),
697 BPF_JMP_REG(BPF_JGT, BPF_REG_6, BPF_REG_7, 1),
734 BPF_JMP_REG(BPF_JGT, BPF_REG_6, BPF_REG_7, 1),
838 BPF_JMP_REG(BPF_JGT, BPF_REG_7, BPF_REG_8, 4),
844 BPF_JMP_IMM(BPF_JGT, BPF_REG_9, 128, 2),
884 BPF_JMP_REG(BPF_JGT, BPF_REG_7, BPF_REG_8, 4),
890 BPF_JMP_IMM(BPF_JGT, BPF_REG_9, 128, 2),
/openbmc/linux/arch/loongarch/net/
H A Dbpf_jit.h183 case BPF_JGT: in invert_jmp_cond()
190 return BPF_JGT; in invert_jmp_cond()
216 case BPF_JGT: in cond_jmp_offset()
H A Dbpf_jit.c734 case BPF_JMP | BPF_JGT | BPF_X: in build_insn()
744 case BPF_JMP32 | BPF_JGT | BPF_X: in build_insn()
769 case BPF_JMP | BPF_JGT | BPF_K: in build_insn()
779 case BPF_JMP32 | BPF_JGT | BPF_K: in build_insn()
/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Djmp32.c300 BPF_JMP32_IMM(BPF_JGT, BPF_REG_7, UINT_MAX - 1, 1),
327 BPF_JMP32_REG(BPF_JGT, BPF_REG_7, BPF_REG_8, 1),
354 BPF_JMP32_REG(BPF_JGT, BPF_REG_7, BPF_REG_8, 1),
356 BPF_JMP_IMM(BPF_JGT, BPF_REG_7, 0x7ffffff0, 1),
805 BPF_JMP32_IMM(BPF_JGT, BPF_REG_0, 1, 5),
833 BPF_JMP32_REG(BPF_JGT, BPF_REG_0, BPF_REG_2, 5),
H A Dcalls.c16 BPF_JMP_IMM(BPF_JGT, BPF_REG_0, 0, 2),
314 BPF_JMP_REG(BPF_JGT, BPF_REG_2, BPF_REG_1, 1),
339 BPF_JMP_REG(BPF_JGT, BPF_REG_2, BPF_REG_1, 1),
363 BPF_JMP_REG(BPF_JGT, BPF_REG_2, BPF_REG_1, 1),
639 BPF_JMP_REG(BPF_JGT, BPF_REG_8, BPF_REG_7, 2),
1124 BPF_JMP_IMM(BPF_JGT, BPF_REG_1, 2, 1),
1881 BPF_JMP_REG(BPF_JGT, BPF_REG_0, BPF_REG_3, 2),
1913 BPF_JMP_REG(BPF_JGT, BPF_REG_0, BPF_REG_3, 2),
1947 BPF_JMP_REG(BPF_JGT, BPF_REG_0, BPF_REG_3, 3),
1983 BPF_JMP_REG(BPF_JGT, BPF_REG_0, BPF_REG_3, 2),
[all …]
H A Dprecise.c150 BPF_JMP_REG(BPF_JGT, BPF_REG_4, BPF_REG_0, 0),
177 BPF_JMP_REG(BPF_JGT, BPF_REG_4, BPF_REG_0, 0),
H A Dctx_skb.c324 BPF_JMP_REG(BPF_JGT, BPF_REG_0, BPF_REG_3, 1),
341 BPF_JMP_REG(BPF_JGT, BPF_REG_0, BPF_REG_3, 1),
358 BPF_JMP_REG(BPF_JGT, BPF_REG_0, BPF_REG_3, 4),
361 BPF_JMP_REG(BPF_JGT, BPF_REG_1, BPF_REG_3, 1),
1162 BPF_JMP_REG(BPF_JGT, BPF_REG_3, BPF_REG_2, 2), // 5. if r3 > r2 goto 8
1165 BPF_JMP_REG(BPF_JGT, BPF_REG_3, BPF_REG_2, 1), // 8. if r3 > r2 goto 10
1184 BPF_JMP_REG(BPF_JGT, BPF_REG_3, BPF_REG_2, 2), // 5. if r3 > r2 goto 8
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf_common.h46 #define BPF_JGT 0x20 macro
/openbmc/linux/include/uapi/linux/
H A Dbpf_common.h46 #define BPF_JGT 0x20 macro
/openbmc/linux/arch/mips/net/
H A Dbpf_jit_comp.c522 case BPF_JGT: in valid_jmp_i()
540 case BPF_JGT: return BPF_JLE; in invert_jmp()
543 case BPF_JLE: return BPF_JGT; in invert_jmp()
622 case BPF_JGT: in setup_jmp_i()
666 case BPF_JGT: in setup_jmp_r()
715 case BPF_JGT: in emit_jmp_i()
783 case BPF_JGT: in emit_jmp_r()
H A Dbpf_jit_comp64.c912 case BPF_JMP32 | BPF_JGT | BPF_X: in build_insn()
943 case BPF_JMP32 | BPF_JGT | BPF_K: in build_insn()
979 case BPF_JMP | BPF_JGT | BPF_X: in build_insn()
1008 case BPF_JMP | BPF_JGT | BPF_K: in build_insn()
H A Dbpf_jit_comp32.c1142 case BPF_JGT: in emit_jmp_i64()
1220 case BPF_JGT: in emit_jmp_r64()
1756 case BPF_JMP32 | BPF_JGT | BPF_X: in build_insn()
1785 case BPF_JMP32 | BPF_JGT | BPF_K: in build_insn()
1820 case BPF_JMP | BPF_JGT | BPF_X: in build_insn()
1849 case BPF_JMP | BPF_JGT | BPF_K: in build_insn()
/openbmc/linux/arch/powerpc/net/
H A Dbpf_jit_comp64.c1026 case BPF_JMP | BPF_JGT | BPF_K: in bpf_jit_build_body()
1027 case BPF_JMP | BPF_JGT | BPF_X: in bpf_jit_build_body()
1030 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()
1087 case BPF_JMP | BPF_JGT | BPF_X: in bpf_jit_build_body()
1093 case BPF_JMP32 | BPF_JGT | BPF_X: in bpf_jit_build_body()
1130 case BPF_JMP | BPF_JGT | BPF_K: in bpf_jit_build_body()
1136 case BPF_JMP32 | BPF_JGT | BPF_K: in bpf_jit_build_body()
H A Dbpf_jit_comp32.c1083 case BPF_JMP | BPF_JGT | BPF_K: in bpf_jit_build_body()
1084 case BPF_JMP | BPF_JGT | BPF_X: in bpf_jit_build_body()
1087 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()
1144 case BPF_JMP | BPF_JGT | BPF_X: in bpf_jit_build_body()
1155 case BPF_JMP32 | BPF_JGT | BPF_X: in bpf_jit_build_body()
1190 case BPF_JMP | BPF_JGT | BPF_K: in bpf_jit_build_body()
1213 case BPF_JMP32 | BPF_JGT | BPF_K: in bpf_jit_build_body()
/openbmc/linux/arch/sparc/net/
H A Dbpf_jit_comp_32.c643 COND_SEL(BPF_JMP | BPF_JGT | BPF_K, BGU, BLEU); in bpf_jit_compile()
647 COND_SEL(BPF_JMP | BPF_JGT | BPF_X, BGU, BLEU); in bpf_jit_compile()
663 case BPF_JMP | BPF_JGT | BPF_X: in bpf_jit_compile()
674 case BPF_JMP | BPF_JGT | BPF_K: in bpf_jit_compile()
/openbmc/linux/arch/parisc/net/
H A Dbpf_jit_comp64.c287 case BPF_JGT: in emit_branch()
867 case BPF_JMP | BPF_JGT | BPF_X: in bpf_jit_emit_insn()
868 case BPF_JMP32 | BPF_JGT | BPF_X: in bpf_jit_emit_insn()
913 case BPF_JMP | BPF_JGT | BPF_K: in bpf_jit_emit_insn()
914 case BPF_JMP32 | BPF_JGT | BPF_K: in bpf_jit_emit_insn()
H A Dbpf_jit.h281 case BPF_JGT: in invert_bpf_cond()
288 return BPF_JGT; in invert_bpf_cond()
H A Dbpf_jit_comp32.c725 case BPF_JGT: in emit_branch_r64()
826 case BPF_JGT: in emit_bcc()
1349 case BPF_JMP | BPF_JGT | BPF_X: in bpf_jit_emit_insn()
1350 case BPF_JMP | BPF_JGT | BPF_K: in bpf_jit_emit_insn()
1351 case BPF_JMP32 | BPF_JGT | BPF_X: in bpf_jit_emit_insn()
1352 case BPF_JMP32 | BPF_JGT | BPF_K: in bpf_jit_emit_insn()
/openbmc/linux/arch/riscv/net/
H A Dbpf_jit_comp32.c590 case BPF_JGT: in emit_branch_r64()
680 case BPF_JGT: in emit_bcc()
1180 case BPF_JMP | BPF_JGT | BPF_X: in bpf_jit_emit_insn()
1181 case BPF_JMP | BPF_JGT | BPF_K: in bpf_jit_emit_insn()
1182 case BPF_JMP32 | BPF_JGT | BPF_X: in bpf_jit_emit_insn()
1183 case BPF_JMP32 | BPF_JGT | BPF_K: in bpf_jit_emit_insn()
H A Dbpf_jit_comp64.c261 case BPF_JGT: in emit_bcc()
1399 case BPF_JMP | BPF_JGT | BPF_X: in bpf_jit_emit_insn()
1400 case BPF_JMP32 | BPF_JGT | BPF_X: in bpf_jit_emit_insn()
1446 case BPF_JMP | BPF_JGT | BPF_K: in bpf_jit_emit_insn()
1447 case BPF_JMP32 | BPF_JGT | BPF_K: in bpf_jit_emit_insn()
/openbmc/linux/arch/arm/net/
H A Dbpf_jit_32.c1124 case BPF_JGT: in emit_ar_r()
1654 case BPF_JMP | BPF_JGT | BPF_X: in build_insn()
1665 case BPF_JMP32 | BPF_JGT | BPF_X: in build_insn()
1691 case BPF_JMP | BPF_JGT | BPF_K: in build_insn()
1702 case BPF_JMP32 | BPF_JGT | BPF_K: in build_insn()
1736 case BPF_JGT: in build_insn()
/openbmc/linux/kernel/
H A Dseccomp.c338 case BPF_JMP | BPF_JGT | BPF_K: in seccomp_check_filter()
339 case BPF_JMP | BPF_JGT | BPF_X: in seccomp_check_filter()
766 case BPF_JMP | BPF_JGT | BPF_K: in seccomp_is_const_allow()
775 case BPF_JGT: in seccomp_is_const_allow()
/openbmc/linux/arch/x86/net/
H A Dbpf_jit_comp32.c1435 case BPF_JGT: in get_cond_jmp_opcode()
2147 case BPF_JMP | BPF_JGT | BPF_X: in do_jit()
2153 case BPF_JMP32 | BPF_JGT | BPF_X: in do_jit()
2318 case BPF_JMP | BPF_JGT | BPF_K: in do_jit()
2324 case BPF_JMP32 | BPF_JGT | BPF_K: in do_jit()

12