Lines Matching refs:attach_prog_fd
486 __u32 attach_prog_fd; member
3420 if (prog->type == BPF_PROG_TYPE_TRACING && !prog->attach_prog_fd) in prog_needs_vmlinux_btf()
7441 load_attr.attach_prog_fd = prog->attach_prog_fd; in bpf_object_load_prog()
9903 static int libbpf_find_prog_btf_id(const char *name, __u32 attach_prog_fd) in libbpf_find_prog_btf_id() argument
9911 err = bpf_prog_get_info_by_fd(attach_prog_fd, &info, &info_len); in libbpf_find_prog_btf_id()
9914 attach_prog_fd, err); in libbpf_find_prog_btf_id()
9997 __u32 attach_prog_fd = prog->attach_prog_fd; in libbpf_find_attach_btf_id() local
10001 if (prog->type == BPF_PROG_TYPE_EXT || attach_prog_fd) { in libbpf_find_attach_btf_id()
10002 if (!attach_prog_fd) { in libbpf_find_attach_btf_id()
10006 err = libbpf_find_prog_btf_id(attach_name, attach_prog_fd); in libbpf_find_attach_btf_id()
10009 prog->name, attach_prog_fd, attach_name, err); in libbpf_find_attach_btf_id()
13575 int attach_prog_fd, in bpf_program__set_attach_target() argument
13580 if (!prog || attach_prog_fd < 0) in bpf_program__set_attach_target()
13586 if (attach_prog_fd && !attach_func_name) { in bpf_program__set_attach_target()
13590 prog->attach_prog_fd = attach_prog_fd; in bpf_program__set_attach_target()
13594 if (attach_prog_fd) { in bpf_program__set_attach_target()
13596 attach_prog_fd); in bpf_program__set_attach_target()
13616 prog->attach_prog_fd = attach_prog_fd; in bpf_program__set_attach_target()