Home
last modified time | relevance | path

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

/system/core/fs_mgr/tests/
Dfs_mgr_test.cpp165 std::set<std::string> fs_options; in TEST() local
166 if (!entry.fs_options.empty()) { in TEST()
167 for (auto& s : android::base::Split(entry.fs_options, ",")) { in TEST()
168 fs_options.emplace(s); in TEST()
196 fs_options.emplace(mount_flags[f].name); in TEST()
200 fs_options.emplace("rw"); in TEST()
202 EXPECT_EQ(mnt_opts, fs_options) << "At line " << i; in TEST()
237 EXPECT_EQ("barrier=1", fstab[0].fs_options); in TEST()
241 EXPECT_EQ("discard", fstab[1].fs_options); in TEST()
245 EXPECT_EQ("discard,reserve_root=32768,resgid=1065,fsync_mode=nobarrier", fstab[2].fs_options); in TEST()
[all …]
/system/core/fs_mgr/
Dfs_mgr_fstab.cpp120 std::string fs_options; in ParseMountFlags() local
124 if (!fs_options.empty()) { in ParseMountFlags()
125 fs_options.append(","); // appends a comma if not the first in ParseMountFlags()
127 fs_options.append(flag); in ParseMountFlags()
142 entry->fs_options = std::move(fs_options); in ParseMountFlags()
637 .fs_options = "barrier=1", in TransformFstabForDsu()
Dfs_mgr.cpp774 entry.fs_options.c_str()); in __mount()
1107 entry->fs_options += ",checkpoint=disable"; in UpdateCheckpointPartition()
1535 attempted_entry.fs_options.c_str()); in fs_mgr_mount_all()
1541 attempted_entry.fs_options.c_str()); in fs_mgr_mount_all()
1748 MS_REMOUNT | fstab_entry->flags, fstab_entry->fs_options.c_str()) != 0) { in fs_mgr_remount_userdata_into_checkpointing()
Dfs_mgr_overlayfs.cpp329 const auto options = android::base::Split(entry.fs_options, ","); in fs_mgr_overlayfs_already_mounted()
/system/core/fs_mgr/include_fstab/fstab/
Dfstab.h38 std::string fs_options; member
/system/vold/
DCheckpoint.cpp196 std::string options = mount_rec.fs_options + ",checkpoint=enable"; in cp_commitChanges()