/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | getsockname4_prog.c | 7 #include <bpf/bpf_helpers.h> 8 #include <bpf/bpf_endian.h> 9 #include <bpf/bpf_core_read.h>
|
H A D | test_core_reloc_ptr_as_arr.c | 4 #include <linux/bpf.h> 6 #include <bpf/bpf_helpers.h> 7 #include <bpf/bpf_core_read.h>
|
H A D | loop2.c | 8 #include <linux/bpf.h> 9 #include <bpf/bpf_helpers.h> 10 #include <bpf/bpf_tracing.h>
|
H A D | freplace_connect4.c | 3 #include <linux/bpf.h> 6 #include <bpf/bpf_helpers.h> 7 #include <bpf/bpf_endian.h>
|
H A D | test_autoload.c | 5 #include <bpf/bpf_helpers.h> 6 #include <bpf/bpf_tracing.h> 7 #include <bpf/bpf_core_read.h>
|
H A D | bprm_opts.c | 7 #include <linux/bpf.h> 9 #include <bpf/bpf_helpers.h> 10 #include <bpf/bpf_tracing.h>
|
H A D | connect4_dropper.c | 6 #include <linux/bpf.h> 10 #include <bpf/bpf_helpers.h> 11 #include <bpf/bpf_endian.h>
|
H A D | loop3.c | 8 #include <linux/bpf.h> 9 #include <bpf/bpf_helpers.h> 10 #include <bpf/bpf_tracing.h>
|
H A D | exhandler_kern.c | 6 #include <bpf/bpf_helpers.h> 7 #include <bpf/bpf_tracing.h> 8 #include <bpf/bpf_core_read.h>
|
H A D | htab_update.c | 3 #include <linux/bpf.h> 4 #include <bpf/bpf_helpers.h> 5 #include <bpf/bpf_tracing.h>
|
H A D | tailcall_poke.c | 2 #include <linux/bpf.h> 3 #include <bpf/bpf_helpers.h> 4 #include <bpf/bpf_tracing.h>
|
H A D | test_pinning_invalid.c | 3 #include <linux/bpf.h> 4 #include <bpf/bpf_helpers.h>
|
H A D | test_autoattach.c | 5 #include <bpf/bpf_tracing.h>
|
H A D | kfunc_call_race.c | 3 #include <bpf/bpf_helpers.h>
|
H A D | test_netfilter_link_attach.c | 4 #include <bpf/bpf_helpers.h>
|
H A D | struct_ops_forgotten_cb.c | 4 #include <bpf/bpf_tracing.h>
|
H A D | test_link_pinning.c | 5 #include <linux/bpf.h> 6 #include <bpf/bpf_helpers.h>
|
H A D | test_get_stack_rawtp_err.c | 3 #include <linux/bpf.h> 4 #include <bpf/bpf_helpers.h>
|
H A D | test_trace_ext_tracing.c | 4 #include <bpf/bpf_helpers.h> 5 #include <bpf/bpf_tracing.h>
|
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | cmsg.c | 4 #include <linux/bpf.h> 18 nfp_bpf_cmsg_alloc(struct nfp_app_bpf *bpf, unsigned int size) argument 22 skb = nfp_app_ctrl_msg_alloc(bpf->app, size, GFP_KERNEL); 29 nfp_bpf_cmsg_map_req_size(struct nfp_app_bpf *bpf, unsigned int n) argument 34 size += (bpf->cmsg_key_sz + bpf->cmsg_val_sz) * n; 40 nfp_bpf_cmsg_map_req_alloc(struct nfp_app_bpf *bpf, unsigned int n) argument 42 return nfp_bpf_cmsg_alloc(bpf, nfp_bpf_cmsg_map_req_size(bpf, n)); 46 nfp_bpf_cmsg_map_reply_size(struct nfp_app_bpf *bpf, unsigne argument 57 nfp_bpf_ctrl_rc_to_errno(struct nfp_app_bpf *bpf, struct cmsg_reply_map_simple *reply) argument 82 nfp_bpf_ctrl_alloc_map(struct nfp_app_bpf *bpf, struct bpf_map *map) argument 120 nfp_bpf_ctrl_free_map(struct nfp_app_bpf *bpf, struct nfp_bpf_map *nfp_map) argument 152 nfp_bpf_ctrl_req_key(struct nfp_app_bpf *bpf, struct cmsg_req_map_op *req, unsigned int n) argument 159 nfp_bpf_ctrl_req_val(struct nfp_app_bpf *bpf, struct cmsg_req_map_op *req, unsigned int n) argument 166 nfp_bpf_ctrl_reply_key(struct nfp_app_bpf *bpf, struct cmsg_reply_map_op *reply, unsigned int n) argument 173 nfp_bpf_ctrl_reply_val(struct nfp_app_bpf *bpf, struct cmsg_reply_map_op *reply, unsigned int n) argument 203 struct nfp_app_bpf *bpf = nfp_map->bpf; local 297 struct nfp_app_bpf *bpf = nfp_map->bpf; local 417 nfp_bpf_ctrl_cmsg_min_mtu(struct nfp_app_bpf *bpf) argument 423 nfp_bpf_ctrl_cmsg_mtu(struct nfp_app_bpf *bpf) argument 430 nfp_bpf_ctrl_cmsg_cache_cnt(struct nfp_app_bpf *bpf) argument 444 struct nfp_app_bpf *bpf = app->priv; local 467 struct nfp_app_bpf *bpf = app->priv; local [all...] |
H A D | main.c | 27 struct nfp_app_bpf *bpf = nn->app->priv; local 30 bpf->abi_version && 31 nn_readb(nn, NFP_NET_CFG_BPF_ABI) == bpf->abi_version; 206 nfp_bpf_parse_cap_adjust_head(struct nfp_app_bpf *bpf, void __iomem *value, argument 210 struct nfp_cpp *cpp = bpf->app->pf->cpp; 217 bpf->adjust_head.flags = readl(&cap->flags); 218 bpf->adjust_head.off_min = readl(&cap->off_min); 219 bpf->adjust_head.off_max = readl(&cap->off_max); 220 bpf->adjust_head.guaranteed_sub = readl(&cap->guaranteed_sub); 221 bpf 238 nfp_bpf_parse_cap_func(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) argument 266 nfp_bpf_parse_cap_maps(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) argument 286 nfp_bpf_parse_cap_random(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) argument 294 nfp_bpf_parse_cap_qsel(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) argument 301 nfp_bpf_parse_cap_adjust_tail(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) argument 309 nfp_bpf_parse_cap_cmsg_multi_ent(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) argument 317 nfp_bpf_parse_cap_abi_version(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) argument 418 nfp_bpf_init_capabilities(struct nfp_app_bpf *bpf) argument 425 struct nfp_app_bpf *bpf = app->priv; local 432 struct nfp_app_bpf *bpf = app->priv; local 439 struct nfp_app_bpf *bpf = app->priv; local 458 struct nfp_app_bpf *bpf; local 510 struct nfp_app_bpf *bpf = app->priv; local [all...] |
/linux-master/samples/bpf/ |
H A D | run_cookie_uid_helper_example.sh | 8 iptables -D OUTPUT -m bpf --object-pinned ${mnt_dir}/bpf_prog -j ACCEPT 14 mount -t bpf bpf ${mnt_dir}
|
H A D | test_overhead_raw_tp.bpf.c | 4 #include <bpf/bpf_helpers.h>
|
H A D | test_overhead_tp.bpf.c | 8 #include <bpf/bpf_helpers.h>
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_bpftool_build.sh | 17 # Assume script is located under tools/testing/selftests/bpf/. We want to start 23 if [ ! -e tools/bpf/bpftool/Makefile ]; then 92 make_and_clean tools/bpf 93 ## "make tools/bpf" sets $(OUTPUT) to ...tools/bpf/runqslower for 96 make -C tools/bpf/runqslower OUTPUT=${KDIR_ROOT_DIR}/tools/bpf/runqslower/ clean 101 # make_with_tmpdir tools/bpf OUTPUT 102 echo -e "skip: make tools/bpf OUTPUT=<dir> (not supported)\n" 104 make_with_tmpdir tools/bpf [all...] |