Home
last modified time | relevance | path

Searched refs:note_head_size (Results 1 – 4 of 4) sorted by relevance

/qemu/target/i386/
H A Darch_dump.c340 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()
/qemu/target/s390x/
H A Darch_dump.c476 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()
/qemu/target/ppc/
H A Darch_dump.c258 int note_head_size; in cpu_get_note_size() local
261 note_head_size = sizeof(Elf_Nhdr); in cpu_get_note_size()
263 elf_note_size = elf_note_size + note_head_size + name_size + in cpu_get_note_size()
/qemu/dump/
H A Ddump.c916 uint64_t *note_head_size, in get_note_sizes() argument
936 if (note_head_size) { in get_note_sizes()
937 *note_head_size = note_head_sz; in get_note_sizes()
1737 uint64_t size, note_head_size, name_size, phys_base; in vmcoreinfo_update_phys_base() local
1746 get_note_sizes(s, s->guest_note, &note_head_size, &name_size, &size); in vmcoreinfo_update_phys_base()
1747 note_head_size = ROUND_UP(note_head_size, 4); in vmcoreinfo_update_phys_base()
1749 vmci = s->guest_note + note_head_size + ROUND_UP(name_size, 4); in vmcoreinfo_update_phys_base()
1869 uint64_t addr, note_head_size, name_size, desc_size; in dump_init() local
1873 note_head_size = dump_is_64bit(s) ? in dump_init()
1881 } else if (size < note_head_size || size > MAX_GUEST_NOTE_SIZE) { in dump_init()
[all …]