Lines Matching refs:target_fd
612 int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type, in bpf_prog_attach() argument
619 return bpf_prog_attach_opts(prog_fd, target_fd, type, &opts); in bpf_prog_attach()
622 int bpf_prog_attach_opts(int prog_fd, int target_fd, in bpf_prog_attach_opts() argument
634 attr.target_fd = target_fd; in bpf_prog_attach_opts()
644 int bpf_prog_detach(int target_fd, enum bpf_attach_type type) in bpf_prog_detach() argument
651 attr.target_fd = target_fd; in bpf_prog_detach()
658 int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type) in bpf_prog_detach2() argument
665 attr.target_fd = target_fd; in bpf_prog_detach2()
673 int bpf_link_create(int prog_fd, int target_fd, in bpf_link_create() argument
698 attr.link_create.target_fd = target_fd; in bpf_link_create()
753 if (attr.link_create.target_fd || attr.link_create.target_btf_id) in bpf_link_create()
820 int bpf_prog_query_opts(int target_fd, in bpf_prog_query_opts() argument
833 attr.query.target_fd = target_fd; in bpf_prog_query_opts()
848 int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags, in bpf_prog_query() argument
858 ret = bpf_prog_query_opts(target_fd, type, &opts); in bpf_prog_query()