Searched refs:note_head_size (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/target/i386/ |
H A D | arch_dump.c | 340 int descsz, note_size, name_size = 5, note_head_size; in cpu_write_qemu_note() local 348 note_head_size = sizeof(Elf32_Nhdr); in cpu_write_qemu_note() 350 note_head_size = sizeof(Elf64_Nhdr); in cpu_write_qemu_note() 352 note_size = (DIV_ROUND_UP(note_head_size, 4) + DIV_ROUND_UP(name_size, 4) + in cpu_write_qemu_note() 367 buf += ROUND_UP(note_head_size, 4); in cpu_write_qemu_note() 439 int note_head_size; in cpu_get_note_size() local 442 note_head_size = sizeof(Elf32_Nhdr); in cpu_get_note_size() 444 note_head_size = sizeof(Elf64_Nhdr); in cpu_get_note_size() 457 elf_note_size = ELF_NOTE_SIZE(note_head_size, name_size, elf_desc_size); in cpu_get_note_size() 458 qemu_note_size = ELF_NOTE_SIZE(note_head_size, name_size, qemu_desc_size); in cpu_get_note_size()
|
/openbmc/qemu/target/s390x/ |
H A D | arch_dump.c | 476 int note_head_size, content_size; in cpu_get_note_size() local 482 note_head_size = sizeof(Elf64_Nhdr); in cpu_get_note_size() 485 elf_note_size = elf_note_size + note_head_size + name_size + nf->contents_size; in cpu_get_note_size() 492 elf_note_size = elf_note_size + note_head_size + name_size + in cpu_get_note_size()
|
/openbmc/qemu/target/ppc/ |
H A D | arch_dump.c | 264 int note_head_size; in cpu_get_note_size() local 267 note_head_size = sizeof(Elf_Nhdr); in cpu_get_note_size() 269 elf_note_size = elf_note_size + note_head_size + name_size + in cpu_get_note_size()
|
/openbmc/qemu/dump/ |
H A D | dump.c | 920 uint64_t *note_head_size, in get_note_sizes() argument 940 if (note_head_size) { in get_note_sizes() 941 *note_head_size = note_head_sz; in get_note_sizes() 1741 uint64_t size, note_head_size, name_size, phys_base; in vmcoreinfo_update_phys_base() local 1750 get_note_sizes(s, s->guest_note, ¬e_head_size, &name_size, &size); in vmcoreinfo_update_phys_base() 1751 note_head_size = ROUND_UP(note_head_size, 4); in vmcoreinfo_update_phys_base() 1753 vmci = s->guest_note + note_head_size + ROUND_UP(name_size, 4); in vmcoreinfo_update_phys_base() 1873 uint64_t addr, note_head_size, name_size, desc_size; in dump_init() local 1877 note_head_size = dump_is_64bit(s) ? in dump_init() 1885 } else if (size < note_head_size || size > MAX_GUEST_NOTE_SIZE) { in dump_init() [all …]
|