/linux-master/arch/riscv/net/ |
H A D | bpf_jit_core.c | 21 const struct bpf_prog *prog = ctx->prog; 45 struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog) 49 struct bpf_prog *tmp, *orig_prog = prog; 249 void bpf_jit_free(struct bpf_prog *prog)
|
/linux-master/arch/s390/net/ |
H A D | bpf_jit_comp.c | 551 static void bpf_jit_prologue(struct bpf_jit *jit, struct bpf_prog *fp, 696 static int bpf_jit_probe_mem(struct bpf_jit *jit, struct bpf_prog *fp, 778 static noinline int bpf_jit_insn(struct bpf_jit *jit, struct bpf_prog *fp, 1658 offsetof(struct bpf_prog, bpf_func)); 1957 static int bpf_jit_prog(struct bpf_jit *jit, struct bpf_prog *fp, 2011 struct bpf_prog *fp) 2036 struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp) 2039 struct bpf_prog *tmp, *orig_fp = fp; 2253 struct bpf_prog * [all...] |
/linux-master/arch/sparc/net/ |
H A D | bpf_jit_comp_32.c | 326 void bpf_jit_compile(struct bpf_prog *fp) 758 void bpf_jit_free(struct bpf_prog *fp)
|
H A D | bpf_jit_comp_64.c | 190 struct bpf_prog *prog; 802 struct bpf_prog *prog = ctx->prog; 887 off = offsetof(struct bpf_prog, bpf_func); 1440 const struct bpf_prog *prog = ctx->prog; 1480 struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog) 1482 struct bpf_prog *tmp, *orig_prog = prog;
|
/linux-master/arch/um/drivers/ |
H A D | vector_user.c | 779 struct sock_fprog *bpf_prog; local 781 bpf_prog = uml_kmalloc(sizeof(struct sock_fprog), UM_GFP_KERNEL); 782 if (bpf_prog) { 783 bpf_prog->len = DEFAULT_BPF_LEN; 784 bpf_prog->filter = NULL; 791 bpf_prog->filter = bpf; 805 kfree(bpf_prog); 806 bpf_prog = NULL; 808 return bpf_prog; 816 struct sock_fprog *bpf_prog; local [all...] |
/linux-master/arch/x86/net/ |
H A D | bpf_jit_comp.c | 606 static void emit_bpf_tail_call_indirect(struct bpf_prog *bpf_prog, argument 657 if (bpf_prog->aux->exception_boundary) { 662 if (bpf_arena_get_kern_vm_start(bpf_prog->aux->arena)) 673 offsetof(struct bpf_prog, bpf_func)); 688 static void emit_bpf_tail_call_direct(struct bpf_prog *bpf_prog, argument 718 if (bpf_prog->aux->exception_boundary) { 723 if (bpf_arena_get_kern_vm_start(bpf_prog->aux->arena)) 739 static void bpf_tail_call_direct_fixup(struct bpf_prog *pro 1320 do_jit(struct bpf_prog *bpf_prog, int *addrs, u8 *image, u8 *rw_image, int oldproglen, struct jit_context *ctx, bool jmp_padding) argument [all...] |
H A D | bpf_jit_comp32.c | 1369 offsetof(struct bpf_prog, bpf_func)); 1569 static int emit_kfunc_call(const struct bpf_prog *bpf_prog, u8 *end_addr, argument 1581 fm = bpf_jit_find_kfunc_model(bpf_prog, insn); 1659 static int do_jit(struct bpf_prog *bpf_prog, int *addrs, u8 *image, argument 1662 struct bpf_insn *insn = bpf_prog->insnsi; 1663 int insn_cnt = bpf_prog->len; 1670 emit_prologue(&prog, bpf_prog->aux->stack_depth); 1701 &prog, bpf_prog [all...] |
/linux-master/drivers/hid/bpf/ |
H A D | hid_bpf_dispatch.c | 206 static int do_hid_bpf_attach_prog(struct hid_device *hdev, int prog_fd, struct bpf_prog *prog, 283 struct bpf_prog *prog;
|
H A D | hid_bpf_dispatch.h | 15 int hid_bpf_get_prog_attach_type(struct bpf_prog *prog); 17 struct bpf_prog *prog, __u32 flags); 23 struct bpf_prog;
|
H A D | hid_bpf_jmp_table.c | 34 struct bpf_prog *prog; 44 struct bpf_prog *progs[HID_BPF_MAX_PROGS]; /* idx -> progs mapping */ 76 struct bpf_prog *prog, 308 static int hid_bpf_insert_prog(int prog_fd, struct bpf_prog *prog) 350 int hid_bpf_get_prog_attach_type(struct bpf_prog *prog) 398 int prog_fd, struct bpf_prog *prog, __u32 flags)
|
/linux-master/drivers/media/rc/ |
H A D | bpf-lirc.c | 83 lirc_mode2_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) 123 const struct bpf_prog *prog, 137 static int lirc_bpf_attach(struct rc_dev *rcdev, struct bpf_prog *prog) 175 static int lirc_bpf_detach(struct rc_dev *rcdev, struct bpf_prog *prog) 248 int lirc_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog) 269 struct bpf_prog *prog;
|
/linux-master/drivers/net/bonding/ |
H A D | bond_main.c | 5549 static int bond_xdp_set(struct net_device *dev, struct bpf_prog *prog, 5555 struct bpf_prog *old_prog;
|
/linux-master/drivers/net/ethernet/amazon/ena/ |
H A D | ena_netdev.h | 238 struct bpf_prog *xdp_bpf_prog; 382 struct bpf_prog *xdp_bpf_prog;
|
H A D | ena_xdp.c | 234 struct bpf_prog *prog, 237 struct bpf_prog *old_bpf_prog; 254 struct bpf_prog *prog) 256 struct bpf_prog *old_bpf_prog = xchg(&adapter->xdp_bpf_prog, prog); 291 struct bpf_prog *prog = bpf->prog; 292 struct bpf_prog *old_bpf_prog;
|
H A D | ena_xdp.h | 35 struct bpf_prog *prog, 85 struct bpf_prog *xdp_prog;
|
/linux-master/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_main.c | 134 struct bpf_prog *prog; 224 struct bpf_prog *prog; 445 static int aq_xdp_setup(struct net_device *ndev, struct bpf_prog *prog, 450 struct bpf_prog *old_prog;
|
H A D | aq_nic.h | 133 struct bpf_prog *xdp_prog;
|
H A D | aq_ring.c | 413 struct bpf_prog *prog;
|
H A D | aq_ring.h | 152 struct bpf_prog *xdp_prog;
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.h | 1058 struct bpf_prog *xdp_prog; 2538 struct bpf_prog *xdp_prog;
|
H A D | bnxt_xdp.c | 177 struct bpf_prog *xdp_prog = READ_ONCE(rxr->xdp_prog); 228 struct bpf_prog *xdp_prog = READ_ONCE(rxr->xdp_prog); 340 struct bpf_prog *xdp_prog = READ_ONCE(bp->xdp_prog); 391 static int bnxt_xdp_set(struct bnxt *bp, struct bpf_prog *prog) 395 struct bpf_prog *old;
|
/linux-master/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_main.c | 528 static inline bool nicvf_xdp_rx(struct nicvf *nic, struct bpf_prog *prog, 1832 static int nicvf_xdp_setup(struct nicvf *nic, struct bpf_prog *prog) 1836 struct bpf_prog *old_prog;
|
/linux-master/drivers/net/ethernet/engleder/ |
H A D | tsnep.h | 191 struct bpf_prog *xdp_prog; 225 int tsnep_xdp_setup_prog(struct tsnep_adapter *adapter, struct bpf_prog *prog,
|
H A D | tsnep_main.c | 1279 static bool tsnep_xdp_run_prog(struct tsnep_rx *rx, struct bpf_prog *prog, 1323 static bool tsnep_xdp_run_prog_zc(struct tsnep_rx *rx, struct bpf_prog *prog, 1434 struct bpf_prog *prog; 1538 struct bpf_prog *prog;
|
H A D | tsnep_xdp.c | 9 int tsnep_xdp_setup_prog(struct tsnep_adapter *adapter, struct bpf_prog *prog, 12 struct bpf_prog *old_prog;
|