/openbmc/qemu/tests/qtest/ |
H A D | aspeed_smc-test.c | 37 fd = g_file_open_tmp("qtest.m25p80.n25q256a.XXXXXX", &data->tmp_path, NULL); in test_palmetto_bmc() 45 data->tmp_path); in test_palmetto_bmc() 84 &data->tmp_path, NULL); in test_ast2500_evb() 92 data->tmp_path); in test_ast2500_evb() 127 &data->tmp_path, NULL); in test_ast2600_evb() 135 data->tmp_path); in test_ast2600_evb() 170 &data->tmp_path, NULL); in test_ast1030_evb() 178 data->tmp_path); in test_ast1030_evb() 227 unlink(palmetto_data.tmp_path); in main() 228 unlink(ast2500_evb_data.tmp_path); in main() [all …]
|
H A D | tpm-tis-test.c | 30 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 D | tpm-tis-device-test.c | 34 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 D | pnv-spi-seeprom-test.c | 81 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 D | ast2700-smc-test.c | 21 &data->tmp_path, NULL); in test_ast2700_evb() 29 data->tmp_path); in test_ast2700_evb() 69 unlink(ast2700_evb_data.tmp_path); in main()
|
H A D | ide-test.c | 125 static char *tmp_path[2]; variable 315 tmp_path[0], "testdisk", "version"); in test_bmdma_setup() 577 tmp_path[0]); in test_specify() 619 tmp_path[0], "testdisk", "version"); in test_identify() 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() 974 "-device ide-cd,drive=sr0,bus=ide.0", tmp_path[0]); in cdrom_pio_impl() 1060 "-device ide-cd,drive=sr0,bus=ide.0", tmp_path[0]); in test_cdrom_dma() [all …]
|
H A D | bios-tables-test.c | 1519 char *tmp_path = g_dir_make_tmp(tmp_dir_name, NULL); in test_acpi_tcg_tpm() local 1532 test.addr->u.q_unix.path = g_build_filename(tmp_path, "sock", NULL); in test_acpi_tcg_tpm() 1556 g_rmdir(tmp_path); in test_acpi_tcg_tpm() 1558 g_free(tmp_path); in test_acpi_tcg_tpm() 2037 gchar *tmp_path = g_dir_make_tmp("qemu-test-erst.XXXXXX", NULL); in test_acpi_erst() local 2047 " -device acpi-erst,memdev=erstnvram", tmp_path); in test_acpi_erst() 2051 g_assert(g_rmdir(tmp_path) == 0); in test_acpi_erst() 2052 g_free(tmp_path); in test_acpi_erst() 2067 gchar *tmp_path = g_dir_make_tmp("qemu-test-erst.XXXXXX", NULL); in test_acpi_microvm_acpi_erst() local 2078 " -device acpi-erst,memdev=erstnvram", tmp_path); in test_acpi_microvm_acpi_erst() [all …]
|
H A D | virtio-scsi-test.c | 271 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 D | tpm-crb-test.c | 143 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 D | ahci-test.c | 44 static char *tmp_path; variable 188 s = ahci_boot(cli, tmp_path, imgfmt, "testdisk", "version"); in ahci_boot() 1114 tmp_path, imgfmt); in test_flush_retry() 1138 "-drive if=ide,file=%s,format=%s ", tmp_path, imgfmt); in test_migrate_sanity() 1141 "-incoming %s", tmp_path, imgfmt, uri); in test_migrate_sanity() 1164 imgfmt, tmp_path); in ahci_migrate_simple() 1167 "-incoming %s", imgfmt, tmp_path, uri); 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() [all …]
|
H A D | tpm-tis-i2c-test.c | 604 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 D | aspeed-smc-utils.h | 77 char *tmp_path; member
|
H A D | virtio-blk-test.c | 776 char *tmp_path = drive_create(); in virtio_blk_test_setup() local 783 tmp_path); in virtio_blk_test_setup()
|
/openbmc/qemu/tests/unit/ |
H A D | test-logging.c | 100 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 D | test-char.c | 490 gchar *tmp_path = g_dir_make_tmp("qemu-test-char.XXXXXX", NULL); in char_pipe_test() local 491 gchar *tmp, *in, *out, *pipe = g_build_filename(tmp_path, "pipe", NULL); in char_pipe_test() 545 g_assert(g_rmdir(tmp_path) == 0); in char_pipe_test() 548 g_free(tmp_path); in char_pipe_test() 1257 char *tmp_path = g_dir_make_tmp("qemu-test-char.XXXXXX", NULL); in char_file_fifo_test() local 1258 char *fifo = g_build_filename(tmp_path, "fifo", NULL); in char_file_fifo_test() 1259 char *out = g_build_filename(tmp_path, "out", NULL); in char_file_fifo_test() 1305 g_rmdir(tmp_path); in char_file_fifo_test() 1306 g_free(tmp_path); in char_file_fifo_test() 1312 char *tmp_path = g_dir_make_tmp("qemu-test-char.XXXXXX", NULL); in char_file_test_internal() local [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
H A D | scp.py | 18 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 D | clamav.py | 15 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 D | suricata.py | 15 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 D | parsec.py | 34 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 D | virtio_blk_fuzz.c | 174 char *tmp_path = drive_create(); in virtio_blk_test_setup() local 179 tmp_path); in virtio_blk_test_setup()
|
/openbmc/qemu/hw/core/ |
H A D | eif.c | 156 static bool get_tmp_file(const char *template, char **tmp_path, Error **errp) in get_tmp_file() argument 160 *tmp_path = NULL; in get_tmp_file() 161 tmp_fd = g_file_open_tmp(template, tmp_path, NULL); in get_tmp_file() 162 if (tmp_fd < 0 || *tmp_path == NULL) { in get_tmp_file()
|
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/bastille/files/ |
H A D | HPSpecific.pm | 1306 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 D | 0001-corestripper-Fix-uninitialized-warning.patch | 34 char *tmp_path;
|
/openbmc/linux/security/apparmor/ |
H A D | mount.c | 544 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 D | kernel.bbclass | 303 tmp_path="" 309 tmp_path=$tmp_path" "$imageType"#"$linkpath"#"$realpath 312 tmp_path=$tmp_path" "$imageType"##" 318 for tp in $tmp_path ; do
|