Searched refs:mapped_file (Results 1 – 4 of 4) sorted by relevance
/qemu/hw/i386/ |
H A D | x86-common.c | 715 GMappedFile *mapped_file; in x86_load_linux() local 720 mapped_file = g_mapped_file_new(initrd_filename, false, &gerr); in x86_load_linux() 721 if (!mapped_file) { in x86_load_linux() 726 x86ms->initrd_mapped_file = mapped_file; in x86_load_linux() 728 initrd_data = g_mapped_file_get_contents(mapped_file); in x86_load_linux() 729 initrd_size = g_mapped_file_get_length(mapped_file); in x86_load_linux() 856 GMappedFile *mapped_file; in x86_load_linux() local 866 mapped_file = g_mapped_file_new(initrd_filename, false, &gerr); in x86_load_linux() 867 if (!mapped_file) { in x86_load_linux() 872 x86ms->initrd_mapped_file = mapped_file; in x86_load_linux() [all …]
|
/qemu/include/hw/ |
H A D | elf_ops.h.inc | 332 GMappedFile *mapped_file = NULL; 417 mapped_file = g_mapped_file_new_from_fd(fd, true, NULL); 418 if (!mapped_file) { 431 if (g_mapped_file_get_length(mapped_file) < 436 data = (uint8_t *)g_mapped_file_get_contents(mapped_file); 546 * 'mapped_file'. 548 rom_add_elf_program(label, mapped_file, data, file_size, 590 if (g_mapped_file_get_length(mapped_file) < 595 data = (uint8_t *)g_mapped_file_get_contents(mapped_file); 622 if (mapped_file) { [all …]
|
H A D | loader.h | 268 int rom_add_elf_program(const char *name, GMappedFile *mapped_file, void *data,
|
/qemu/hw/core/ |
H A D | loader.c | 944 GMappedFile *mapped_file; member 961 if (rom->mapped_file) { in rom_free_data() 962 g_mapped_file_unref(rom->mapped_file); in rom_free_data() 963 rom->mapped_file = NULL; in rom_free_data() 1168 int rom_add_elf_program(const char *name, GMappedFile *mapped_file, void *data, in rom_add_elf_program() argument 1182 if (mapped_file && data) { in rom_add_elf_program() 1183 g_mapped_file_ref(mapped_file); in rom_add_elf_program() 1184 rom->mapped_file = mapped_file; in rom_add_elf_program()
|