/aosp12/system/core/init/ |
H A D | switch_root.cpp | 48 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()
|
H A D | reboot.cpp | 133 mnt_dir_(entry.mnt_dir), in MountEntry() 229 if (mentry->mnt_dir == "/data"s) { in IsDataMounted() 248 LOG(INFO) << "mount entry " << mentry->mnt_fsname << ":" << mentry->mnt_dir << " opts " in FindPartitionsToUmount() 251 std::string mount_dir(mentry->mnt_dir); in FindPartitionsToUmount()
|
/aosp12/system/update_engine/common/ |
H A D | utils_unittest.cc | 387 base::ScopedTempDir mnt_dir; in TEST() local 388 EXPECT_TRUE(mnt_dir.CreateUniqueTempDir()); in TEST() 394 EXPECT_FALSE(utils::IsMountpoint(mnt_dir.GetPath().value())); in TEST() 398 loop_dev, mnt_dir.GetPath().value(), MS_RDONLY, "ext4", "")); in TEST() 400 EXPECT_TRUE(utils::IsMountpoint(mnt_dir.GetPath().value())); in TEST() 405 EXPECT_TRUE(utils::UnmountFilesystem(mnt_dir.GetPath().value())); in TEST() 407 EXPECT_FALSE(utils::IsMountpoint(mnt_dir.GetPath().value())); in TEST() 410 EXPECT_FALSE(utils::UnmountFilesystem(mnt_dir.GetPath().value())); in TEST() 417 base::ScopedTempDir mnt_dir; in TEST() local 418 EXPECT_TRUE(mnt_dir.CreateUniqueTempDir()); in TEST() [all …]
|
/aosp12/system/extras/pagecache/ |
H A D | dumpcache.c | 146 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()
|
/aosp12/system/vold/ |
H A D | FileDeviceUtils.cpp | 53 auto l = strlen(mnt->mnt_dir); in BlockDeviceForPath() 55 path.compare(0, l, mnt->mnt_dir) == 0) { in BlockDeviceForPath()
|
H A D | Process.cpp | 116 && android::base::StartsWith(mentry->mnt_dir, prefix)) { in KillProcessesWithTmpfsMounts()
|
H A D | cryptfs.cpp | 1496 if (strcmp(mentry->mnt_dir, top_directory.c_str()) == 0) { in ensure_subdirectory_unmounted() 1500 if (android::base::StartsWith(mentry->mnt_dir, top_directory)) { in ensure_subdirectory_unmounted() 1501 SLOGW("found sub-directory mount %s - %s\n", prefix, mentry->mnt_dir); in ensure_subdirectory_unmounted() 1502 umount_points.push_back(mentry->mnt_dir); in ensure_subdirectory_unmounted()
|
H A D | VolumeManager.cpp | 958 auto test = std::string(mentry->mnt_dir); in unmountAll()
|
H A D | Utils.cpp | 1236 auto mountPoint = std::string(mnt->mnt_dir) + "/"; in findMountPointsWithPrefix()
|
/aosp12/bionic/libc/include/ |
H A D | mntent.h | 51 char* mnt_dir; member
|
/aosp12/bionic/tests/ |
H A D | mntent_test.cpp | 32 if (strcmp(entry.mnt_fsname, "proc") == 0 && strcmp(entry.mnt_dir, "/proc") == 0) { in TEST()
|
/aosp12/bootable/recovery/updater/ |
H A D | mounts.cpp | 56 v->mount_point = e->mnt_dir; in scan_mounted_volumes()
|
/aosp12/bionic/libc/bionic/ |
H A D | mntent.cpp | 51 e->mnt_dir = &buf[dir0]; in getmntent_r()
|
/aosp12/frameworks/base/core/jni/ |
H A D | com_android_internal_os_Zygote.cpp | 747 if (strncmp(mentry->mnt_dir, path, path_len) == 0) { in UnmountTree() 748 to_unmount.push_front(std::string(mentry->mnt_dir)); in UnmountTree()
|
/aosp12/hardware/google/pixel/pixelstats/ |
H A D | SysfsCollector.cpp | 510 if (strcmp(mentry->mnt_dir, "/data") == 0) { in getUserDataBlock()
|
/aosp12/system/core/fs_mgr/tests/ |
H A D | fs_mgr_test.cpp | 274 EXPECT_EQ(mentry->mnt_dir, entry.mount_point); in TEST()
|