Lines Matching refs:file_stat
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()
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()
1238 if (!task->read(realpath.c_str(), file_stat.st_size)) { in load_library()