Home | History | Annotate | Download | only in qemu

Lines Matching defs:data_dir

247 static const char *data_dir;
1591 qemu_find_file_with_subdir(const char* data_dir, const char* subdir, const char* name)
1593 int len = strlen(data_dir) + strlen(name) + strlen(subdir) + 2;
1596 snprintf(buf, len, "%s/%s%s", data_dir, subdir, name);
1625 buf = qemu_find_file_with_subdir(data_dir, subdir, name);
1629 * SDK installation. NOTE: data_dir is really $bindir. */
1631 buf = qemu_find_file_with_subdir(data_dir, "lib/pc-bios/", name);
1634 buf = qemu_find_file_with_subdir(data_dir, "../usr/share/pc-bios/", name);
1637 buf = qemu_find_file_with_subdir(data_dir, "../../../prebuilts/qemu-kernel/x86/pc-bios/", name);
2511 data_dir = optarg;
3025 /* If no data_dir is specified then try to find it relative to the
3027 if (!data_dir) {
3028 data_dir = find_datadir(argv[0]);
3031 if (!data_dir) {
3032 data_dir = CONFIG_QEMU_SHAREDIR;