Lines Matching refs:target_fd
622 int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type,
629 return bpf_prog_attach_opts(prog_fd, target_fd, type, &opts);
652 attr.target_fd = target;
690 attr.target_fd = target;
707 int bpf_prog_detach(int target_fd, enum bpf_attach_type type)
709 return bpf_prog_detach_opts(0, target_fd, type, NULL);
712 int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type)
714 return bpf_prog_detach_opts(prog_fd, target_fd, type, NULL);
717 int bpf_link_create(int prog_fd, int target_fd,
742 attr.link_create.target_fd = target_fd;
832 if (attr.link_create.target_fd || attr.link_create.target_btf_id)
916 attr.query.target_fd = target;
934 int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags,
944 ret = bpf_prog_query_opts(target_fd, type, &opts);