Home
last modified time | relevance | path

Searched refs:BPF_JA (Results 1 – 25 of 53) sorted by relevance

123

/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Djump.c31 BPF_JMP_IMM(BPF_JA, 0, 0, 14),
34 BPF_JMP_IMM(BPF_JA, 0, 0, 11),
37 BPF_JMP_IMM(BPF_JA, 0, 0, 8),
40 BPF_JMP_IMM(BPF_JA, 0, 0, 5),
43 BPF_JMP_IMM(BPF_JA, 0, 0, 2),
60 BPF_JMP_IMM(BPF_JA, 0, 0, 19),
64 BPF_JMP_IMM(BPF_JA, 0, 0, 15),
68 BPF_JMP_IMM(BPF_JA, 0, 0, 11),
72 BPF_JMP_IMM(BPF_JA, 0, 0, 7),
76 BPF_JMP_IMM(BPF_JA, 0, 0, 3),
[all …]
H A Ddead_code.c4 BPF_JMP_IMM(BPF_JA, 0, 0, 2),
6 BPF_JMP_IMM(BPF_JA, 0, 0, 2),
33 BPF_JMP_IMM(BPF_JA, 0, 0, 2),
72 BPF_JMP_IMM(BPF_JA, 0, 0, 1),
74 BPF_JMP_IMM(BPF_JA, 0, 0, -5),
153 BPF_JMP_IMM(BPF_JA, 0, 0, 0),
H A Dcalls.c401 BPF_JMP_IMM(BPF_JA, 0, 0, 4),
402 BPF_JMP_IMM(BPF_JA, 0, 0, 4),
487 BPF_JMP_IMM(BPF_JA, 0, 0, 4),
491 BPF_JMP_IMM(BPF_JA, 0, 0, -6),
493 BPF_JMP_IMM(BPF_JA, 0, 0, -6),
511 BPF_JMP_IMM(BPF_JA, 0, 0, -5),
528 BPF_JMP_IMM(BPF_JA, 0, 0, -6),
747 BPF_JMP_IMM(BPF_JA, 0, 0, 2),
749 BPF_JMP_IMM(BPF_JA, 0, 0, 1),
761 BPF_JMP_IMM(BPF_JA, 0, 0, 2),
[all …]
H A Djset.c15 BPF_JMP_IMM(BPF_JA, 0, 0, 1),
109 BPF_JMP_IMM(BPF_JA, 0, 0, 1),
H A Dbpf_loop_inline.c43 BPF_JMP_IMM(BPF_JA, 0, 0, 1),
85 BPF_JMP_IMM(BPF_JA, 0, 0, -10),
109 BPF_JMP_IMM(BPF_JA, 0, 0, 3),
H A Dprecise.c231 BPF_JMP_IMM(BPF_JA, 0, 0, 0),
H A Djmp32.c8 BPF_JMP_IMM(BPF_JA, 0, 0, 1),
39 BPF_JMP_IMM(BPF_JA, 0, 0, 1),
H A Dctx_skb.c77 BPF_JMP_IMM(BPF_JA, 0, 0, -12),
100 BPF_JMP_IMM(BPF_JA, 0, 0, -13),
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf_common.h44 #define BPF_JA 0x00 macro
/openbmc/linux/include/uapi/linux/
H A Dbpf_common.h44 #define BPF_JA 0x00 macro
/openbmc/linux/tools/testing/selftests/bpf/
H A Ddisasm.c122 [BPF_JA >> 4] = "jmp",
322 } else if (insn->code == (BPF_JMP | BPF_JA)) { in print_bpf_insn()
325 } else if (insn->code == (BPF_JMP32 | BPF_JA)) { in print_bpf_insn()
/openbmc/linux/kernel/bpf/
H A Ddisasm.c122 [BPF_JA >> 4] = "jmp",
322 } else if (insn->code == (BPF_JMP | BPF_JA)) { in print_bpf_insn()
325 } else if (insn->code == (BPF_JMP32 | BPF_JA)) { in print_bpf_insn()
/openbmc/linux/samples/seccomp/
H A Dbpf-helper.c33 if (instr->code != (BPF_JMP+BPF_JA)) in bpf_resolve_jumps()
H A Dbpf-helper.h50 BPF_JUMP(BPF_JMP+BPF_JA, FIND_LABEL((labels), (label)), \
53 BPF_JUMP(BPF_JMP+BPF_JA, FIND_LABEL((labels), (label)), \
/openbmc/linux/tools/lib/bpf/
H A Dgen_loader.c133 emit(gen, BPF_JMP_IMM(BPF_JA, 0, 0, in bpf_gen__init()
293 emit(gen, BPF_JMP_IMM(BPF_JA, 0, 0, -1)); in emit_check_err()
700 emit(gen, BPF_JMP_IMM(BPF_JA, 0, 0, 10)); in emit_relo_kfunc_btf()
716 emit(gen, BPF_JMP_IMM(BPF_JA, 0, 0, 1)); in emit_relo_kfunc_btf()
832 emit(gen, BPF_JMP_IMM(BPF_JA, 0, 0, 4)); in emit_relo_ksym_btf()
840 emit(gen, BPF_JMP_IMM(BPF_JA, 0, 0, 3)); in emit_relo_ksym_btf()
1067 emit(gen, BPF_JMP_IMM(BPF_JA, 0, 0, 1)); in bpf_gen__map_update_elem()
/openbmc/linux/arch/mips/net/
H A Dbpf_jit_comp.c536 case BPF_JA: return JIT_JNOP; in invert_jmp()
569 if (bpf_op == BPF_JA) in setup_jmp()
645 bpf_op = BPF_JA; in setup_jmp_i()
662 bpf_op = BPF_JA; in setup_jmp_r()
/openbmc/linux/tools/bpf/bpftool/
H A Dcfg.c188 if (opcode != BPF_JA) { in func_partition_bb_head()
310 } else if (BPF_OP(insn->code) == BPF_JA) { in func_add_bb_edges()
/openbmc/linux/samples/bpf/
H A Dcookie_uid_helper_example.c142 BPF_JMP_IMM(BPF_JA, 0, 0, 5), in prog_load()
/openbmc/linux/Documentation/bpf/standardization/
H A Dinstruction-set.rst350 BPF_JA 0x0 0x0 PC += offset BPF_JMP class
351 BPF_JA 0x0 0x0 PC += imm BPF_JMP32 class
380 ``BPF_JA | BPF_K | BPF_JMP32`` (0x06) means::
386 Note that there are two flavors of ``BPF_JA`` instructions. The
411 ``BPF_JA``. The offset is encoded in the imm field of the call instruction.
/openbmc/linux/tools/include/linux/
H A Dfilter.h252 .code = BPF_JMP | BPF_JA, \
/openbmc/linux/net/xdp/
H A Dxskmap.c132 *insn++ = BPF_JMP_IMM(BPF_JA, 0, 0, 1); in xsk_map_gen_lookup()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.h457 return op != BPF_JA && op != BPF_EXIT && op != BPF_CALL; in is_mbpf_cond_jump()
/openbmc/linux/tools/testing/selftests/net/
H A Dpsock_fanout.c153 { BPF_JMP | BPF_JA | BPF_K, 0, 0, 4, 0 }, in sock_fanout_set_ebpf()
/openbmc/linux/lib/
H A Dtest_bpf.c279 insn[0] = BPF_JMP_IMM(BPF_JA, 0, 0, len - 2); in bpf_fill_maxinsns9()
335 insn[i + j] = __BPF_JUMP(BPF_JMP | BPF_JA, in __bpf_fill_ja()
2316 insns[i++] = BPF_JMP_IMM(BPF_JA, 0, 0, 1); in __bpf_emit_jmp_imm()
2337 insns[i++] = BPF_JMP_IMM(BPF_JA, 0, 0, 1); in __bpf_emit_jmp32_imm()
2359 insns[i++] = BPF_JMP_IMM(BPF_JA, 0, 0, 1); in __bpf_emit_jmp_reg()
2381 insns[i++] = BPF_JMP_IMM(BPF_JA, 0, 0, 1); in __bpf_emit_jmp32_reg()
3567 BPF_JUMP(BPF_JMP | BPF_JA, 0, 0, 0),
3568 BPF_JUMP(BPF_JMP | BPF_JA, 1, 1, 1),
3569 BPF_JUMP(BPF_JMP | BPF_JA, 0, 0, 0),
3570 BPF_JUMP(BPF_JMP | BPF_JA, 0, 0, 0),
[all …]
/openbmc/linux/tools/bpf/
H A Dbpf_dbg.c59 #define BPF_JMP_JA (BPF_JMP | BPF_JA)
431 if ((BPF_CLASS(f.code) == BPF_JMP && BPF_OP(f.code) != BPF_JA)) in bpf_disasm()

123