Lines Matching refs:target_fd
13330 int target_fd, const char *target_name,
13349 link_fd = bpf_link_create(prog_fd, target_fd, attach_type, opts);
13382 /* target_fd/target_ifindex use the same field in LINK_CREATE */
13445 /* target_fd/target_ifindex use the same field in LINK_CREATE */
13484 int target_fd,
13489 if (!!target_fd != !!attach_func_name) {
13490 pr_warn("prog '%s': supply none or both of target_fd and attach_func_name\n",
13501 if (target_fd) {
13504 btf_id = libbpf_find_prog_btf_id(attach_func_name, target_fd, prog->obj->token_fd);
13510 return bpf_program_attach_fd(prog, target_fd, "freplace",
13527 __u32 target_fd = 0;
13546 link_fd = bpf_link_create(prog_fd, target_fd, BPF_TRACE_ITER,