Lines Matching defs:target_fd
630 int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type,
637 return bpf_prog_attach_opts(prog_fd, target_fd, type, &opts);
660 attr.target_fd = target;
698 attr.target_fd = target;
715 int bpf_prog_detach(int target_fd, enum bpf_attach_type type)
717 return bpf_prog_detach_opts(0, target_fd, type, NULL);
720 int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type)
722 return bpf_prog_detach_opts(prog_fd, target_fd, type, NULL);
725 int bpf_link_create(int prog_fd, int target_fd,
750 attr.link_create.target_fd = target_fd;
859 if (attr.link_create.target_fd || attr.link_create.target_btf_id)
943 attr.query.target_fd = target;
961 int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags,
971 ret = bpf_prog_query_opts(target_fd, type, &opts);