Searched refs:file_stat (Results 1 – 6 of 6) sorted by relevance
/bionic/linker/ |
D | linker_main.cpp | 195 struct stat file_stat; member 207 stat("/init", &result.file_stat); in get_executable_info() 221 if (TEMP_FAILURE_RETRY(stat("/proc/self/exe", &result.file_stat)) != 0) { in get_executable_info() 281 if (TEMP_FAILURE_RETRY(fstat(fd.get(), &result.file_stat)) == -1) { in load_executable() 286 if (!elf_reader.Read(result.path.c_str(), fd.get(), file_offset, result.file_stat.st_size)) { in load_executable() 353 exe_info.path.c_str(), &exe_info.file_stat, in linker_main()
|
D | linker_main.h | 53 const struct stat* file_stat, off64_t file_offset,
|
D | linker_soinfo.cpp | 215 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()
|
D | linker.cpp | 279 const struct stat* file_stat, off64_t file_offset, in soinfo_alloc() argument 287 soinfo* si = new (g_soinfo_allocator.alloc()) soinfo(ns, name, file_stat, in soinfo_alloc() 1075 const struct stat& file_stat, in find_loaded_library_by_inode() argument 1079 if (file_stat.st_dev == 0 || file_stat.st_ino == 0) { in find_loaded_library_by_inode() 1085 return si->get_st_ino() == file_stat.st_ino && in find_loaded_library_by_inode() 1086 si->get_st_dev() == file_stat.st_dev && in find_loaded_library_by_inode() 1151 struct stat file_stat; in load_library() local 1152 if (TEMP_FAILURE_RETRY(fstat(task->get_fd(), &file_stat)) != 0) { 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() [all …]
|
D | linker_phdr.cpp | 934 struct stat file_stat; in phdr_table_map_gnu_relro() local 935 if (TEMP_FAILURE_RETRY(fstat(fd, &file_stat)) != 0) { in phdr_table_map_gnu_relro() 938 off_t file_size = file_stat.st_size; in phdr_table_map_gnu_relro()
|
D | linker_soinfo.h | 246 soinfo(android_namespace_t* ns, const char* name, const struct stat* file_stat,
|