Home
last modified time | relevance | path

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

/system/core/init/
Dswitch_root.cpp48 if (mentry->mnt_dir == "/"s) { in GetMounts()
53 if (mentry->mnt_dir == new_root) { in GetMounts()
59 return StartsWith(mentry->mnt_dir, older_mount); in GetMounts()
64 result.emplace_back(mentry->mnt_dir); in GetMounts()
Dreboot.cpp89 mnt_dir_(entry.mnt_dir), in MountEntry()
183 LOG(INFO) << "mount entry " << mentry->mnt_fsname << ":" << mentry->mnt_dir << " opts " in FindPartitionsToUmount()
186 std::string mount_dir(mentry->mnt_dir); in FindPartitionsToUmount()
/system/update_engine/common/
Dutils_unittest.cc435 base::ScopedTempDir mnt_dir; in TEST() local
436 EXPECT_TRUE(mnt_dir.CreateUniqueTempDir()); in TEST()
442 EXPECT_FALSE(utils::IsMountpoint(mnt_dir.GetPath().value())); in TEST()
446 loop_dev, mnt_dir.GetPath().value(), MS_RDONLY, "ext4", "")); in TEST()
448 EXPECT_TRUE(utils::IsMountpoint(mnt_dir.GetPath().value())); in TEST()
450 string target_file = mnt_dir.GetPath().Append("empty-file").value(); in TEST()
453 EXPECT_TRUE(utils::UnmountFilesystem(mnt_dir.GetPath().value())); in TEST()
455 EXPECT_FALSE(utils::IsMountpoint(mnt_dir.GetPath().value())); in TEST()
458 EXPECT_FALSE(utils::UnmountFilesystem(mnt_dir.GetPath().value())); in TEST()
465 base::ScopedTempDir mnt_dir; in TEST() local
[all …]
/system/extras/pagecache/
Ddumpcache.c146 strncmp("/dev", mentry->mnt_dir, strlen("/dev")) != 0 && in main()
147 strncmp("/sys", mentry->mnt_dir, strlen("/sys")) != 0 && in main()
148 strncmp("/proc", mentry->mnt_dir, strlen("/proc")) != 0) { in main()
149 nftw(mentry->mnt_dir, &scan_entry, MAX_NUM_FD, FTW_MOUNT | FTW_PHYS | FTW_DEPTH); in main()
/system/vold/
DFileDeviceUtils.cpp53 auto l = strlen(mnt->mnt_dir); in BlockDeviceForPath()
55 path.compare(0, l, mnt->mnt_dir) == 0) { in BlockDeviceForPath()
DVolumeManager.cpp663 auto test = std::string(mentry->mnt_dir); in unmountAll()
DUtils.cpp821 auto mountPoint = std::string(mnt->mnt_dir) + "/"; in findMountPointsWithPrefix()
/system/core/fs_mgr/tests/
Dfs_mgr_test.cpp157 EXPECT_EQ(mentry->mnt_dir, entry.mount_point); in TEST()