Lines Matching refs:file_offset

313                      const struct stat* file_stat, off64_t file_offset,  in soinfo_alloc()  argument
322 file_offset, rtld_flags); in soinfo_alloc()
919 off64_t* file_offset, std::string* realpath) { in open_library_in_zipfile() argument
973 *file_offset = entry.offset; in open_library_in_zipfile()
999 const char* path, off64_t* file_offset, in open_library_at_path() argument
1003 fd = open_library_in_zipfile(zip_archive_cache, path, file_offset, realpath); in open_library_at_path()
1009 *file_offset = 0; in open_library_at_path()
1024 const char* name, off64_t* file_offset, in open_library_on_paths() argument
1033 int fd = open_library_at_path(zip_archive_cache, buf, file_offset, realpath); in open_library_on_paths()
1045 off64_t* file_offset, std::string* realpath) { in open_library() argument
1050 return open_library_at_path(zip_archive_cache, name, file_offset, realpath); in open_library()
1056 …int fd = open_library_on_paths(zip_archive_cache, name, file_offset, ns->get_ld_library_paths(), r… in open_library()
1060 …fd = open_library_on_paths(zip_archive_cache, name, file_offset, needed_by->get_dt_runpath(), real… in open_library()
1069 …fd = open_library_on_paths(zip_archive_cache, name, file_offset, ns->get_default_library_paths(), … in open_library()
1075 int open_executable(const char* path, off64_t* file_offset, std::string* realpath) { in open_executable() argument
1077 return open_library_at_path(&zip_archive_cache, path, file_offset, realpath); in open_executable()
1111 off64_t file_offset, in find_loaded_library_by_inode() argument
1122 si->get_file_offset() == file_offset; in find_loaded_library_by_inode()
1169 off64_t file_offset = task->get_file_offset(); in load_library() local
1177 if ((file_offset % page_size()) != 0) { in load_library()
1178 …DL_OPEN_ERR("file offset for the library \"%s\" is not page-aligned: %" PRId64, name, file_offset); in load_library()
1181 if (file_offset < 0) { in load_library()
1182 DL_OPEN_ERR("file offset for the library \"%s\" is negative: %" PRId64, name, file_offset); in load_library()
1191 if (file_offset >= file_stat.st_size) { in load_library()
1193 name, file_offset, file_stat.st_size); in load_library()
1201 if (find_loaded_library_by_inode(ns, file_stat, file_offset, search_linked_namespaces, &si)) { in load_library()
1266 soinfo* si = soinfo_alloc(ns, realpath.c_str(), &file_stat, file_offset, rtld_flags); in load_library()
1325 off64_t file_offset = 0; in load_library() local
1327 file_offset = extinfo->library_fd_offset; in load_library()
1342 task->set_file_offset(file_offset); in load_library()
1352 off64_t file_offset; in load_library() local
1354 int fd = open_library(ns, zip_archive_cache, name, needed_by, &file_offset, &realpath); in load_library()
1370 task->set_file_offset(file_offset); in load_library()