Home
last modified time | relevance | path

Searched refs:BPF_JGE (Results 1 – 25 of 48) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Ddead_code.c8 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 10, -4),
20 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 0, 1),
21 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 10, 0),
46 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 10, 1),
57 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 10, 1),
69 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 8, 1),
71 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 10, 1),
83 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 8, 1),
99 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 8, 1),
122 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, 7, 1),
[all …]
H A Dctx_skb.c6 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 0, 1),
9 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 0, 1),
12 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 0, 1),
15 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 0, 0),
18 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 0, 0),
21 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 0, 0),
24 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 0, 0),
27 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 0, 0),
44 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, 0, 9),
65 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, 0, 2),
[all …]
H A Djump.c145 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, 0, 2),
151 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, 0, 2),
157 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, 0, 2),
163 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, 0, 2),
169 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, 0, 2),
H A Djmp32.c86 BPF_JMP32_IMM(BPF_JGE, BPF_REG_7, 0x10, 1),
229 BPF_JMP32_IMM(BPF_JGE, BPF_REG_7, UINT_MAX - 1, 1),
256 BPF_JMP32_REG(BPF_JGE, BPF_REG_7, BPF_REG_8, 1),
283 BPF_JMP32_REG(BPF_JGE, BPF_REG_7, BPF_REG_8, 1),
285 BPF_JMP32_IMM(BPF_JGE, BPF_REG_7, 0x7ffffff0, 1),
H A Dmap_kptr.c61 BPF_JMP_IMM(BPF_JGE, BPF_REG_2, 0, 1),
92 BPF_JMP_IMM(BPF_JGE, BPF_REG_2, 0, 1),
145 BPF_JMP_IMM(BPF_JGE, BPF_REG_2, 0, 1),
H A Djset.c161 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, 0x10, 1),
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dalign.c141 BPF_JMP_REG(BPF_JGE, BPF_REG_3, BPF_REG_0, 1), \
221 BPF_JMP_REG(BPF_JGE, BPF_REG_3, BPF_REG_4, 1),
261 BPF_JMP_REG(BPF_JGE, BPF_REG_3, BPF_REG_4, 1),
274 BPF_JMP_REG(BPF_JGE, BPF_REG_3, BPF_REG_4, 1),
289 BPF_JMP_REG(BPF_JGE, BPF_REG_3, BPF_REG_4, 1),
377 BPF_JMP_REG(BPF_JGE, BPF_REG_3, BPF_REG_4, 1),
388 BPF_JMP_REG(BPF_JGE, BPF_REG_3, BPF_REG_4, 1),
453 BPF_JMP_REG(BPF_JGE, BPF_REG_3, BPF_REG_4, 1),
505 BPF_JMP_REG(BPF_JGE, BPF_REG_3, BPF_REG_4, 1),
559 BPF_JMP_REG(BPF_JGE, BPF_REG_3, BPF_REG_4, 1),
/openbmc/linux/samples/seccomp/
H A Dbpf-helper.h162 BPF_JUMP(BPF_JMP+BPF_JGE+BPF_K, (value), 0, 1), \
174 BPF_JUMP(BPF_JMP+BPF_JGE+BPF_K, (value), 1, 0), \
218 BPF_JUMP(BPF_JMP+BPF_JGE+BPF_K, (lo), 0, 2), \
237 BPF_JUMP(BPF_JMP+BPF_JGE+BPF_K, (hi), 0, 4), \
249 BPF_JUMP(BPF_JMP+BPF_JGE+BPF_K, (hi), 0, 4), \
254 BPF_JUMP(BPF_JMP+BPF_JGE+BPF_K, (lo), 2, 0), \
/openbmc/linux/tools/bpf/
H A Dbpf_exp.y254 bpf_set_curr_instr(BPF_JMP | BPF_JGE | BPF_K, 0, 0, $3); }
257 bpf_set_curr_instr(BPF_JMP | BPF_JGE | BPF_X, 0, 0, 0); }
260 bpf_set_curr_instr(BPF_JMP | BPF_JGE | BPF_X, 0, 0, 0); }
303 bpf_set_curr_instr(BPF_JMP | BPF_JGE | BPF_K, 0, 0, $3); }
307 bpf_set_curr_instr(BPF_JMP | BPF_JGE | BPF_X, 0, 0, 0); }
311 bpf_set_curr_instr(BPF_JMP | BPF_JGE | BPF_X, 0, 0, 0); }
314 bpf_set_curr_instr(BPF_JMP | BPF_JGE | BPF_K, 0, 0, $3); }
317 bpf_set_curr_instr(BPF_JMP | BPF_JGE | BPF_X, 0, 0, 0); }
320 bpf_set_curr_instr(BPF_JMP | BPF_JGE | BPF_X, 0, 0, 0); }
/openbmc/linux/arch/loongarch/net/
H A Dbpf_jit.h185 case BPF_JGE: in invert_jmp_cond()
188 return BPF_JGE; in invert_jmp_cond()
224 case BPF_JGE: in cond_jmp_offset()
H A Dbpf_jit.c231 if (emit_tailcall_jmp(ctx, BPF_JGE, a2, t1, jmp_offset) < 0) in emit_bpf_tail_call()
735 case BPF_JMP | BPF_JGE | BPF_X: in build_insn()
745 case BPF_JMP32 | BPF_JGE | BPF_X: in build_insn()
770 case BPF_JMP | BPF_JGE | BPF_K: in build_insn()
780 case BPF_JMP32 | BPF_JGE | BPF_K: in build_insn()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf_common.h47 #define BPF_JGE 0x30 macro
/openbmc/linux/include/uapi/linux/
H A Dbpf_common.h47 #define BPF_JGE 0x30 macro
/openbmc/linux/arch/mips/net/
H A Dbpf_jit_comp.c516 case BPF_JGE: in valid_jmp_i()
541 case BPF_JGE: return BPF_JLT; in invert_jmp()
542 case BPF_JLT: return BPF_JGE; in invert_jmp()
619 case BPF_JGE: in setup_jmp_i()
657 case BPF_JGE: in setup_jmp_r()
720 case BPF_JGE: in emit_jmp_i()
788 case BPF_JGE: in emit_jmp_r()
H A Dbpf_jit_comp64.c913 case BPF_JMP32 | BPF_JGE | BPF_X: in build_insn()
944 case BPF_JMP32 | BPF_JGE | BPF_K: in build_insn()
980 case BPF_JMP | BPF_JGE | BPF_X: in build_insn()
1009 case BPF_JMP | BPF_JGE | BPF_K: in build_insn()
/openbmc/linux/arch/powerpc/net/
H A Dbpf_jit_comp64.c1046 case BPF_JMP | BPF_JGE | BPF_K: in bpf_jit_build_body()
1047 case BPF_JMP | BPF_JGE | 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()
1089 case BPF_JMP | BPF_JGE | BPF_X: in bpf_jit_build_body()
1095 case BPF_JMP32 | BPF_JGE | BPF_X: in bpf_jit_build_body()
1132 case BPF_JMP | BPF_JGE | BPF_K: in bpf_jit_build_body()
1138 case BPF_JMP32 | BPF_JGE | BPF_K: in bpf_jit_build_body()
H A Dbpf_jit_comp32.c1103 case BPF_JMP | BPF_JGE | BPF_K: in bpf_jit_build_body()
1104 case BPF_JMP | BPF_JGE | 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()
1146 case BPF_JMP | BPF_JGE | BPF_X: in bpf_jit_build_body()
1157 case BPF_JMP32 | BPF_JGE | BPF_X: in bpf_jit_build_body()
1192 case BPF_JMP | BPF_JGE | BPF_K: in bpf_jit_build_body()
1215 case BPF_JMP32 | BPF_JGE | BPF_K: in bpf_jit_build_body()
/openbmc/linux/arch/sparc/net/
H A Dbpf_jit_comp_32.c644 COND_SEL(BPF_JMP | BPF_JGE | BPF_K, BGEU, BLU); in bpf_jit_compile()
648 COND_SEL(BPF_JMP | BPF_JGE | BPF_X, BGEU, BLU); in bpf_jit_compile()
664 case BPF_JMP | BPF_JGE | BPF_X: in bpf_jit_compile()
675 case BPF_JMP | BPF_JGE | BPF_K: in bpf_jit_compile()
/openbmc/linux/arch/parisc/net/
H A Dbpf_jit_comp64.c293 case BPF_JGE: in emit_branch()
871 case BPF_JMP | BPF_JGE | BPF_X: in bpf_jit_emit_insn()
872 case BPF_JMP32 | BPF_JGE | BPF_X: in bpf_jit_emit_insn()
917 case BPF_JMP | BPF_JGE | BPF_K: in bpf_jit_emit_insn()
918 case BPF_JMP32 | BPF_JGE | BPF_K: in bpf_jit_emit_insn()
H A Dbpf_jit.h284 return BPF_JGE; in invert_bpf_cond()
285 case BPF_JGE: in invert_bpf_cond()
H A Dbpf_jit_comp32.c735 case BPF_JGE: in emit_branch_r64()
832 case BPF_JGE: in emit_bcc()
1344 case BPF_JMP | BPF_JGE | BPF_X: in bpf_jit_emit_insn()
1345 case BPF_JMP | BPF_JGE | 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()
/openbmc/linux/arch/riscv/net/
H A Dbpf_jit_comp32.c600 case BPF_JGE: in emit_branch_r64()
686 case BPF_JGE: in emit_bcc()
799 emit_bcc(BPF_JGE, lo(idx_reg), RV_REG_T1, off, ctx); in emit_bpf_tail_call()
1175 case BPF_JMP | BPF_JGE | BPF_X: in bpf_jit_emit_insn()
1176 case BPF_JMP | BPF_JGE | 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()
/openbmc/linux/lib/
H A Dtest_bpf.c2284 case BPF_JGE: in __bpf_match_jmp_cond()
9183 BPF_JMP32_REG(BPF_JGE, R0, R1, 2),
9733 BPF_JMP_IMM(BPF_JGE, R1, 2, 1),
9778 BPF_JMP_IMM(BPF_JGE, R1, 3, 1),
10069 BPF_JMP_REG(BPF_JGE, R1, R2, 1),
10084 BPF_JMP_REG(BPF_JGE, R1, R2, 1),
10131 BPF_JMP_REG(BPF_JGE, R1, R2, 2),
10146 BPF_JMP_REG(BPF_JGE, R1, R2, 0),
10160 BPF_JMP_REG(BPF_JGE, R1, R2, 4),
13611 BPF_JMP_IMM(BPF_JGE, R1, 0, 1),
[all …]
/openbmc/linux/kernel/bpf/
H A Darraymap.c223 *insn++ = BPF_JMP_IMM(BPF_JGE, ret, map->max_entries, 4); in array_map_gen_lookup()
226 *insn++ = BPF_JMP_IMM(BPF_JGE, ret, map->max_entries, 3); in array_map_gen_lookup()
1349 *insn++ = BPF_JMP_IMM(BPF_JGE, ret, map->max_entries, 6); in array_of_map_gen_lookup()
1352 *insn++ = BPF_JMP_IMM(BPF_JGE, ret, map->max_entries, 5); in array_of_map_gen_lookup()
/openbmc/linux/arch/arm/net/
H A Dbpf_jit_32.c1125 case BPF_JGE: in emit_ar_r()
1655 case BPF_JMP | BPF_JGE | BPF_X: in build_insn()
1666 case BPF_JMP32 | BPF_JGE | BPF_X: in build_insn()
1692 case BPF_JMP | BPF_JGE | BPF_K: in build_insn()
1703 case BPF_JMP32 | BPF_JGE | BPF_K: in build_insn()
1739 case BPF_JGE: in build_insn()

12