Lines Matching refs:extinfo
553 void set_extinfo(const android_dlextinfo* extinfo) { in set_extinfo() argument
554 extinfo_ = extinfo; in set_extinfo()
1136 const android_dlextinfo* extinfo = task->get_extinfo(); in load_library() local
1164 if (extinfo == nullptr || (extinfo->flags & ANDROID_DLEXT_FORCE_LOAD) == 0) { in load_library()
1285 const android_dlextinfo* extinfo = task->get_extinfo(); in load_library() local
1287 if (extinfo != nullptr && (extinfo->flags & ANDROID_DLEXT_USE_LIBRARY_FD) != 0) { in load_library()
1289 if ((extinfo->flags & ANDROID_DLEXT_USE_LIBRARY_FD_OFFSET) != 0) { in load_library()
1290 file_offset = extinfo->library_fd_offset; in load_library()
1294 if (!realpath_fd(extinfo->library_fd, &realpath)) { in load_library()
1304 task->set_fd(extinfo->library_fd, false); in load_library()
1521 const android_dlextinfo* extinfo, in find_libraries() argument
1564 task->set_extinfo(is_dt_needed ? nullptr : extinfo); in find_libraries()
1613 if (extinfo) { in find_libraries()
1614 reserved_address_recursive = extinfo->flags & ANDROID_DLEXT_RESERVED_ADDRESS_RECURSIVE; in find_libraries()
1625 if (extinfo) { in find_libraries()
1626 if (extinfo->flags & ANDROID_DLEXT_RESERVED_ADDRESS) { in find_libraries()
1627 extinfo_params.start_addr = extinfo->reserved_addr; in find_libraries()
1628 extinfo_params.reserved_size = extinfo->reserved_size; in find_libraries()
1630 } else if (extinfo->flags & ANDROID_DLEXT_RESERVED_ADDRESS_HINT) { in find_libraries()
1631 extinfo_params.start_addr = extinfo->reserved_addr; in find_libraries()
1632 extinfo_params.reserved_size = extinfo->reserved_size; in find_libraries()
1756 link_extinfo = extinfo; in find_libraries()
1805 const android_dlextinfo* extinfo, in find_library() argument
1819 extinfo, in find_library()
2066 const android_dlextinfo* extinfo, in do_dlopen() argument
2078 android_dlextinfo_to_string(extinfo).c_str(), in do_dlopen()
2094 if (extinfo != nullptr) { in do_dlopen()
2095 if ((extinfo->flags & ~(ANDROID_DLEXT_VALID_FLAG_BITS)) != 0) { in do_dlopen()
2096 DL_OPEN_ERR("invalid extended flags to android_dlopen_ext: 0x%" PRIx64, extinfo->flags); in do_dlopen()
2100 if ((extinfo->flags & ANDROID_DLEXT_USE_LIBRARY_FD) == 0 && in do_dlopen()
2101 (extinfo->flags & ANDROID_DLEXT_USE_LIBRARY_FD_OFFSET) != 0) { in do_dlopen()
2103 "ANDROID_DLEXT_USE_LIBRARY_FD): 0x%" PRIx64, extinfo->flags); in do_dlopen()
2107 if ((extinfo->flags & ANDROID_DLEXT_USE_NAMESPACE) != 0) { in do_dlopen()
2108 if (extinfo->library_namespace == nullptr) { in do_dlopen()
2112 ns = extinfo->library_namespace; in do_dlopen()
2163 soinfo* si = find_library(ns, translated_name, flags, extinfo, caller); in do_dlopen()
3231 const android_dlextinfo* extinfo, size_t* relro_fd_offset) { in link_image() argument
3298 if (extinfo && (extinfo->flags & ANDROID_DLEXT_WRITE_RELRO)) { in link_image()
3300 extinfo->relro_fd, relro_fd_offset) < 0) { in link_image()
3305 } else if (extinfo && (extinfo->flags & ANDROID_DLEXT_USE_RELRO)) { in link_image()
3307 extinfo->relro_fd, relro_fd_offset) < 0) { in link_image()