Searched refs:bpf (Results 51 - 75 of 1258) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/bpf/progs/
H A Dgetsockname4_prog.c7 #include <bpf/bpf_helpers.h>
8 #include <bpf/bpf_endian.h>
9 #include <bpf/bpf_core_read.h>
H A Dtest_core_reloc_ptr_as_arr.c4 #include <linux/bpf.h>
6 #include <bpf/bpf_helpers.h>
7 #include <bpf/bpf_core_read.h>
H A Dloop2.c8 #include <linux/bpf.h>
9 #include <bpf/bpf_helpers.h>
10 #include <bpf/bpf_tracing.h>
H A Dfreplace_connect4.c3 #include <linux/bpf.h>
6 #include <bpf/bpf_helpers.h>
7 #include <bpf/bpf_endian.h>
H A Dtest_autoload.c5 #include <bpf/bpf_helpers.h>
6 #include <bpf/bpf_tracing.h>
7 #include <bpf/bpf_core_read.h>
H A Dbprm_opts.c7 #include <linux/bpf.h>
9 #include <bpf/bpf_helpers.h>
10 #include <bpf/bpf_tracing.h>
H A Dconnect4_dropper.c6 #include <linux/bpf.h>
10 #include <bpf/bpf_helpers.h>
11 #include <bpf/bpf_endian.h>
H A Dloop3.c8 #include <linux/bpf.h>
9 #include <bpf/bpf_helpers.h>
10 #include <bpf/bpf_tracing.h>
H A Dexhandler_kern.c6 #include <bpf/bpf_helpers.h>
7 #include <bpf/bpf_tracing.h>
8 #include <bpf/bpf_core_read.h>
H A Dhtab_update.c3 #include <linux/bpf.h>
4 #include <bpf/bpf_helpers.h>
5 #include <bpf/bpf_tracing.h>
H A Dtailcall_poke.c2 #include <linux/bpf.h>
3 #include <bpf/bpf_helpers.h>
4 #include <bpf/bpf_tracing.h>
H A Dtest_pinning_invalid.c3 #include <linux/bpf.h>
4 #include <bpf/bpf_helpers.h>
H A Dtest_autoattach.c5 #include <bpf/bpf_tracing.h>
H A Dkfunc_call_race.c3 #include <bpf/bpf_helpers.h>
H A Dtest_netfilter_link_attach.c4 #include <bpf/bpf_helpers.h>
H A Dstruct_ops_forgotten_cb.c4 #include <bpf/bpf_tracing.h>
H A Dtest_link_pinning.c5 #include <linux/bpf.h>
6 #include <bpf/bpf_helpers.h>
H A Dtest_get_stack_rawtp_err.c3 #include <linux/bpf.h>
4 #include <bpf/bpf_helpers.h>
H A Dtest_trace_ext_tracing.c4 #include <bpf/bpf_helpers.h>
5 #include <bpf/bpf_tracing.h>
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/
H A Dcmsg.c4 #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 Dmain.c27 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 Drun_cookie_uid_helper_example.sh8 iptables -D OUTPUT -m bpf --object-pinned ${mnt_dir}/bpf_prog -j ACCEPT
14 mount -t bpf bpf ${mnt_dir}
H A Dtest_overhead_raw_tp.bpf.c4 #include <bpf/bpf_helpers.h>
H A Dtest_overhead_tp.bpf.c8 #include <bpf/bpf_helpers.h>
/linux-master/tools/testing/selftests/bpf/
H A Dtest_bpftool_build.sh17 # 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...]

Completed in 190 milliseconds

1234567891011>>