Home
last modified time | relevance | path

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

/test/vts-testcase/kernel/encryption/
Dutils.cpp114 static bool GetFsBlockDeviceAndType(const std::string &mountpoint, in GetFsBlockDeviceAndType() argument
125 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() argument
256 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()
Dmetadata_encryption_tests.cpp302 constexpr const char *mountpoint = "/data"; in TEST() local
306 const fs_mgr::FstabEntry *entry = GetEntryForMountPoint(&fstab, mountpoint); in TEST()
322 ASSERT_TRUE(GetFilesystemInfo(mountpoint, &fs_info)); in TEST()
Dfile_based_encryption_tests.cpp162 static bool IsFscryptV2Supported(const std::string &mountpoint) { in IsFscryptV2Supported() argument
164 open(mountpoint.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in IsFscryptV2Supported()
166 ADD_FAILURE() << "Failed to open " << mountpoint << Errno(); in IsFscryptV2Supported()
173 << mountpoint; in IsFscryptV2Supported()
181 << mountpoint; in IsFscryptV2Supported()
186 << mountpoint << Errno(); in IsFscryptV2Supported()
Dvts_kernel_encryption.h106 bool GetFilesystemInfo(const std::string &mountpoint, FilesystemInfo *info);