• Home
  • Raw
  • Download

Lines Matching refs:file_offset

230                             off64_t file_offset, uint32_t rtld_flags) {  in soinfo_alloc()  argument
236 soinfo* si = new (g_soinfo_allocator.alloc()) soinfo(name, file_stat, file_offset, rtld_flags); in soinfo_alloc()
644 off64_t file_offset, int rtld_flags) { in soinfo() argument
657 this->file_offset_ = file_offset; in soinfo()
1090 off64_t* file_offset) { in open_library_in_zipfile() argument
1142 *file_offset = entry.offset; in open_library_in_zipfile()
1156 static int open_library_on_default_path(const char* name, off64_t* file_offset) { in open_library_on_default_path() argument
1165 *file_offset = 0; in open_library_on_default_path()
1173 static int open_library_on_ld_library_path(const char* name, off64_t* file_offset) { in open_library_on_ld_library_path() argument
1183 fd = open_library_in_zipfile(buf, file_offset); in open_library_on_ld_library_path()
1189 *file_offset = 0; in open_library_on_ld_library_path()
1201 static int open_library(const char* name, off64_t* file_offset) { in open_library() argument
1207 int fd = open_library_in_zipfile(name, file_offset); in open_library()
1215 *file_offset = 0; in open_library()
1221 int fd = open_library_on_ld_library_path(name, file_offset); in open_library()
1223 fd = open_library_on_default_path(name, file_offset); in open_library()
1252 static soinfo* load_library(int fd, off64_t file_offset, in load_library() argument
1256 if ((file_offset % PAGE_SIZE) != 0) { in load_library()
1257 DL_ERR("file offset for the library \"%s\" is not page-aligned: %" PRId64, name, file_offset); in load_library()
1260 if (file_offset < 0) { in load_library()
1261 DL_ERR("file offset for the library \"%s\" is negative: %" PRId64, name, file_offset); in load_library()
1270 if (file_offset >= file_stat.st_size) { in load_library()
1272 name, file_offset, file_stat.st_size); in load_library()
1284 si->get_file_offset() == file_offset) { in load_library()
1304 ElfReader elf_reader(realpath.c_str(), fd, file_offset, file_stat.st_size); in load_library()
1309 soinfo* si = soinfo_alloc(realpath.c_str(), &file_stat, file_offset, rtld_flags); in load_library()
1335 off64_t file_offset = 0; in load_library() local
1337 file_offset = extinfo->library_fd_offset; in load_library()
1339 return load_library(extinfo->library_fd, file_offset, load_tasks, name, rtld_flags, extinfo); in load_library()
1343 off64_t file_offset; in load_library() local
1344 int fd = open_library(name, &file_offset); in load_library()
1349 soinfo* result = load_library(fd, file_offset, load_tasks, name, rtld_flags, extinfo); in load_library()