Home
last modified time | relevance | path

Searched refs:mapped_file (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/staging/rtl8192u/
H A Dr819xU_firmware.c204 u8 *mapped_file = NULL; in init_firmware() local
255 mapped_file = pfirmware->firmware_buf; in init_firmware()
260 mapped_file = pfirmware->firmware_buf; in init_firmware()
266 mapped_file = pfirmware->firmware_buf; in init_firmware()
277 rt_status = fw_download_code(dev, mapped_file, file_length); in init_firmware()
/openbmc/qemu/hw/i386/
H A Dx86-common.c708 GMappedFile *mapped_file; in x86_load_linux() local
713 mapped_file = g_mapped_file_new(initrd_filename, false, &gerr); in x86_load_linux()
714 if (!mapped_file) { in x86_load_linux()
719 x86ms->initrd_mapped_file = mapped_file; in x86_load_linux()
721 initrd_data = g_mapped_file_get_contents(mapped_file); in x86_load_linux()
722 initrd_size = g_mapped_file_get_length(mapped_file); in x86_load_linux()
849 GMappedFile *mapped_file; in x86_load_linux() local
859 mapped_file = g_mapped_file_new(initrd_filename, false, &gerr); in x86_load_linux()
860 if (!mapped_file) { in x86_load_linux()
865 x86ms->initrd_mapped_file = mapped_file; in x86_load_linux()
[all …]
/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/
H A Dr8192E_firmware.c132 u8 *mapped_file = NULL; in rtl92e_init_fw() local
171 mapped_file = pfirmware->blobs[i].data; in rtl92e_init_fw()
175 mapped_file, file_length); in rtl92e_init_fw()
/openbmc/qemu/include/hw/
H A Delf_ops.h.inc332 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 Dloader.h280 int rom_add_elf_program(const char *name, GMappedFile *mapped_file, void *data,
/openbmc/qemu/hw/core/
H A Dloader.c965 GMappedFile *mapped_file; member
982 if (rom->mapped_file) { in rom_free_data()
983 g_mapped_file_unref(rom->mapped_file); in rom_free_data()
984 rom->mapped_file = NULL; in rom_free_data()
1187 int rom_add_elf_program(const char *name, GMappedFile *mapped_file, void *data, in rom_add_elf_program() argument
1201 if (mapped_file && data) { in rom_add_elf_program()
1202 g_mapped_file_ref(mapped_file); in rom_add_elf_program()
1203 rom->mapped_file = mapped_file; in rom_add_elf_program()
/openbmc/linux/Documentation/admin-guide/cgroup-v1/
H A Dmemory.rst546 mapped_file # of bytes of mapped file (includes tmpfs/shmem)
601 'rss + mapped_file" will give you resident set size of cgroup.
604 mapped_file is accounted only when the memory cgroup is owner of page