Lines Matching refs:file_offset

279                      const struct stat* file_stat, off64_t file_offset,  in soinfo_alloc()  argument
288 file_offset, rtld_flags); in soinfo_alloc()
884 off64_t* file_offset, std::string* realpath) { in open_library_in_zipfile() argument
938 *file_offset = entry.offset; in open_library_in_zipfile()
964 const char* path, off64_t* file_offset, in open_library_at_path() argument
968 fd = open_library_in_zipfile(zip_archive_cache, path, file_offset, realpath); in open_library_at_path()
974 *file_offset = 0; in open_library_at_path()
989 const char* name, off64_t* file_offset, in open_library_on_paths() argument
998 int fd = open_library_at_path(zip_archive_cache, buf, file_offset, realpath); in open_library_on_paths()
1010 off64_t* file_offset, std::string* realpath) { in open_library() argument
1015 return open_library_at_path(zip_archive_cache, name, file_offset, realpath); in open_library()
1021 …int fd = open_library_on_paths(zip_archive_cache, name, file_offset, ns->get_ld_library_paths(), r… in open_library()
1025 …fd = open_library_on_paths(zip_archive_cache, name, file_offset, needed_by->get_dt_runpath(), real… in open_library()
1034 …fd = open_library_on_paths(zip_archive_cache, name, file_offset, ns->get_default_library_paths(), … in open_library()
1040 int open_executable(const char* path, off64_t* file_offset, std::string* realpath) { in open_executable() argument
1042 return open_library_at_path(&zip_archive_cache, path, file_offset, realpath); in open_executable()
1076 off64_t file_offset, in find_loaded_library_by_inode() argument
1087 si->get_file_offset() == file_offset; in find_loaded_library_by_inode()
1134 off64_t file_offset = task->get_file_offset(); in load_library() local
1142 if ((file_offset % PAGE_SIZE) != 0) { in load_library()
1143 …DL_OPEN_ERR("file offset for the library \"%s\" is not page-aligned: %" PRId64, name, file_offset); in load_library()
1146 if (file_offset < 0) { in load_library()
1147 DL_OPEN_ERR("file offset for the library \"%s\" is negative: %" PRId64, name, file_offset); in load_library()
1156 if (file_offset >= file_stat.st_size) { in load_library()
1158 name, file_offset, file_stat.st_size); in load_library()
1166 if (find_loaded_library_by_inode(ns, file_stat, file_offset, search_linked_namespaces, &si)) { in load_library()
1233 soinfo* si = soinfo_alloc(ns, realpath.c_str(), &file_stat, file_offset, rtld_flags); in load_library()
1288 off64_t file_offset = 0; in load_library() local
1290 file_offset = extinfo->library_fd_offset; in load_library()
1305 task->set_file_offset(file_offset); in load_library()
1315 off64_t file_offset; in load_library() local
1317 int fd = open_library(ns, zip_archive_cache, name, needed_by, &file_offset, &realpath); in load_library()
1333 task->set_file_offset(file_offset); in load_library()