Lines Matching refs:data_dir
253 static const char *data_dir; variable
2230 qemu_find_file_with_subdir(const char* data_dir, const char* subdir, const char* name) in qemu_find_file_with_subdir() argument
2232 int len = strlen(data_dir) + strlen(name) + strlen(subdir) + 2; in qemu_find_file_with_subdir()
2235 snprintf(buf, len, "%s/%s%s", data_dir, subdir, name); in qemu_find_file_with_subdir()
2264 buf = qemu_find_file_with_subdir(data_dir, subdir, name); in qemu_find_file()
2270 buf = qemu_find_file_with_subdir(data_dir, "lib/pc-bios/", name); in qemu_find_file()
2273 buf = qemu_find_file_with_subdir(data_dir, "../usr/share/pc-bios/", name); in qemu_find_file()
2276 … buf = qemu_find_file_with_subdir(data_dir, "../../../prebuilts/qemu-kernel/x86/pc-bios/", name); in qemu_find_file()
2951 data_dir = optarg; in main()
3514 if (!data_dir) { in main()
3515 data_dir = find_datadir(argv[0]); in main()
3518 if (!data_dir) { in main()
3519 data_dir = CONFIG_QEMU_SHAREDIR; in main()