Lines Matching refs:target_fd
652 int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type, in bpf_prog_attach() argument
659 return bpf_prog_attach_xattr(prog_fd, target_fd, type, &opts); in bpf_prog_attach()
662 int bpf_prog_attach_xattr(int prog_fd, int target_fd, in bpf_prog_attach_xattr() argument
673 attr.target_fd = target_fd; in bpf_prog_attach_xattr()
683 int bpf_prog_detach(int target_fd, enum bpf_attach_type type) in bpf_prog_detach() argument
689 attr.target_fd = target_fd; in bpf_prog_detach()
696 int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type) in bpf_prog_detach2() argument
702 attr.target_fd = target_fd; in bpf_prog_detach2()
710 int bpf_link_create(int prog_fd, int target_fd, in bpf_link_create() argument
734 attr.link_create.target_fd = target_fd; in bpf_link_create()
806 int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags, in bpf_prog_query() argument
813 attr.query.target_fd = target_fd; in bpf_prog_query()