Searched refs:bpf_prog (Results 1 - 25 of 260) sorted by last modified time

1234567891011

/linux-master/tools/testing/selftests/bpf/bpf_testmod/
H A Dbpf_testmod.c535 const struct bpf_prog *prog,
/linux-master/net/ipv4/
H A Dudp.c3262 static int udp_prog_seq_show(struct bpf_prog *prog, struct bpf_iter_meta *meta,
3279 struct bpf_prog *prog;
3314 struct bpf_prog *prog;
/linux-master/net/core/
H A Dskmsg.c869 struct bpf_prog *prog;
957 struct bpf_prog *prog;
1058 struct bpf_prog *prog;
1092 struct bpf_prog *prog;
1181 struct bpf_prog *prog;
H A Dskbuff.c998 struct bpf_prog *prog)
H A Dfilter.c91 bpf_sk_base_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog);
549 * @new_prog: allocated 'struct bpf_prog' or NULL
565 struct bpf_prog *new_prog, int *new_len,
1138 static int bpf_prog_store_orig_filter(struct bpf_prog *fp,
1161 static void bpf_release_orig_filter(struct bpf_prog *fp)
1171 static void __bpf_prog_release(struct bpf_prog *prog)
1247 static struct bpf_prog *bpf_migrate_filter(struct bpf_prog *fp)
1250 struct bpf_prog *old_fp;
1317 static struct bpf_prog *bpf_prepare_filte
[all...]
H A Ddev.c3958 const struct bpf_prog *prog;
4812 struct bpf_prog *xdp_prog)
4914 netif_skb_check_for_xdp(struct sk_buff **pskb, struct bpf_prog *prog)
4938 struct bpf_prog *xdp_prog)
4991 void generic_xdp_tx(struct sk_buff *skb, struct bpf_prog *xdp_prog)
5016 int do_xdp_generic(struct bpf_prog *xdp_prog, struct sk_buff **pskb)
5695 struct bpf_prog *old = rtnl_dereference(dev->xdp_prog);
5696 struct bpf_prog *new = xdp->prog;
9201 static struct bpf_prog *dev_xdp_prog(struct net_device *dev,
9225 struct bpf_prog *pro
[all...]
/linux-master/kernel/bpf/
H A Dverifier.c2609 find_kfunc_desc(const struct bpf_prog *prog, u32 func_id, u16 offset)
2622 int bpf_get_kfunc_addr(const struct bpf_prog *prog, u32 func_id,
2860 static void sort_kfunc_descs_by_imm_off(struct bpf_prog *prog)
2872 bool bpf_prog_has_kfunc_call(const struct bpf_prog *prog)
2878 bpf_jit_find_kfunc_model(const struct bpf_prog *prog,
9443 struct bpf_prog *prog = env->prog;
15377 const struct bpf_prog *prog = env->prog;
15908 struct bpf_prog *prog;
16010 struct bpf_prog *prog;
16100 struct bpf_prog *pro
[all...]
H A Dcore.c96 struct bpf_prog *bpf_prog_alloc_no_stats(unsigned int size, gfp_t gfp_extra_flags)
100 struct bpf_prog *fp;
138 struct bpf_prog *bpf_prog_alloc(unsigned int size, gfp_t gfp_extra_flags)
141 struct bpf_prog *prog;
166 int bpf_prog_alloc_jited_linfo(struct bpf_prog *prog)
180 void bpf_prog_jit_attempt_done(struct bpf_prog *prog)
216 void bpf_prog_fill_jited_linfo(struct bpf_prog *prog,
245 struct bpf_prog *bpf_prog_realloc(struct bpf_prog *fp_old, unsigned int size,
249 struct bpf_prog *f
[all...]
/linux-master/include/linux/
H A Dskmsg.h57 struct bpf_prog *msg_parser;
58 struct bpf_prog *stream_parser;
59 struct bpf_prog *stream_verdict;
60 struct bpf_prog *skb_verdict;
472 static inline void psock_set_prog(struct bpf_prog **pprog,
473 struct bpf_prog *prog)
480 static inline int psock_replace_prog(struct bpf_prog **pprog,
481 struct bpf_prog *prog,
482 struct bpf_prog *old)
H A Dfilter.h623 struct bpf_prog *prog;
638 static __always_inline u32 __bpf_prog_run(const struct bpf_prog *prog,
662 static __always_inline u32 bpf_prog_run(const struct bpf_prog *prog, const void *ctx)
675 static inline u32 bpf_prog_run_pin_on_cpu(const struct bpf_prog *prog,
774 static inline u32 __bpf_prog_run_save_cb(const struct bpf_prog *prog,
795 static inline u32 bpf_prog_run_save_cb(const struct bpf_prog *prog,
806 static inline u32 bpf_prog_run_clear_cb(const struct bpf_prog *prog,
825 void bpf_prog_change_xdp(struct bpf_prog *prev_prog, struct bpf_prog *prog);
827 static inline u32 bpf_prog_insn_size(const struct bpf_prog *pro
[all...]
/linux-master/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c1023 struct bpf_prog *old;
1030 static int qede_xdp_set(struct qede_dev *edev, struct bpf_prog *prog)
/linux-master/arch/x86/net/
H A Dbpf_jit_comp.c606 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
1269 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...]
/linux-master/arch/riscv/net/
H A Dbpf_jit_comp64.c387 off = offsetof(struct bpf_prog, bpf_func);
707 struct bpf_prog *p = l->link.prog;
/linux-master/arch/arm64/net/
H A Dbpf_jit_comp.c73 const struct bpf_prog *prog;
300 const struct bpf_prog *prog = ctx->prog;
464 off = offsetof(struct bpf_prog, bpf_func);
1440 static int find_fpb_offset(struct bpf_prog *prog)
1511 const struct bpf_prog *prog = ctx->prog;
1586 struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog)
1589 struct bpf_prog *tmp, *orig_prog = prog;
1820 struct bpf_prog *p = l->link.prog;
2283 * bpf_prog
[all...]
/linux-master/arch/arm/net/
H A Dbpf_jit_32.c189 * prog : bpf_prog
203 const struct bpf_prog *prog;
1454 BUILD_BUG_ON(offsetof(struct bpf_prog, bpf_func) >
1456 off = offsetof(struct bpf_prog, bpf_func);
2101 const struct bpf_prog *prog = ctx->prog;
2145 struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog)
2147 struct bpf_prog *tmp, *orig_prog = prog;
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_main.c2487 struct bpf_prog *prog,
2519 struct bpf_prog *prog;
2771 struct bpf_prog *prog;
H A Digc.h289 struct bpf_prog *xdp_prog;
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c2927 struct bpf_prog *xdp_prog)
13258 static int i40e_xdp_setup(struct i40e_vsi *vsi, struct bpf_prog *prog,
13263 struct bpf_prog *old_prog;
/linux-master/tools/perf/util/
H A Dannotate.c1976 info_node = perf_env__find_bpf_prog_info(dso->bpf_prog.env,
1977 dso->bpf_prog.id);
1983 sub_id = dso->bpf_prog.sub_id;
1994 node = perf_env__find_btf(dso->bpf_prog.env,
/linux-master/net/unix/
H A Daf_unix.c3410 static int unix_prog_seq_show(struct bpf_prog *prog, struct bpf_iter_meta *meta,
3541 struct bpf_prog *prog;
3570 struct bpf_prog *prog;
3697 const struct bpf_prog *prog)
/linux-master/drivers/net/
H A Dtun.c173 struct bpf_prog *prog;
210 struct bpf_prog __rcu *xdp_prog;
1190 static int tun_xdp_set(struct net_device *dev, struct bpf_prog *prog,
1195 struct bpf_prog *old_prog;
1619 static int tun_xdp_act(struct tun_struct *tun, struct bpf_prog *xdp_prog,
1664 struct bpf_prog *xdp_prog;
1917 struct bpf_prog *xdp_prog;
2287 struct bpf_prog *prog)
2445 struct bpf_prog *xdp_prog;
3014 struct bpf_prog *pro
[all...]
H A Dvirtio_net.c177 struct bpf_prog __rcu *xdp_prog;
984 struct bpf_prog *xdp_prog;
1052 static int virtnet_xdp_handler(struct bpf_prog *xdp_prog, struct xdp_buff *xdp,
1207 struct bpf_prog *xdp_prog,
1314 struct bpf_prog *xdp_prog;
1524 struct bpf_prog *xdp_prog,
1599 struct bpf_prog *xdp_prog,
1686 struct bpf_prog *xdp_prog;
3988 static int virtnet_xdp_set(struct net_device *dev, struct bpf_prog *prog,
3995 struct bpf_prog *old_pro
[all...]
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c5024 struct bpf_prog *prog,
5061 struct bpf_prog *prog;
5232 struct bpf_prog *prog;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c1003 struct bpf_prog *old_prog;
4838 static void mlx5e_rq_replace_xdp_prog(struct mlx5e_rq *rq, struct bpf_prog *prog)
4840 struct bpf_prog *old_prog;
4848 static int mlx5e_xdp_set(struct net_device *netdev, struct bpf_prog *prog)
4852 struct bpf_prog *old_prog;
/linux-master/net/ipv6/
H A Dip6_fib.c2709 static int ipv6_route_prog_seq_show(struct bpf_prog *prog,
2724 struct bpf_prog *prog;
2741 struct bpf_prog *prog;

Completed in 799 milliseconds

1234567891011