/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | cmsg.c | 18 nfp_bpf_cmsg_alloc(struct nfp_app_bpf *bpf, unsigned int size) in nfp_bpf_cmsg_alloc() 29 nfp_bpf_cmsg_map_req_size(struct nfp_app_bpf *bpf, unsigned int n) in nfp_bpf_cmsg_map_req_size() 40 nfp_bpf_cmsg_map_req_alloc(struct nfp_app_bpf *bpf, unsigned int n) in nfp_bpf_cmsg_map_req_alloc() 46 nfp_bpf_cmsg_map_reply_size(struct nfp_app_bpf *bpf, unsigned int n) in nfp_bpf_cmsg_map_reply_size() 57 nfp_bpf_ctrl_rc_to_errno(struct nfp_app_bpf *bpf, in nfp_bpf_ctrl_rc_to_errno() 203 struct nfp_app_bpf *bpf = nfp_map->bpf; in nfp_bpf_ctrl_op_cache_get() local 297 struct nfp_app_bpf *bpf = nfp_map->bpf; in nfp_bpf_ctrl_entry_op() local 417 unsigned int nfp_bpf_ctrl_cmsg_min_mtu(struct nfp_app_bpf *bpf) in nfp_bpf_ctrl_cmsg_min_mtu() 423 unsigned int nfp_bpf_ctrl_cmsg_mtu(struct nfp_app_bpf *bpf) in nfp_bpf_ctrl_cmsg_mtu() 444 struct nfp_app_bpf *bpf = app->priv; in nfp_bpf_ctrl_msg_rx() local [all …]
|
H A D | main.c | 27 struct nfp_app_bpf *bpf = nn->app->priv; in nfp_net_ebpf_capable() local 206 nfp_bpf_parse_cap_adjust_head(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_adjust_head() 286 nfp_bpf_parse_cap_random(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_random() 301 nfp_bpf_parse_cap_adjust_tail(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_adjust_tail() 317 nfp_bpf_parse_cap_abi_version(struct nfp_app_bpf *bpf, void __iomem *value, in nfp_bpf_parse_cap_abi_version() 418 static void nfp_bpf_init_capabilities(struct nfp_app_bpf *bpf) in nfp_bpf_init_capabilities() 425 struct nfp_app_bpf *bpf = app->priv; in nfp_bpf_ndo_init() local 432 struct nfp_app_bpf *bpf = app->priv; in nfp_bpf_ndo_uninit() local 439 struct nfp_app_bpf *bpf = app->priv; in nfp_bpf_start() local 458 struct nfp_app_bpf *bpf; in nfp_bpf_init() local [all …]
|
H A D | offload.c | 31 nfp_map_ptr_record(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog, in nfp_map_ptr_record() 78 nfp_map_ptrs_forget(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog) in nfp_map_ptrs_forget() 111 nfp_map_ptrs_record(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog, in nfp_map_ptrs_record() 332 nfp_bpf_map_alloc(struct nfp_app_bpf *bpf, struct bpf_offloaded_map *offmap) in nfp_bpf_map_alloc() 410 nfp_bpf_map_free(struct nfp_app_bpf *bpf, struct bpf_offloaded_map *offmap) in nfp_bpf_map_free() 425 int nfp_ndo_bpf(struct nfp_app *app, struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_ndo_bpf() 445 int nfp_bpf_event_output(struct nfp_app_bpf *bpf, const void *data, in nfp_bpf_event_output()
|
H A D | verifier.c | 48 nfp_record_adjust_head(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog, in nfp_record_adjust_head() 177 struct nfp_app_bpf *bpf = nfp_prog->bpf; in nfp_bpf_check_helper_call() local
|
H A D | main.h | 21 #define cmsg_warn(bpf, msg...) nn_dp_warn(&(bpf)->app->ctrl->dp, msg) argument 211 struct nfp_app_bpf *bpf; member 514 struct nfp_app_bpf *bpf; member
|
/openbmc/linux/net/core/ |
H A D | lwt_bpf.c | 118 struct bpf_lwt *bpf; in bpf_input() local 141 struct bpf_lwt *bpf; in bpf_output() local 270 struct bpf_lwt *bpf; in bpf_xmit() local 319 struct bpf_lwt *bpf = bpf_lwt_lwtunnel(lwt); in bpf_destroy_state() local 376 struct bpf_lwt *bpf; in bpf_build_state() local 464 struct bpf_lwt *bpf = bpf_lwt_lwtunnel(lwt); in bpf_fill_encap_info() local
|
H A D | xdp.c | 531 struct netdev_bpf *bpf) in xdp_attachment_setup()
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | bpf.c | 180 static int nsim_xdp_offload_prog(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_xdp_offload_prog() 193 nsim_xdp_set_prog(struct netdevsim *ns, struct netdev_bpf *bpf, in nsim_xdp_set_prog() 293 static int nsim_setup_prog_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_checks() 307 nsim_setup_prog_hw_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_hw_checks() 547 int nsim_bpf(struct net_device *dev, struct netdev_bpf *bpf) in nsim_bpf()
|
/openbmc/linux/arch/um/drivers/ |
H A D | vector_user.c | 754 int uml_vector_attach_bpf(int fd, void *bpf) in uml_vector_attach_bpf() 765 int uml_vector_detach_bpf(int fd, void *bpf) in uml_vector_detach_bpf() 776 struct sock_filter *bpf; in uml_vector_default_bpf() local 815 struct sock_filter *bpf; in uml_vector_user_bpf() local
|
H A D | vector_kern.h | 131 struct sock_fprog *bpf; member
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_lookup_key.c | 26 int BPF_PROG(bpf, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG() argument
|
H A D | test_verify_pkcs7_sig.c | 45 int BPF_PROG(bpf, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG() argument
|
/openbmc/linux/drivers/net/vmxnet3/ |
H A D | vmxnet3_xdp.c | 37 vmxnet3_xdp_set(struct net_device *netdev, struct netdev_bpf *bpf, in vmxnet3_xdp_set() 102 vmxnet3_xdp(struct net_device *netdev, struct netdev_bpf *bpf) in vmxnet3_xdp()
|
/openbmc/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_xdp.c | 285 static int ena_xdp_set(struct net_device *netdev, struct netdev_bpf *bpf) in ena_xdp_set() 349 int ena_xdp(struct net_device *netdev, struct netdev_bpf *bpf) in ena_xdp()
|
/openbmc/linux/Documentation/bpf/ |
H A D | bpf_devel_QA.rst | 692 .. _selftests:
|
/openbmc/linux/net/xdp/ |
H A D | xsk_buff_pool.c | 128 struct netdev_bpf bpf; in xp_disable_drv_zc() local 153 struct netdev_bpf bpf; in xp_assign_dev() local
|
/openbmc/linux/drivers/net/ethernet/microsoft/mana/ |
H A D | mana_bpf.c | 212 int mana_bpf(struct net_device *ndev, struct netdev_bpf *bpf) in mana_bpf()
|
/openbmc/linux/drivers/net/hyperv/ |
H A D | netvsc_bpf.c | 194 int netvsc_bpf(struct net_device *dev, struct netdev_bpf *bpf) in netvsc_bpf()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_app.h | 134 int (*bpf)(struct nfp_app *app, struct nfp_net *nn, member 330 struct netdev_bpf *bpf) in nfp_app_bpf()
|
H A D | nfp_net_common.c | 1993 static int nfp_net_xdp_setup_drv(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_drv() 2023 static int nfp_net_xdp_setup_hw(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_hw()
|
/openbmc/linux/tools/perf/util/ |
H A D | tool.h | 62 bpf, member
|
/openbmc/linux/tools/ |
H A D | Makefile | 72 cgroup counter firewire hv guest bootconfig spi usb virtio mm bpf iio gpio objtool leds wmi pci fir… target
|
/openbmc/linux/drivers/media/pci/bt8xx/ |
H A D | bttv-risc.c | 671 int bpf = bpl * (btv->height >> 1); in bttv_buffer_risc() local
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_priv.c | 1264 static int cpsw_xdp_prog_setup(struct cpsw_priv *priv, struct netdev_bpf *bpf) in cpsw_xdp_prog_setup() 1278 int cpsw_ndo_bpf(struct net_device *ndev, struct netdev_bpf *bpf) in cpsw_ndo_bpf()
|
/openbmc/qemu/ |
H A D | meson_options.txt | 143 option('bpf', type : 'feature', value : 'auto', feature
|