Searched refs:bpf_program__pin (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | tc_redirect.c | 508 int err = bpf_program__pin(skel->progs.__prog, PIN_FNAME(__prog)); \ in netns_load_dtime_bpf() 804 err = bpf_program__pin(skel->progs.tc_src, SRC_PROG_PIN_FILE); in test_tc_redirect_neigh_fib() 808 err = bpf_program__pin(skel->progs.tc_chk, CHK_PROG_PIN_FILE); in test_tc_redirect_neigh_fib() 812 err = bpf_program__pin(skel->progs.tc_dst, DST_PROG_PIN_FILE); in test_tc_redirect_neigh_fib() 852 err = bpf_program__pin(skel->progs.tc_src, SRC_PROG_PIN_FILE); in test_tc_redirect_neigh() 856 err = bpf_program__pin(skel->progs.tc_chk, CHK_PROG_PIN_FILE); in test_tc_redirect_neigh() 860 err = bpf_program__pin(skel->progs.tc_dst, DST_PROG_PIN_FILE); in test_tc_redirect_neigh() 899 err = bpf_program__pin(skel->progs.tc_src, SRC_PROG_PIN_FILE); in test_tc_redirect_peer() 903 err = bpf_program__pin(skel->progs.tc_chk, CHK_PROG_PIN_FILE); in test_tc_redirect_peer() 907 err = bpf_program__pin(skel->progs.tc_dst, DST_PROG_PIN_FILE); in test_tc_redirect_peer() [all …]
|
D | btf_skc_cls_ingress.c | 204 err = bpf_program__pin(skel->progs.cls_ingress, PROG_PIN_FILE); in test_btf_skc_cls_ingress()
|
/Linux-v6.1/tools/lib/bpf/ |
D | libbpf.map | 42 bpf_program__pin;
|
D | libbpf.h | 332 LIBBPF_API int bpf_program__pin(struct bpf_program *prog, const char *path);
|
D | libbpf.c | 7776 int bpf_program__pin(struct bpf_program *prog, const char *path) in bpf_program__pin() function 8058 err = bpf_program__pin(prog, buf); in bpf_object__pin_programs()
|