Lines Matching refs:tdev
758 static struct tst_device tdev; variable
830 SAFE_MKFS(tdev.dev, tdev.fs_type, tst_test->dev_fs_opts, in prepare_device()
835 prepare_and_mount_ro_fs(tdev.dev, tst_test->mntpoint, in prepare_device()
836 tdev.fs_type); in prepare_device()
841 SAFE_MOUNT(tdev.dev, tst_test->mntpoint, tdev.fs_type, in prepare_device()
941 tdev.dev = tst_acquire_device_(NULL, tst_test->dev_min_size); in do_setup()
943 if (!tdev.dev) in do_setup()
946 tst_device = &tdev; in do_setup()
949 tdev.fs_type = tst_test->dev_fs_type; in do_setup()
951 tdev.fs_type = tst_dev_fs_type(); in do_setup()
1000 if (tst_test->needs_device && tdev.dev) in do_cleanup()
1001 tst_release_device(tdev.dev); in do_cleanup()
1279 tdev.fs_type = filesystems[i]; in run_tcases_per_fs()