Lines Matching refs:ts
35 const TestState *ts = data; in tpm_tis_swtpm_test() local
37 tpm_test_swtpm_test(ts->src_tpm_path, tpm_tis_transfer, in tpm_tis_swtpm_test()
43 const TestState *ts = data; in tpm_tis_swtpm_migration_test() local
45 tpm_test_swtpm_migration_test(ts->src_tpm_path, ts->dst_tpm_path, ts->uri, in tpm_tis_swtpm_migration_test()
53 TestState ts = { 0 }; in main() local
55 ts.src_tpm_path = g_dir_make_tmp("qemu-tpm-tis-device-swtpm-test.XXXXXX", in main()
57 ts.dst_tpm_path = g_dir_make_tmp("qemu-tpm-tis-device-swtpm-test.XXXXXX", in main()
59 ts.uri = g_strdup_printf("unix:%s/migsocket", ts.src_tpm_path); in main()
64 qtest_add_data_func("/tpm/tis-swtpm/test", &ts, tpm_tis_swtpm_test); in main()
65 qtest_add_data_func("/tpm/tis-swtpm-migration/test", &ts, in main()
69 tpm_util_rmdir(ts.dst_tpm_path); in main()
70 g_free(ts.dst_tpm_path); in main()
71 tpm_util_rmdir(ts.src_tpm_path); in main()
72 g_free(ts.src_tpm_path); in main()
73 g_free(ts.uri); in main()