Home
last modified time | relevance | path

Searched refs:bpf_prog_create (Results 1 – 11 of 11) sorted by relevance

/linux/samples/bpf/
H A Dfds_example.c50 static int bpf_prog_create(const char *object) in bpf_prog_create() function
117 fd = bpf_prog_create(object); in bpf_do_prog()
/linux/net/core/
H A Dptp_classifier.c227 BUG_ON(bpf_prog_create(&ptp_insns, &ptp_prog)); in ptp_classifier_init()
H A Dfilter.c1369 int bpf_prog_create(struct bpf_prog **pfp, struct sock_fprog_kern *fprog) in bpf_prog_create() function
1401 EXPORT_SYMBOL_GPL(bpf_prog_create);
/linux/net/netfilter/
H A Dxt_bpf.c35 if (bpf_prog_create(ret, &program)) { in __bpf_mt_check_bytecode()
/linux/net/sched/
H A Dact_bpf.c210 ret = bpf_prog_create(&fp, &fprog_tmp); in tcf_bpf_init_from_ops()
H A Dcls_bpf.c362 ret = bpf_prog_create(&fp, &fprog_tmp); in cls_bpf_prog_from_ops()
/linux/drivers/net/team/
H A Dteam_mode_loadbalance.c294 err = bpf_prog_create(&fp, fprog); in lb_bpf_func_set()
/linux/Documentation/networking/
H A Dfilter.rst643 by using bpf_prog_create() for setting up the filter, resp.
647 got from bpf_prog_create(), and 'ctx' the given context (e.g.
/linux/include/linux/
H A Dfilter.h972 int bpf_prog_create(struct bpf_prog **pfp, struct sock_fprog_kern *fprog);
/linux/drivers/net/ppp/
H A Dppp_generic.c580 err = bpf_prog_create(&res, &fprog); in get_filter()
/linux/lib/
H A Dtest_bpf.c14799 *err = bpf_prog_create(&fp, &fprog); in generate_filter()