Home
last modified time | relevance | path

Searched refs:bpf_program__pin (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dtc_redirect.c508 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 …]
Dbtf_skc_cls_ingress.c204 err = bpf_program__pin(skel->progs.cls_ingress, PROG_PIN_FILE); in test_btf_skc_cls_ingress()
/Linux-v6.1/tools/lib/bpf/
Dlibbpf.map42 bpf_program__pin;
Dlibbpf.h332 LIBBPF_API int bpf_program__pin(struct bpf_program *prog, const char *path);
Dlibbpf.c7776 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()