Searched refs:kMountPath (Results 1 – 6 of 6) sorted by relevance
| /system/utest/fs/ |
| A D | filesystems.cpp | 26 const char* kMountPath = "/fs-test-tmp/mount"; variable 67 int r = mkdir(kMountPath, 0755); in setup_fs_test() 145 if (test_info->mount(test_disk_path, kMountPath)) { in setup_fs_test() 152 if (test_info->unmount(kMountPath)) { in teardown_fs_test() 241 if (stat(kMountPath, &st)) { in mount_memfs() 242 if (mkdir(kMountPath, 0644) < 0) { in mount_memfs() 248 int r = unlink_recursive(kMountPath); in mount_memfs() 253 return unlink_recursive(kMountPath); in unmount_memfs()
|
| A D | test-minfs.cpp | 35 fbl::unique_fd fd(open(kMountPath, O_RDONLY | O_DIRECTORY)); in QueryInfo() 105 snprintf(path, sizeof(path) - 1, "%s/file_%d", kMountPath, i); in TestQueryInfo() 122 fbl::unique_fd fd(open(kMountPath, O_RDONLY | O_DIRECTORY)); in ToggleMetrics() 133 fbl::unique_fd fd(open(kMountPath, O_RDONLY | O_DIRECTORY)); in GetMetricsUnavailable() 146 fbl::unique_fd fd(open(kMountPath, O_RDONLY | O_DIRECTORY)); in GetMetrics() 170 snprintf(path, sizeof(path) - 1, "%s/test-file", kMountPath); in TestMetrics() 266 fbl::unique_fd mnt_fd(open(kMountPath, O_RDONLY)); in TestFullOperations() 319 mnt_fd.reset(open(kMountPath, O_RDONLY)); in TestFullOperations() 384 mnt_fd.reset(open(kMountPath, O_RDONLY)); in TestFullOperations() 427 mnt_fd.reset(open(kMountPath, O_RDONLY)); in TestFullOperations()
|
| A D | misc.c | 76 ASSERT_EQ(test_info->unmount(kMountPath), 0, ""); in check_remount() 78 ASSERT_EQ(test_info->mount(test_disk_path, kMountPath), 0, ""); in check_remount()
|
| A D | wrap.c | 70 if (strncmp(path_in, PATH_PREFIX, PREFIX_SIZE) || (kMountPath == NULL)) { in wrap_path() 76 strncat(path_out, kMountPath, bytes_left); in wrap_path() 77 bytes_left -= strlen(kMountPath); in wrap_path()
|
| A D | filesystems.h | 38 extern const char* kMountPath;
|
| /system/utest/fvm/ |
| A D | fvm.cpp | 62 const char kMountPath[] = "/fvm-tmp/minfs_test_mountpath"; variable 2006 ASSERT_EQ(umount(kMountPath), ZX_OK); in CorruptMountHelper() 2049 ASSERT_EQ(mkdir(kMountPath, 0666), 0); in TestCorruptMount() 2076 ASSERT_EQ(rmdir(kMountPath), 0); in TestCorruptMount() 2262 ASSERT_EQ(mkdir(kMountPath, 0666), 0); in TestMounting() 2284 ASSERT_EQ(umount(kMountPath), ZX_OK); in TestMounting() 2285 ASSERT_EQ(rmdir(kMountPath), 0); in TestMounting() 2332 ASSERT_EQ(mkdir(kMountPath, 0666), 0); in TestMkfs() 2339 ASSERT_EQ(umount(kMountPath), ZX_OK); in TestMkfs() 2368 ASSERT_EQ(umount(kMountPath), ZX_OK); in TestMkfs() [all …]
|
Completed in 18 milliseconds