Home
last modified time | relevance | path

Searched refs:tmp_path (Results 1 – 25 of 25) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-logging.c100 gchar const *tmp_path = data; in test_parse_path() local
103 set_log_path_tmp(tmp_path, "qemu.log", &error_abort); in test_parse_path()
104 set_log_path_tmp(tmp_path, "qemu-%d.log", &error_abort); in test_parse_path()
105 set_log_path_tmp(tmp_path, "qemu.log.%d", &error_abort); in test_parse_path()
107 set_log_path_tmp(tmp_path, "qemu-%d%d.log", &err); in test_parse_path()
196 g_autofree gchar *tmp_path = g_dir_make_tmp("qemu-test-logging.XXXXXX", NULL); in main() local
200 g_assert_nonnull(tmp_path); in main()
203 g_test_add_data_func("/logging/parse_path", tmp_path, test_parse_path); in main()
205 tmp_path, test_logfile_write); in main()
207 tmp_path, test_logfile_lock); in main()
[all …]
H A Dtest-char.c523 g_assert(g_rmdir(tmp_path) == 0); in char_pipe_test()
526 g_free(tmp_path); in char_pipe_test()
1236 char *fifo = g_build_filename(tmp_path, "fifo", NULL); in char_file_fifo_test()
1237 char *out = g_build_filename(tmp_path, "out", NULL); in char_file_fifo_test()
1283 g_rmdir(tmp_path); in char_file_fifo_test()
1284 g_free(tmp_path); in char_file_fifo_test()
1305 out = g_build_filename(tmp_path, "out", NULL); in char_file_test_internal()
1323 g_rmdir(tmp_path); in char_file_test_internal()
1324 g_free(tmp_path); in char_file_test_internal()
1450 g_rmdir(tmp_path); in char_hotswap_test()
[all …]
/openbmc/qemu/tests/qtest/
H A Dtpm-tis-device-test.c34 char *tmp_path = g_dir_make_tmp("qemu-tpm-tis-device-test.XXXXXX", NULL); in main() local
45 test.addr->u.q_unix.path = g_build_filename(tmp_path, "sock", NULL); in main()
84 g_rmdir(tmp_path); in main()
85 g_free(tmp_path); in main()
H A Dtpm-tis-test.c30 char *args, *tmp_path = g_dir_make_tmp("qemu-tpm-tis-test.XXXXXX", NULL); in main() local
39 test.addr->u.q_unix.path = g_build_filename(tmp_path, "sock", NULL); in main()
77 g_rmdir(tmp_path); in main()
78 g_free(tmp_path); in main()
H A Dpnv-spi-seeprom-test.c81 g_autofree char *tmp_path = NULL; in test_spi_seeprom() local
86 fd = g_file_open_tmp("qtest-seeprom-XXXXXX", &tmp_path, NULL); in test_spi_seeprom()
96 "drive=pib_spic2", tmp_path); in test_spi_seeprom()
99 unlink(tmp_path); in test_spi_seeprom()
H A Dide-test.c125 static char *tmp_path[2]; variable
315 tmp_path[0], "testdisk", "version"); in test_bmdma_setup()
577 tmp_path[0]); in test_specify()
671 tmp_path[0], tmp_path[1]); in test_diagnostic()
737 tmp_path[0]); in test_flush()
788 debug_path, tmp_path[0]); in test_pci_retry_flush()
967 fh = fopen(tmp_path[0], "wb+"); in cdrom_pio_impl()
1068 fh = fopen(tmp_path[0], "wb+"); in test_cdrom_dma()
1113 fd = g_mkstemp(tmp_path[i]); in main()
1147 unlink(tmp_path[i]); in main()
[all …]
H A Dbios-tables-test.c1519 char *tmp_path = g_dir_make_tmp(tmp_dir_name, NULL); in test_acpi_tcg_tpm() local
1556 g_rmdir(tmp_path); in test_acpi_tcg_tpm()
1558 g_free(tmp_path); in test_acpi_tcg_tpm()
1930 g_assert(g_rmdir(tmp_path) == 0); in test_acpi_erst()
1931 g_free(tmp_path); in test_acpi_erst()
1960 g_assert(g_rmdir(tmp_path) == 0); in test_acpi_microvm_acpi_erst()
1961 g_free(tmp_path); in test_acpi_microvm_acpi_erst()
2083 tmp_path, tmp_path, tmp_path, tmp_path, in test_acpi_q35_cxl()
2084 tmp_path, tmp_path, tmp_path, tmp_path); in test_acpi_q35_cxl()
2088 g_assert(g_rmdir(tmp_path) == 0); in test_acpi_q35_cxl()
[all …]
H A Dvirtio-scsi-test.c271 g_autofree char *tmp_path = NULL; in test_iothread_attach_node() local
285 fd = g_file_open_tmp("qtest.XXXXXX", &tmp_path, NULL); in test_iothread_attach_node()
295 mkqcow2(tmp_path, 64); in test_iothread_attach_node()
303 tmp_path); in test_iothread_attach_node()
311 unlink(tmp_path); in test_iothread_attach_node()
H A Dtpm-crb-test.c143 char *args, *tmp_path = g_dir_make_tmp("qemu-tpm-crb-test.XXXXXX", NULL); in main() local
152 test.addr->u.q_unix.path = g_build_filename(tmp_path, "sock", NULL); in main()
176 g_rmdir(tmp_path); in main()
177 g_free(tmp_path); in main()
H A Dahci-test.c44 static char *tmp_path; variable
1114 tmp_path, imgfmt); in test_flush_retry()
1164 imgfmt, tmp_path); in ahci_migrate_simple()
1226 tmp_path, imgfmt); in ahci_halted_io_test()
1292 tmp_path, imgfmt); in ahci_migrate_halted_io()
1300 tmp_path, imgfmt, uri); in ahci_migrate_halted_io()
1973 tmp_path = g_strdup_printf("%s/qtest.XXXXXX", base); in main()
1974 fd = g_mkstemp(tmp_path); in main()
1979 mkqcow2(tmp_path, TEST_IMAGE_SIZE_MB_LARGE); in main()
2050 unlink(tmp_path); in main()
[all …]
H A Dtpm-tis-i2c-test.c604 char *tmp_path = g_dir_make_tmp("qemu-tpm-tis-i2c-test.XXXXXX", NULL); in main() local
613 test.addr->u.q_unix.path = g_build_filename(tmp_path, "sock", NULL); in main()
659 g_rmdir(tmp_path); in main()
660 g_free(tmp_path); in main()
H A Daspeed_smc-test.c613 g_autofree char *tmp_path = NULL; in main() local
619 fd = g_file_open_tmp("qtest.m25p80.XXXXXX", &tmp_path, NULL); in main()
627 tmp_path); in main()
647 unlink(tmp_path); in main()
H A Dufs-test.c562 char *tmp_path = drive_create(); in ufs_blk_test_setup() local
567 tmp_path); in ufs_blk_test_setup()
H A Dvirtio-blk-test.c776 char *tmp_path = drive_create(); in virtio_blk_test_setup() local
783 tmp_path); in virtio_blk_test_setup()
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/
H A Dscp.py18 cls.tmp_fd, cls.tmp_path = mkstemp()
25 os.remove(cls.tmp_path)
32 (status, output) = self.target.copyTo(self.tmp_path, dst)
/openbmc/openbmc/meta-security/lib/oeqa/runtime/cases/
H A Dclamav.py15 cls.tmp_fd, cls.tmp_path = mkstemp()
27 os.remove(cls.tmp_path)
42 (status, output) = self.tc.target.copyTo(self.tmp_path, dst)
H A Dsuricata.py15 cls.tmp_fd, cls.tmp_path = mkstemp()
27 os.remove(cls.tmp_path)
41 (status, output) = self.tc.target.copyTo(self.tmp_path, dst)
/openbmc/openbmc/meta-security/meta-parsec/lib/oeqa/runtime/cases/
H A Dparsec.py34 tmp_fd, tmp_path = mkstemp()
38 (status, output) = self.target.copyTo(tmp_path, "%s-%s" % (self.toml_file, provider))
41 os.remove(tmp_path)
/openbmc/qemu/tests/qtest/fuzz/
H A Dvirtio_blk_fuzz.c174 char *tmp_path = drive_create(); in virtio_blk_test_setup() local
179 tmp_path); in virtio_blk_test_setup()
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/bastille/files/
H A DHPSpecific.pm1306 my %tmp_path;
1310 if ($tmpdir ne "" && ! $tmp_path{$tmpdir}) {
1311 $tmp_path{$tmpdir}++;
1314 return keys %tmp_path;
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/minicoredumper/files/
H A D0001-corestripper-Fix-uninitialized-warning.patch34 char *tmp_path;
/openbmc/linux/security/apparmor/
H A Dmount.c544 struct path tmp_path, *dev_path = NULL; in aa_new_mount() local
563 error = kern_path(dev_name, LOOKUP_FOLLOW, &tmp_path); in aa_new_mount()
566 dev_path = &tmp_path; in aa_new_mount()
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dkernel.bbclass300 tmp_path=""
306 tmp_path=$tmp_path" "$imageType"#"$linkpath"#"$realpath
309 tmp_path=$tmp_path" "$imageType"##"
315 for tp in $tmp_path ; do
/openbmc/linux/fs/ocfs2/
H A Dalloc.c3149 struct ocfs2_path *tmp_path = NULL, *restart_path = NULL; in ocfs2_rotate_tree_left() local
3230 tmp_path = restart_path; in ocfs2_rotate_tree_left()
3234 tmp_path, dealloc, in ocfs2_rotate_tree_left()
3241 ocfs2_free_path(tmp_path); in ocfs2_rotate_tree_left()
3242 tmp_path = NULL; in ocfs2_rotate_tree_left()
3249 ocfs2_free_path(tmp_path); in ocfs2_rotate_tree_left()
/openbmc/linux/fs/btrfs/
H A Dsend.c1002 struct btrfs_path *tmp_path; in iterate_inode_ref() local
1021 tmp_path = alloc_path_for_send(); in iterate_inode_ref()
1022 if (!tmp_path) { in iterate_inode_ref()
1057 start = btrfs_ref_to_path(root, tmp_path, name_len, in iterate_inode_ref()
1070 start = btrfs_ref_to_path(root, tmp_path, in iterate_inode_ref()
1104 btrfs_free_path(tmp_path); in iterate_inode_ref()