Lines Matching refs:ts
33 const TestState *ts = data; in tpm_tis_swtpm_test() local
35 tpm_test_swtpm_test(ts->src_tpm_path, tpm_tis_transfer, in tpm_tis_swtpm_test()
41 const TestState *ts = data; in tpm_tis_swtpm_migration_test() local
43 tpm_test_swtpm_migration_test(ts->src_tpm_path, ts->dst_tpm_path, ts->uri, in tpm_tis_swtpm_migration_test()
50 TestState ts = { 0 }; in main() local
52 ts.src_tpm_path = g_dir_make_tmp("qemu-tpm-tis-swtpm-test.XXXXXX", NULL); in main()
53 ts.dst_tpm_path = g_dir_make_tmp("qemu-tpm-tis-swtpm-test.XXXXXX", NULL); in main()
54 ts.uri = g_strdup_printf("unix:%s/migsocket", ts.src_tpm_path); in main()
59 qtest_add_data_func("/tpm/tis-swtpm/test", &ts, tpm_tis_swtpm_test); in main()
60 qtest_add_data_func("/tpm/tis-swtpm-migration/test", &ts, in main()
64 tpm_util_rmdir(ts.dst_tpm_path); in main()
65 g_free(ts.dst_tpm_path); in main()
66 tpm_util_rmdir(ts.src_tpm_path); in main()
67 g_free(ts.src_tpm_path); in main()
68 g_free(ts.uri); in main()