Searched refs:file_stat (Results 1 – 5 of 5) sorted by relevance
202 memset(&file.file_stat, 0, sizeof(file.file_stat)); in GetFiles()203 file.file_stat.st_ino = it_ino; in GetFiles()204 file.file_stat.st_mode = it_inode.i_mode; in GetFiles()205 file.file_stat.st_nlink = it_inode.i_links_count; in GetFiles()206 file.file_stat.st_uid = it_inode.i_uid; in GetFiles()207 file.file_stat.st_gid = it_inode.i_gid; in GetFiles()208 file.file_stat.st_size = it_inode.i_size; in GetFiles()209 file.file_stat.st_blksize = filsys_->blocksize; in GetFiles()210 file.file_stat.st_blocks = it_inode.i_blocks; in GetFiles()211 file.file_stat.st_atime = it_inode.i_atime; in GetFiles()[all …]
48 File() { memset(&file_stat, 0, sizeof(file_stat)); } in File()52 struct stat file_stat; member
93 EXPECT_EQ(2U, map_files["/"].file_stat.st_ino); in TEST_F()
43 struct stat file_stat; in ParseRecordEventTime() local44 if (stat(path.c_str(), &file_stat) == -1) { in ParseRecordEventTime()49 *uptime = file_stat.st_mtime; in ParseRecordEventTime()79 struct stat file_stat; in AddBootEventWithValue() local80 if (stat(record_path.c_str(), &file_stat) == -1) { in AddBootEventWithValue()88 struct utimbuf times = {/* actime */ file_stat.st_atime, /* modtime */ value}; in AddBootEventWithValue()
38 struct stat file_stat; in findConfigPath() local39 if (stat(path.c_str(), &file_stat) != 0) continue; in findConfigPath()40 if (S_ISREG(file_stat.st_mode)) return path; in findConfigPath()