Home
last modified time | relevance | path

Searched refs:fs_type (Results 1 – 19 of 19) sorted by relevance

/system/utest/fs/
A Dfilesystems.h114 #define BEGIN_FS_TEST_CASE(case_name, disk, fs_type, fs_name, info) \ argument
118 if (can_execute_test(test_info, &disk, fs_type)) { \
119 setup_fs_test(disk, fs_type);
121 #define END_FS_TEST_CASE(case_name, fs_type, fs_name) \ argument
122 teardown_fs_test(fs_type); \
129 #define FS_TEST_CASE(case_name, disk, CASE_TESTS, test_type, fs_type, index) \ argument
130 BEGIN_FS_TEST_CASE(case_name, disk, test_type, fs_type, &FILESYSTEMS[index]) \
132 END_FS_TEST_CASE(case_name, test_type, fs_type)
A Dfilesystems.cpp256 static int mkfs_common(const char* disk_path, disk_format_t fs_type) { in mkfs_common() argument
258 if ((status = mkfs(disk_path, fs_type, launch_stdio_sync, in mkfs_common()
261 disk_format_string(fs_type)); in mkfs_common()
267 static int fsck_common(const char* disk_path, disk_format_t fs_type) { in fsck_common() argument
269 if ((status = fsck(disk_path, fs_type, &test_fsck_options, in fsck_common()
271 fprintf(stderr, "fsck on %s failed", disk_format_string(fs_type)); in fsck_common()
278 disk_format_t fs_type) { in mount_common() argument
289 if ((status = mount(fd, mount_path, fs_type, &default_mount_options, in mount_common()
292 disk_format_string(fs_type)); in mount_common()
A Dtest-minfs.cpp47 ASSERT_EQ(info->fs_type, VFS_TYPE_MINFS); in QueryInfo()
/system/utest/fs-test-utils/
A Dunittest_test.cpp26 options.fs_type = DISK_FORMAT_MINFS; in OptionsUseRamdiskAndFvm()
51 ASSERT_EQ(actual, fixture->options().fs_type); in VerifyRamdiskAndFvmExist()
A Dperftest_test.cpp166 ASSERT_EQ(f_options.fs_type, DISK_FORMAT_BLOBFS); in OptionsAreOverwritten()
/system/ulib/fs-management/include/fs-management/
A Dmount.h45 static inline const char* disk_format_string(disk_format_t fs_type) { in disk_format_string() argument
46 return disk_format_string_[fs_type]; in disk_format_string()
/system/ulib/fs-test-utils/include/fs-test-utils/
A Dfixture.h57 options.fs_type = format; in Default()
86 disk_format_t fs_type; member
/system/utest/fvm-host/
A Dmain.cpp56 fs_type_t fs_type; member
62 switch (fs_type) { in FsTypeName()
374 switch (part->fs_type) { in PopulatePartitions()
433 switch (part->fs_type) { in CreatePartitions()
716 bool GeneratePartitionPath(fs_type_t fs_type, guid_type_t guid_type) { in GeneratePartitionPath() argument
723 if (part->fs_type == fs_type && part->guid_type == guid_type) { in GeneratePartitionPath()
730 part->fs_type = fs_type; in GeneratePartitionPath()
/system/utest/fs-bench/
A Dfs-bench.cpp186 disk_format_string_[f_opts.fs_type], test_sample_count); in RunBenchmark()
221 disk_format_string_[f_opts.fs_type], test_sample_count); in RunBenchmark()
/system/ulib/fs-test-utils/
A Dperftest.cpp357 fixture_options->fs_type = DISK_FORMAT_MINFS; in ParseCommandLineArgs()
359 fixture_options->fs_type = DISK_FORMAT_BLOBFS; in ParseCommandLineArgs()
A Dfixture.cpp103 zx_status_t result = mkfs(block_device_path.c_str(), options.fs_type, in FormatDevice()
113 result = fsck(block_device_path.c_str(), options.fs_type, &fsck_options, launch_stdio_sync); in FormatDevice()
/system/utest/memfs/
A Dfidl-tests.cpp113 ASSERT_EQ(info->fs_type, VFS_TYPE_MEMFS); in QueryInfo()
/system/utest/blobfs-bench/
A Dblobfs-bench.cpp356 fbl::StringPrintf("%s/%s/%luBlobs/Api", disk_format_string_[f_opts.fs_type], in RunBenchmark()
371 "%s/%s/%luBlobs/Read%s", disk_format_string_[f_opts.fs_type], size.c_str(), in RunBenchmark()
/system/ulib/memfs/
A Ddirectory.cpp58 info->fs_type = VFS_TYPE_MEMFS; in QueryFilesystem()
/system/fidl/fuchsia-io/
A Dio.fidl363 uint32 fs_type;
/system/ulib/blobfs/
A Dvnode.cpp985 info->fs_type = VFS_TYPE_BLOBFS; in QueryFilesystem()
/system/ulib/fdio/
A Dunistd.c2398 stats.f_type = info.fs_type; in fstatfs()
/system/ulib/minfs/
A Dvnode.cpp1701 info->fs_type = VFS_TYPE_MINFS; in QueryFilesystem()
/system/utest/blobfs/
A Dblobfs.cpp687 ASSERT_EQ(info.fs_type, VFS_TYPE_BLOBFS); in QueryInfo()

Completed in 45 milliseconds