• Home
  • Raw
  • Download

Lines Matching refs:file_offset

334                      const struct stat* file_stat, off64_t file_offset,  in soinfo_alloc()  argument
343 file_offset, rtld_flags); in soinfo_alloc()
1000 off64_t* file_offset, std::string* realpath) { in open_library_in_zipfile() argument
1054 *file_offset = entry.offset; in open_library_in_zipfile()
1080 const char* path, off64_t* file_offset, in open_library_at_path() argument
1084 fd = open_library_in_zipfile(zip_archive_cache, path, file_offset, realpath); in open_library_at_path()
1090 *file_offset = 0; in open_library_at_path()
1105 const char* name, off64_t* file_offset, in open_library_on_paths() argument
1114 int fd = open_library_at_path(zip_archive_cache, buf, file_offset, realpath); in open_library_on_paths()
1126 off64_t* file_offset, std::string* realpath) { in open_library() argument
1134 fd = open_library_in_zipfile(zip_archive_cache, name, file_offset, realpath); in open_library()
1140 *file_offset = 0; in open_library()
1155 …int fd = open_library_on_paths(zip_archive_cache, name, file_offset, ns->get_ld_library_paths(), r… in open_library()
1157 …fd = open_library_on_paths(zip_archive_cache, name, file_offset, needed_by->get_dt_runpath(), real… in open_library()
1166 …fd = open_library_on_paths(zip_archive_cache, name, file_offset, ns->get_default_library_paths(), … in open_library()
1172 int open_executable(const char* path, off64_t* file_offset, std::string* realpath) { in open_executable() argument
1174 return open_library_at_path(&zip_archive_cache, path, file_offset, realpath); in open_executable()
1208 off64_t file_offset, in find_loaded_library_by_inode() argument
1217 si->get_file_offset() == file_offset; in find_loaded_library_by_inode()
1264 off64_t file_offset = task->get_file_offset(); in load_library() local
1271 if ((file_offset % PAGE_SIZE) != 0) { in load_library()
1272 DL_ERR("file offset for the library \"%s\" is not page-aligned: %" PRId64, name, file_offset); in load_library()
1275 if (file_offset < 0) { in load_library()
1276 DL_ERR("file offset for the library \"%s\" is negative: %" PRId64, name, file_offset); in load_library()
1285 if (file_offset >= file_stat.st_size) { in load_library()
1287 name, file_offset, file_stat.st_size); in load_library()
1295 if (find_loaded_library_by_inode(ns, file_stat, file_offset, search_linked_namespaces, &si)) { in load_library()
1362 soinfo* si = soinfo_alloc(ns, realpath.c_str(), &file_stat, file_offset, rtld_flags); in load_library()
1418 off64_t file_offset; in load_library() local
1421 file_offset = 0; in load_library()
1423 file_offset = extinfo->library_fd_offset; in load_library()
1437 task->set_file_offset(file_offset); in load_library()
1442 int fd = open_library(ns, zip_archive_cache, name, needed_by, &file_offset, &realpath); in load_library()
1449 task->set_file_offset(file_offset); in load_library()