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.cpp164 static bool IsFscryptV2Supported(const std::string &mountpoint) { in IsFscryptV2Supported() argument
166 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()
Dvts_kernel_encryption.h106 bool GetFilesystemInfo(const std::string &mountpoint, FilesystemInfo *info);