Home
last modified time | relevance | path

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

/system/core/fs_mgr/
Dfs_mgr.cpp111 static void log_fs_stat(const char* blk_device, int fs_stat) in log_fs_stat() argument
113 if ((fs_stat & FS_STAT_IS_EXT4) == 0) return; // only log ext4 in log_fs_stat()
114 std::string msg = android::base::StringPrintf("\nfs_stat,%s,0x%x\n", blk_device, fs_stat); in log_fs_stat()
126 static bool should_force_check(int fs_stat) { in should_force_check() argument
127 return fs_stat & in should_force_check()
134 static void check_fs(const char *blk_device, char *fs_type, char *target, int *fs_stat) in check_fs() argument
145 if (*fs_stat & FS_STAT_EXT4_INVALID_MAGIC) { // will fail, so do not try in check_fs()
161 if (!(*fs_stat & FS_STAT_FULL_MOUNT_FAILED)) { // already tried if full mount failed in check_fs()
185 *fs_stat |= FS_STAT_RO_UNMOUNT_FAILED; in check_fs()
188 *fs_stat |= FS_STAT_RO_MOUNT_FAILED; in check_fs()
[all …]