Searched refs:bpf_insn (Results 76 - 100 of 115) sorted by relevance

12345

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dfexit_bpf2bpf.c466 struct bpf_insn insns[] = {
H A Dsockopt.c26 const struct bpf_insn insns[64];
933 static int load_prog(const struct bpf_insn *insns,
H A Dflow_dissector_reattach.c44 struct bpf_insn prog[] = {
H A Dtoken.c639 struct bpf_insn insns[] = {
/linux-master/tools/lib/bpf/
H A Dbpf.h116 const struct bpf_insn *insns, size_t insn_cnt,
H A Dlibbpf_internal.h566 static inline bool is_ldimm64_insn(struct bpf_insn *insn)
H A Dlinker.c755 if (sec->shdr->sh_size % sizeof(struct bpf_insn) != 0) {
923 if (relo->r_offset % sizeof(struct bpf_insn) != 0) {
2092 struct bpf_insn *insn;
2106 insn->imm += sec->dst_off / sizeof(struct bpf_insn);
H A Dlibbpf.c65 #define BPF_INSN_SZ (sizeof(struct bpf_insn))
432 struct bpf_insn *insns;
751 static bool insn_is_subprog_call(const struct bpf_insn *insn)
761 static bool is_call_insn(const struct bpf_insn *insn)
766 static bool insn_is_pseudo_func(struct bpf_insn *insn)
4381 struct bpf_insn *insn = &prog->insns[insn_idx];
4893 struct bpf_insn insns[] = {
5777 struct bpf_insn *insn;
5891 int insn_idx, struct bpf_insn *insn,
5921 int insn_idx, struct bpf_insn *ins
[all...]
H A Dbpf.c109 struct bpf_insn insns[] = {
238 const struct bpf_insn *insns, size_t insn_cnt,
/linux-master/arch/mips/net/
H A Dbpf_jit_comp64.c439 static int emit_call(struct jit_context *ctx, const struct bpf_insn *insn)
635 int build_insn(const struct bpf_insn *insn, struct jit_context *ctx)
H A Dbpf_jit_comp.c857 const struct bpf_insn *insn = &prog->insnsi[i];
/linux-master/kernel/bpf/
H A Doffload.c348 struct bpf_insn *insn)
417 const struct bpf_insn *insn)
H A Darena.c40 #define GUARD_SZ (1ull << sizeof(((struct bpf_insn *)0)->off) * 8)
/linux-master/arch/sparc/net/
H A Dbpf_jit_comp_64.c895 static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx)
1245 const struct bpf_insn insn1 = insn[1];
1444 const struct bpf_insn *insn = &prog->insnsi[i];
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/
H A Doffload.c151 nfp_prog_prepare(struct nfp_prog *nfp_prog, const struct bpf_insn *prog,
H A Dverifier.c808 struct bpf_insn *insn)
/linux-master/arch/parisc/net/
H A Dbpf_jit.h476 int bpf_jit_emit_insn(const struct bpf_insn *insn, struct hppa_jit_context *ctx,
H A Dbpf_jit_comp32.c1116 int bpf_jit_emit_insn(const struct bpf_insn *insn, struct hppa_jit_context *ctx,
1403 struct bpf_insn insn1 = insn[1];
/linux-master/include/linux/
H A Dbpf_verifier.h789 struct bpf_insn *insn);
/linux-master/arch/riscv/net/
H A Dbpf_jit_comp64.c395 static void init_regs(u8 *rd, u8 *rs, const struct bpf_insn *insn,
565 static int add_exception_handler(const struct bpf_insn *insn,
1059 int bpf_jit_emit_insn(const struct bpf_insn *insn, struct rv_jit_context *ctx,
1510 struct bpf_insn insn1 = insn[1];
H A Dbpf_jit_comp32.c954 int bpf_jit_emit_insn(const struct bpf_insn *insn, struct rv_jit_context *ctx,
1234 struct bpf_insn insn1 = insn[1];
/linux-master/arch/x86/kernel/
H A Dalternative.c916 struct bpf_insn;
920 const struct bpf_insn *insn);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_lru_map.c45 struct bpf_insn insns[] = {
/linux-master/tools/bpf/bpftool/
H A Dcommon.c101 struct bpf_insn insns[] = {
/linux-master/arch/arm/net/
H A Dbpf_jit_32.c1559 static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx)
2075 const struct bpf_insn *insn = &(prog->insnsi[i]);

Completed in 249 milliseconds

12345