Home
last modified time | relevance | path

Searched refs:file_stat (Results 1 – 6 of 6) sorted by relevance

/bionic/linker/
Dlinker_main.cpp199 struct stat file_stat; member
212 if (TEMP_FAILURE_RETRY(stat(exe_path, &result.file_stat) == -1)) { in get_executable_info()
214 if (TEMP_FAILURE_RETRY(stat(arg_path, &result.file_stat) == -1)) { in get_executable_info()
279 if (TEMP_FAILURE_RETRY(fstat(fd.get(), &result.file_stat)) == -1) { in load_executable()
284 if (!elf_reader.Read(result.path.c_str(), fd.get(), file_offset, result.file_stat.st_size)) { in load_executable()
361 exe_info.path.c_str(), &exe_info.file_stat, in linker_main()
Dlinker_main.h53 const struct stat* file_stat, off64_t file_offset,
Dlinker_soinfo.cpp215 const struct stat* file_stat, off64_t file_offset, in soinfo() argument
226 if (file_stat != nullptr) { in soinfo()
227 this->st_dev_ = file_stat->st_dev; in soinfo()
228 this->st_ino_ = file_stat->st_ino; in soinfo()
Dlinker.cpp311 const struct stat* file_stat, off64_t file_offset, in soinfo_alloc() argument
319 soinfo* si = new (g_soinfo_allocator.alloc()) soinfo(ns, name, file_stat, in soinfo_alloc()
1107 const struct stat& file_stat, in find_loaded_library_by_inode() argument
1111 if (file_stat.st_dev == 0 || file_stat.st_ino == 0) { in find_loaded_library_by_inode()
1117 return si->get_st_ino() == file_stat.st_ino && in find_loaded_library_by_inode()
1118 si->get_st_dev() == file_stat.st_dev && in find_loaded_library_by_inode()
1183 struct stat file_stat; in load_library() local
1184 if (TEMP_FAILURE_RETRY(fstat(task->get_fd(), &file_stat)) != 0) { in load_library()
1188 if (file_offset >= file_stat.st_size) { in load_library()
1190 name, file_offset, file_stat.st_size); in load_library()
[all …]
Dlinker_phdr.cpp1016 struct stat file_stat; in phdr_table_map_gnu_relro() local
1017 if (TEMP_FAILURE_RETRY(fstat(fd, &file_stat)) != 0) { in phdr_table_map_gnu_relro()
1020 off_t file_size = file_stat.st_size; in phdr_table_map_gnu_relro()
Dlinker_soinfo.h246 soinfo(android_namespace_t* ns, const char* name, const struct stat* file_stat,