Lines Matching refs:btf_obj_fd
6821 int *btf_obj_fd, int *btf_type_id);
6844 int btf_obj_fd = 0, btf_type_id = 0, err; in libbpf_prepare_prog_load() local
6864 err = libbpf_find_attach_btf_id(prog, attach_name, &btf_obj_fd, &btf_type_id); in libbpf_prepare_prog_load()
6869 prog->attach_btf_obj_fd = btf_obj_fd; in libbpf_prepare_prog_load()
6877 opts->attach_btf_obj_fd = btf_obj_fd; in libbpf_prepare_prog_load()
9357 int *btf_obj_fd, int *btf_type_id) in find_kernel_btf_id() argument
9363 *btf_obj_fd = 0; /* vmlinux BTF */ in find_kernel_btf_id()
9379 *btf_obj_fd = mod->fd; in find_kernel_btf_id()
9393 int *btf_obj_fd, int *btf_type_id) in libbpf_find_attach_btf_id() argument
9411 *btf_obj_fd = 0; in libbpf_find_attach_btf_id()
9419 *btf_obj_fd = 0; in libbpf_find_attach_btf_id()
9422 err = find_kernel_btf_id(prog->obj, attach_name, attach_type, btf_obj_fd, btf_type_id); in libbpf_find_attach_btf_id()
12807 int btf_obj_fd = 0, btf_id = 0, err; in bpf_program__set_attach_target() local
12838 &btf_obj_fd, &btf_id); in bpf_program__set_attach_target()
12844 prog->attach_btf_obj_fd = btf_obj_fd; in bpf_program__set_attach_target()