Home
last modified time | relevance | path

Searched defs:bpf (Results 1 – 24 of 24) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/netronome/nfp/bpf/
Dcmsg.c48 static bool nfp_bpf_all_tags_busy(struct nfp_app_bpf *bpf) in nfp_bpf_all_tags_busy()
57 static int nfp_bpf_alloc_tag(struct nfp_app_bpf *bpf) in nfp_bpf_alloc_tag()
72 static void nfp_bpf_free_tag(struct nfp_app_bpf *bpf, u16 tag) in nfp_bpf_free_tag()
82 nfp_bpf_cmsg_alloc(struct nfp_app_bpf *bpf, unsigned int size) in nfp_bpf_cmsg_alloc()
93 nfp_bpf_cmsg_map_req_alloc(struct nfp_app_bpf *bpf, unsigned int n) in nfp_bpf_cmsg_map_req_alloc()
121 static struct sk_buff *__nfp_bpf_reply(struct nfp_app_bpf *bpf, u16 tag) in __nfp_bpf_reply()
138 static struct sk_buff *nfp_bpf_reply(struct nfp_app_bpf *bpf, u16 tag) in nfp_bpf_reply()
149 static struct sk_buff *nfp_bpf_reply_drop_tag(struct nfp_app_bpf *bpf, u16 tag) in nfp_bpf_reply_drop_tag()
163 nfp_bpf_cmsg_wait_reply(struct nfp_app_bpf *bpf, enum nfp_bpf_cmsg_type type, in nfp_bpf_cmsg_wait_reply()
200 nfp_bpf_cmsg_communicate(struct nfp_app_bpf *bpf, struct sk_buff *skb, in nfp_bpf_cmsg_communicate()
[all …]
Dmain.c243 nfp_bpf_parse_cap_adjust_head(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_adjust_head()
275 nfp_bpf_parse_cap_func(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_func()
303 nfp_bpf_parse_cap_maps(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_maps()
323 nfp_bpf_parse_cap_random(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_random()
331 nfp_bpf_parse_cap_qsel(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_qsel()
338 nfp_bpf_parse_cap_adjust_tail(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_adjust_tail()
419 struct nfp_app_bpf *bpf = app->priv; in nfp_bpf_ndo_init() local
426 struct nfp_app_bpf *bpf = app->priv; in nfp_bpf_ndo_uninit() local
433 struct nfp_app_bpf *bpf; in nfp_bpf_init() local
475 struct nfp_app_bpf *bpf = app->priv; in nfp_bpf_clean() local
Doffload.c60 nfp_map_ptr_record(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog, in nfp_map_ptr_record()
112 nfp_map_ptrs_forget(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog) in nfp_map_ptrs_forget()
147 nfp_map_ptrs_record(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog, in nfp_map_ptrs_record()
220 struct netdev_bpf *bpf) in nfp_bpf_verifier_prep()
353 nfp_bpf_map_alloc(struct nfp_app_bpf *bpf, struct bpf_offloaded_map *offmap) in nfp_bpf_map_alloc()
430 nfp_bpf_map_free(struct nfp_app_bpf *bpf, struct bpf_offloaded_map *offmap) in nfp_bpf_map_free()
443 int nfp_ndo_bpf(struct nfp_app *app, struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_ndo_bpf()
469 int nfp_bpf_event_output(struct nfp_app_bpf *bpf, const void *data, in nfp_bpf_event_output()
Dverifier.c76 nfp_record_adjust_head(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog, in nfp_record_adjust_head()
164 struct nfp_app_bpf *bpf = nfp_prog->bpf; in nfp_bpf_check_call() local
Dmain.h50 #define cmsg_warn(bpf, msg...) nn_dp_warn(&(bpf)->app->ctrl->dp, msg) argument
219 struct nfp_app_bpf *bpf; member
436 struct nfp_app_bpf *bpf; member
/Linux-v4.19/Documentation/bpf/
Dbpf_devel_QA.rst629 .. _Documentation/process/: https://www.kernel.org/doc/html/latest/process/
630 .. _MAINTAINERS: ../../MAINTAINERS
631 .. _netdev-FAQ: ../networking/netdev-FAQ.rst
632 .. _samples/bpf/: ../../samples/bpf/
633 .. _selftests: ../../tools/testing/selftests/bpf/
634 .. _Documentation/dev-tools/kselftest.rst:
/Linux-v4.19/net/core/
Dlwt_bpf.c92 struct bpf_lwt *bpf; in bpf_input() local
115 struct bpf_lwt *bpf; in bpf_output() local
152 struct bpf_lwt *bpf; in bpf_xmit() local
189 struct bpf_lwt *bpf = bpf_lwt_lwtunnel(lwt); in bpf_destroy_state() local
246 struct bpf_lwt *bpf; in bpf_build_state() local
333 struct bpf_lwt *bpf = bpf_lwt_lwtunnel(lwt); in bpf_fill_encap_info() local
Dxdp.c372 struct netdev_bpf *bpf) in xdp_attachment_query()
381 struct netdev_bpf *bpf) in xdp_attachment_flags_ok()
393 struct netdev_bpf *bpf) in xdp_attachment_setup()
/Linux-v4.19/net/xdp/
Dxdp_umem.c47 struct netdev_bpf bpf; in xdp_umem_query() local
64 struct netdev_bpf bpf; in xdp_umem_assign_dev() local
110 struct netdev_bpf bpf; in xdp_umem_clear_dev() local
/Linux-v4.19/drivers/net/netdevsim/
Dbpf.c186 static int nsim_xdp_offload_prog(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_xdp_offload_prog()
199 nsim_xdp_set_prog(struct netdevsim *ns, struct netdev_bpf *bpf, in nsim_xdp_set_prog()
272 static int nsim_setup_prog_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_checks()
286 nsim_setup_prog_hw_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_hw_checks()
527 int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
Dnetdevsim.h123 static inline int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
/Linux-v4.19/arch/um/drivers/
Dvector_user.c545 int uml_vector_attach_bpf(int fd, void *bpf, int bpf_len) in uml_vector_attach_bpf()
558 struct sock_filter *bpf; in uml_vector_default_bpf() local
Dvector_kern.h123 void *bpf; member
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_app.h159 int (*bpf)(struct nfp_app *app, struct nfp_net *nn, member
352 struct netdev_bpf *bpf) in nfp_app_bpf()
Dnfp_net_common.c3418 static int nfp_net_xdp_setup_drv(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_drv()
3451 static int nfp_net_xdp_setup_hw(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_hw()
/Linux-v4.19/tools/
DMakefile62 cgroup firewire hv guest spi usb virtio vm bpf iio gpio objtool leds wmi: FORCE target
/Linux-v4.19/drivers/media/pci/bt8xx/
Dbttv-risc.c721 int bpf = bpl * (buf->vb.height >> 1); in bttv_buffer_risc() local
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_offload.py398 def set_xdp(self, bpf, mode, force=False, JSON=True, verbose=False, argument
481 def cls_bpf_add_filter(self, bpf, op="add", prio=None, handle=None, argument
/Linux-v4.19/net/ipv6/
Dseg6_local.c60 struct bpf_lwt_prog bpf; member
/Linux-v4.19/tools/bpf/
Dbpf_dbg.c501 struct sock_fprog bpf = { in bpf_runnable() local
/Linux-v4.19/include/linux/
Dlsm_hooks.h1771 int (*bpf)(int cmd, union bpf_attr *attr, member
2006 struct hlist_head bpf; member
Dcgroup-defs.h440 struct cgroup_bpf bpf; member
/Linux-v4.19/kernel/bpf/
Dsyscall.c2334 SYSCALL_DEFINE3(bpf, int, cmd, union bpf_attr __user *, uattr, unsigned int, size) in SYSCALL_DEFINE3() argument
/Linux-v4.19/include/net/
Dtcp.h854 } bpf; member