/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | log_buf.c | 142 const struct bpf_insn good_prog_insns[] = { 146 const size_t good_prog_insn_cnt = sizeof(good_prog_insns) / sizeof(struct bpf_insn); 147 const struct bpf_insn bad_prog_insns[] = { 150 size_t bad_prog_insn_cnt = sizeof(bad_prog_insns) / sizeof(struct bpf_insn);
|
H A D | fexit_bpf2bpf.c | 466 struct bpf_insn insns[] = {
|
H A D | align.c | 15 struct bpf_insn insns[MAX_INSNS]; 590 static int probe_filter_length(const struct bpf_insn *fp) 604 struct bpf_insn *prog = test->insns;
|
H A D | sockopt.c | 26 const struct bpf_insn insns[64]; 933 static int load_prog(const struct bpf_insn *insns,
|
H A D | module_fentry_shadow.c | 73 const struct bpf_insn trace_program[] = { 103 sizeof(trace_program) / sizeof(struct bpf_insn),
|
H A D | xdp_dev_bound_only.c | 10 struct bpf_insn insns[] = { BPF_MOV64_IMM(BPF_REG_0, 0), BPF_EXIT_INSN() };
|
H A D | unpriv_bpf_disabled.c | 145 const struct bpf_insn prog_insns[] = { 149 const size_t prog_insn_cnt = sizeof(prog_insns) / sizeof(struct bpf_insn);
|
H A D | verifier_log.c | 33 static const struct bpf_insn *insns;
|
/linux-master/tools/bpf/bpftool/ |
H A D | feature.c | 514 const struct bpf_insn *insns, size_t insns_cnt, 537 struct bpf_insn insns[2] = { 658 struct bpf_insn insns[2] = { 780 probe_misc_feature(struct bpf_insn *insns, size_t len, 810 struct bpf_insn insns[BPF_MAXINSNS + 1]; 831 struct bpf_insn insns[4] = { 852 struct bpf_insn insns[4] = { 873 struct bpf_insn insns[4] = {
|
H A D | xlated_dumper.c | 148 const struct bpf_insn *insn) 177 const struct bpf_insn *insn) 195 const struct bpf_insn *insn, 229 struct bpf_insn *insn = buf; 314 struct bpf_insn *insn = buf; 380 struct bpf_insn *insn_start = buf_start; 381 struct bpf_insn *insn_end = buf_end; 382 struct bpf_insn *cur = insn_start;
|
H A D | common.c | 101 struct bpf_insn insns[] = {
|
/linux-master/lib/ |
H A D | test_bpf.c | 69 struct bpf_insn insns_int[MAX_INSNS]; 272 struct bpf_insn *insn; 298 struct bpf_insn *insn; 434 struct bpf_insn *insn; 467 static int __bpf_ld_imm64(struct bpf_insn insns[2], u8 reg, s64 imm64) 469 struct bpf_insn tmp[] = {BPF_LD_IMM64(reg, imm64)}; 483 struct bpf_insn *insns; 605 struct bpf_insn *insn; 738 struct bpf_insn *insn; 824 struct bpf_insn*, s6 821 __bpf_fill_pattern(struct bpf_test *self, void *arg, int dbits, int sbits, int block1, int block2, int (*emit)(struct bpf_test*, void*, struct bpf_insn*, s64, s64)) argument [all...] |
/linux-master/arch/powerpc/net/ |
H A D | bpf_jit_comp64.c | 368 const struct bpf_insn *insn = fp->insnsi; 952 * 16 byte instruction that uses two 'struct bpf_insn'
|
H A D | bpf_jit_comp32.c | 285 const struct bpf_insn *insn = fp->insnsi; 1010 * 16 byte instruction that uses two 'struct bpf_insn'
|
/linux-master/kernel/bpf/ |
H A D | offload.c | 348 struct bpf_insn *insn) 417 const struct bpf_insn *insn)
|
/linux-master/tools/lib/bpf/ |
H A D | relo_core.c | 16 static bool is_ldimm64_insn(struct bpf_insn *insn) 809 /* by default, always check expected value in bpf_insn */ 822 /* type ID, embedded in bpf_insn, might change during linking, 970 int insn_idx, struct bpf_insn *insn) 985 static int insn_bpf_size_to_bytes(struct bpf_insn *insn) 1024 int bpf_core_patch_insn(const char *prog_name, struct bpf_insn *insn, 1321 /* bpf_insn's imm value could get out of sync during linking */
|
H A D | gen_loader.c | 96 static void emit(struct bpf_gen *gen, struct bpf_insn insn) 104 static void emit2(struct bpf_gen *gen, struct bpf_insn insn1, struct bpf_insn insn2) 672 /* try to copy from existing bpf_insn */ 674 move_blob2blob(gen, insn + offsetof(struct bpf_insn, imm), 4, 675 kdesc->insn + offsetof(struct bpf_insn, imm)); 676 move_blob2blob(gen, insn + offsetof(struct bpf_insn, off), 2, 677 kdesc->insn + offsetof(struct bpf_insn, off)); 697 emit(gen, BPF_ST_MEM(BPF_W, BPF_REG_8, offsetof(struct bpf_insn, imm), 0)); 698 emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, of [all...] |
H A D | bpf_gen_internal.h | 64 const char *license, struct bpf_insn *insns, size_t insn_cnt,
|
/linux-master/arch/parisc/net/ |
H A D | bpf_jit_comp64.c | 407 static void init_regs(u8 *rd, u8 *rs, const struct bpf_insn *insn, 592 int bpf_jit_emit_insn(const struct bpf_insn *insn, struct hppa_jit_context *ctx, 1001 struct bpf_insn insn1 = insn[1];
|
H A D | bpf_jit_core.c | 23 const struct bpf_insn *insn = &prog->insnsi[i];
|
H A D | bpf_jit_comp32.c | 1116 int bpf_jit_emit_insn(const struct bpf_insn *insn, struct hppa_jit_context *ctx, 1403 struct bpf_insn insn1 = insn[1];
|
H A D | bpf_jit.h | 476 int bpf_jit_emit_insn(const struct bpf_insn *insn, struct hppa_jit_context *ctx,
|
/linux-master/arch/loongarch/net/ |
H A D | bpf_jit.h | 47 static inline int bpf2la_offset(int bpf_insn, int off, const struct jit_ctx *ctx) argument 50 bpf_insn++; 56 return (ctx->offset[bpf_insn + off] - (ctx->offset[bpf_insn] - 1));
|
/linux-master/net/xdp/ |
H A D | xskmap.c | 121 static int xsk_map_gen_lookup(struct bpf_map *map, struct bpf_insn *insn_buf) 124 struct bpf_insn *insn = insn_buf;
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | netif_receive_skb.c | 243 TEST_BTF_C(str, struct bpf_insn, 0, 245 TEST_BTF(str, struct bpf_insn, BTF_F_NONAME, "{1,0x2,0x3,4,5,}",
|