Searched refs:mountpoint (Results 1 – 4 of 4) sorted by relevance
114 static bool GetFsBlockDeviceAndType(const std::string &mountpoint, in GetFsBlockDeviceAndType() argument125 if (mnt->mnt_dir == mountpoint) { in GetFsBlockDeviceAndType()131 ADD_FAILURE() << "No /proc/mounts entry found for " << mountpoint; in GetFsBlockDeviceAndType()255 bool GetFilesystemInfo(const std::string &mountpoint, FilesystemInfo *info) { in GetFilesystemInfo() argument256 if (!GetFsBlockDeviceAndType(mountpoint, &info->fs_blk_device, &info->type)) in GetFilesystemInfo()265 GTEST_LOG_(INFO) << info->fs_blk_device << " is mounted on " << mountpoint in GetFilesystemInfo()
302 constexpr const char *mountpoint = "/data"; in TEST() local306 const fs_mgr::FstabEntry *entry = GetEntryForMountPoint(&fstab, mountpoint); in TEST()322 ASSERT_TRUE(GetFilesystemInfo(mountpoint, &fs_info)); in TEST()
164 static bool IsFscryptV2Supported(const std::string &mountpoint) { in IsFscryptV2Supported() argument166 open(mountpoint.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in IsFscryptV2Supported()168 ADD_FAILURE() << "Failed to open " << mountpoint << Errno(); in IsFscryptV2Supported()175 << mountpoint; in IsFscryptV2Supported()184 << mountpoint; in IsFscryptV2Supported()189 << mountpoint << Errno(); in IsFscryptV2Supported()
106 bool GetFilesystemInfo(const std::string &mountpoint, FilesystemInfo *info);