Home
last modified time | relevance | path

Searched refs:ramdisk_path (Results 1 – 11 of 11) sorted by relevance

/system/utest/fs-management/
A Dfs-management.cpp76 char ramdisk_path[PATH_MAX]; in MountUnmountShared() local
109 char ramdisk_path[PATH_MAX]; in MountMkdirUnmount() local
130 char ramdisk_path[PATH_MAX]; in FmountFunmount() local
162 char ramdisk_path[PATH_MAX]; in DoMountEvil() local
267 char ramdisk_path[PATH_MAX]; in MountEvilMinfs() local
294 char ramdisk_path[PATH_MAX]; in UmountTestEvil() local
343 char ramdisk_path[PATH_MAX]; in DoubleMountRoot() local
395 char ramdisk_path[PATH_MAX]; in MountRemount() local
419 char ramdisk_path[PATH_MAX]; in MountFsck() local
441 char ramdisk_path[PATH_MAX]; in MountGetDevice() local
[all …]
/system/ulib/fs-management/include/fs-management/
A Dramdisk.h39 zx_status_t sleep_ramdisk(const char* ramdisk_path, uint64_t blk_count);
42 zx_status_t wake_ramdisk(const char* ramdisk_path);
45 zx_status_t get_ramdisk_blocks(const char* ramdisk_path, ramdisk_blk_counts_t* counts);
48 zx_status_t destroy_ramdisk(const char* ramdisk_path);
/system/utest/biotime/
A Dbiotime-test.cpp20 char ramdisk_path[PATH_MAX]; in run_biotime() local
21 ASSERT_EQ(create_ramdisk(1024, 100, ramdisk_path), ZX_OK); in run_biotime()
23 EXPECT_EQ(destroy_ramdisk(ramdisk_path), 0); in run_biotime()
27 args.push_back(ramdisk_path); in run_biotime()
/system/utest/fvm/
A Dfvm.cpp523 char ramdisk_path[PATH_MAX]; in TestTooSmall() local
545 char ramdisk_path[PATH_MAX]; in TestLarge() local
575 char ramdisk_path[PATH_MAX]; in TestEmpty() local
587 char ramdisk_path[PATH_MAX]; in TestAllocateOne() local
629 char ramdisk_path[PATH_MAX]; in TestAllocateMany() local
675 char ramdisk_path[PATH_MAX]; in TestCloseDuringAccess() local
745 char ramdisk_path[PATH_MAX]; in TestReleaseDuringAccess() local
801 char ramdisk_path[PATH_MAX]; in TestDestroyDuringAccess() local
864 char ramdisk_path[PATH_MAX]; in TestVPartitionExtend() local
961 char ramdisk_path[PATH_MAX]; in TestVPartitionExtendSparse() local
[all …]
/system/ulib/fs-management/
A Dramdisk.cpp180 zx_status_t sleep_ramdisk(const char* ramdisk_path, uint64_t block_count) { in sleep_ramdisk() argument
181 fbl::unique_fd fd(open(ramdisk_path, O_RDWR)); in sleep_ramdisk()
189 fprintf(stderr, "Could not set ramdisk interrupt on path %s: %ld\n", ramdisk_path, r); in sleep_ramdisk()
195 zx_status_t wake_ramdisk(const char* ramdisk_path) { in wake_ramdisk() argument
196 fbl::unique_fd fd(open(ramdisk_path, O_RDWR)); in wake_ramdisk()
211 zx_status_t get_ramdisk_blocks(const char* ramdisk_path, ramdisk_blk_counts_t* counts) { in get_ramdisk_blocks() argument
212 fbl::unique_fd fd(open(ramdisk_path, O_RDWR)); in get_ramdisk_blocks()
225 zx_status_t destroy_ramdisk(const char* ramdisk_path) { in destroy_ramdisk() argument
226 fbl::unique_fd ramdisk(open(ramdisk_path, O_RDWR)); in destroy_ramdisk()
/system/uapp/iotime/
A Diotime.c87 char ramdisk_path[PATH_MAX]; in make_ramdisk() local
88 if (create_ramdisk(512, blocks / 512, ramdisk_path) != ZX_OK) { in make_ramdisk()
92 return open(ramdisk_path, O_RDWR); in make_ramdisk()
/system/utest/fs/
A Dfilesystems.cpp31 char* ramdisk_path; variable
73 ramdisk_path = nullptr; in setup_fs_test()
83 ramdisk_path = test_disk_path; in setup_fs_test()
137 ramdisk_path = fvm_disk_path; in setup_fs_test()
A Dfilesystems.h44 extern char* ramdisk_path;
A Dtest-minfs.cpp481 ASSERT_EQ(sleep_ramdisk(ramdisk_path, 0), 0); in TestUnlinkFail()
498 ASSERT_EQ(wake_ramdisk(ramdisk_path), 0); in TestUnlinkFail()
/system/utest/ramdisk/
A Dramdisk.cpp48 char ramdisk_path[PATH_MAX]; in GetRamdisk() local
56 int fd = open(ramdisk_path, O_RDWR); in GetRamdisk()
183 char ramdisk_path[PATH_MAX]; in RamdiskTestVmo() local
186 fbl::unique_fd fd(open(ramdisk_path, O_RDWR)); in RamdiskTestVmo()
214 char ramdisk_path[PATH_MAX]; in RamdiskTestFilesystem() local
215 ASSERT_EQ(create_ramdisk(PAGE_SIZE / 2, 512, ramdisk_path), ZX_OK); in RamdiskTestFilesystem()
217 int fd = open(ramdisk_path, O_RDWR); in RamdiskTestFilesystem()
222 const char* name_end = strrchr(ramdisk_path, '/'); in RamdiskTestFilesystem()
298 char ramdisk_path[PATH_MAX]; in RamdiskTestRebind() local
301 int fd = open(ramdisk_path, O_RDWR); in RamdiskTestRebind()
[all …]
/system/utest/blobfs/
A Dblobfs.cpp425 char* ramdisk_path; in ToggleSleep() local
427 ramdisk_path = ramdisk_path_; in ToggleSleep()
429 ramdisk_path = fvm_path_; in ToggleSleep()
434 ASSERT_EQ(wake_ramdisk(ramdisk_path), ZX_OK); in ToggleSleep()
437 ASSERT_EQ(sleep_ramdisk(ramdisk_path, blk_count), ZX_OK); in ToggleSleep()

Completed in 36 milliseconds