Lines Matching defs:target_fd
9711 bpf_program__attach_fd(struct bpf_program *prog, int target_fd, int btf_id,
9733 link_fd = bpf_link_create(prog_fd, target_fd, attach_type, &opts);
9760 /* target_fd/target_ifindex use the same field in LINK_CREATE */
9765 int target_fd,
9770 if (!!target_fd != !!attach_func_name) {
9771 pr_warn("prog '%s': supply none or both of target_fd and attach_func_name\n",
9782 if (target_fd) {
9783 btf_id = libbpf_find_prog_btf_id(attach_func_name, target_fd);
9787 return bpf_program__attach_fd(prog, target_fd, btf_id, "freplace");
9804 __u32 target_fd = 0;
9823 link_fd = bpf_link_create(prog_fd, target_fd, BPF_TRACE_ITER,