Lines Matching defs:target_fd
11911 int target_fd, const char *target_name,
11931 link_fd = bpf_link_create(prog_fd, target_fd, attach_type, opts);
11958 /* target_fd/target_ifindex use the same field in LINK_CREATE */
11993 /* target_fd/target_ifindex use the same field in LINK_CREATE */
11998 int target_fd,
12003 if (!!target_fd != !!attach_func_name) {
12004 pr_warn("prog '%s': supply none or both of target_fd and attach_func_name\n",
12015 if (target_fd) {
12018 btf_id = libbpf_find_prog_btf_id(attach_func_name, target_fd);
12024 return bpf_program_attach_fd(prog, target_fd, "freplace",
12042 __u32 target_fd = 0;
12061 link_fd = bpf_link_create(prog_fd, target_fd, BPF_TRACE_ITER,