Lines Matching refs:tdev
887 static struct tst_device tdev; variable
967 tmpfs_size = tdev.size; in limit_tmpfs_mount_size()
987 return tdev.dev; in get_device_name()
996 SAFE_MKFS(tdev.dev, tdev.fs_type, tst_test->dev_fs_opts, in prepare_device()
1001 prepare_and_mount_ro_fs(tdev.dev, tst_test->mntpoint, in prepare_device()
1002 tdev.fs_type); in prepare_device()
1008 buf, sizeof(buf), tdev.fs_type); in prepare_device()
1010 SAFE_MOUNT(get_device_name(tdev.fs_type), tst_test->mntpoint, in prepare_device()
1011 tdev.fs_type, tst_test->mnt_flags, mnt_data); in prepare_device()
1131 tdev.dev = tst_acquire_device_(NULL, tst_test->dev_min_size); in do_setup()
1133 if (!tdev.dev) in do_setup()
1136 tdev.size = tst_get_device_size(tdev.dev); in do_setup()
1138 tst_device = &tdev; in do_setup()
1141 tdev.fs_type = tst_test->dev_fs_type; in do_setup()
1143 tdev.fs_type = tst_dev_fs_type(); in do_setup()
1207 if (tst_test->needs_device && tdev.dev) in do_cleanup()
1208 tst_release_device(tdev.dev); in do_cleanup()
1501 tdev.fs_type = filesystems[i]; in run_tcases_per_fs()