Searched refs:bpf_prog_attach (Results 26 - 32 of 32) sorted by relevance

12

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector.c586 err = bpf_prog_attach(prog_fd, 0, BPF_FLOW_DISSECTOR, 0);
587 if (CHECK(err, "bpf_prog_attach", "err %d errno %d\n", err, errno))
H A Dsockopt.c1054 err = bpf_prog_attach(prog_fd, cgroup_fd, test->attach_type, 0);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_sock_addr.c1331 err = bpf_prog_attach(progfd, cgfd, test->attach_type,
H A Dtest_sysctl.c1563 if (bpf_prog_attach(progfd, cgfd, atype, BPF_F_ALLOW_OVERRIDE) < 0) {
/linux-master/tools/lib/bpf/
H A Dbpf.c629 int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type, function
/linux-master/tools/bpf/bpftool/
H A Dprog.c1076 err = bpf_prog_attach(progfd, mapfd, attach_type, 0);
/linux-master/kernel/bpf/
H A Dsyscall.c4043 static int bpf_prog_attach(const union bpf_attr *attr) function
5669 err = bpf_prog_attach(&attr);

Completed in 153 milliseconds

12