Home
last modified time | relevance | path

Searched refs:note_size (Results 1 – 10 of 10) sorted by relevance

/qemu/target/i386/
A Darch_dump.c50 int descsz, note_size, name_size = 5; in x86_64_write_elf64_note() local
85 note = g_malloc0(note_size); in x86_64_write_elf64_note()
97 ret = f(note, note_size, s); in x86_64_write_elf64_note()
156 int descsz, note_size, name_size = 5; in x86_write_elf64_note() local
163 note = g_malloc0(note_size); in x86_write_elf64_note()
173 ret = f(note, note_size, s); in x86_write_elf64_note()
210 int descsz, note_size, name_size = 5; in x86_cpu_write_elf32_note() local
217 note = g_malloc0(note_size); in x86_cpu_write_elf32_note()
227 ret = f(note, note_size, s); in x86_cpu_write_elf32_note()
354 note = g_malloc0(note_size); in cpu_write_qemu_note()
[all …]
/qemu/target/riscv/
A Darch_dump.c192 size_t note_size; in cpu_get_note_size() local
195 note_size = RISCV64_PRSTATUS_NOTE_SIZE; in cpu_get_note_size()
197 note_size = RISCV32_PRSTATUS_NOTE_SIZE; in cpu_get_note_size()
200 return note_size * nr_cpus; in cpu_get_note_size()
/qemu/target/arm/
A Darch_dump.c448 size_t note_size; in cpu_get_note_size() local
451 note_size = AARCH64_PRSTATUS_NOTE_SIZE; in cpu_get_note_size()
452 note_size += AARCH64_PRFPREG_NOTE_SIZE; in cpu_get_note_size()
455 note_size += AARCH64_SVE_NOTE_SIZE(&cpu->env); in cpu_get_note_size()
459 note_size = ARM_PRSTATUS_NOTE_SIZE; in cpu_get_note_size()
461 note_size += ARM_VFP_NOTE_SIZE; in cpu_get_note_size()
465 return note_size * nr_cpus; in cpu_get_note_size()
/qemu/target/s390x/
A Darch_dump.c232 int note_size, prev_size = 0, content_size; in s390x_write_elf64_notes() local
243 note_size = sizeof(Note) - sizeof(notep->contents) + content_size; in s390x_write_elf64_notes()
245 if (prev_size < note_size) { in s390x_write_elf64_notes()
247 notep = g_malloc(note_size); in s390x_write_elf64_notes()
248 prev_size = note_size; in s390x_write_elf64_notes()
251 memset(notep, 0, note_size); in s390x_write_elf64_notes()
260 ret = f(notep, note_size, s); in s390x_write_elf64_notes()
/qemu/target/loongarch/
A Darch_dump.c156 size_t note_size = 0; in cpu_get_note_size() local
159 note_size = LOONGARCH_PRSTATUS_NOTE_SIZE + LOONGARCH_PRFPREG_NOTE_SIZE; in cpu_get_note_size()
162 return note_size * nr_cpus; in cpu_get_note_size()
/qemu/dump/
A Ddump.c272 phdr->p_filesz = cpu_to_dump64(s, s->note_size); in prepare_elf64_phdr_note()
273 phdr->p_memsz = cpu_to_dump64(s, s->note_size); in prepare_elf64_phdr_note()
328 phdr->p_filesz = cpu_to_dump32(s, s->note_size); in prepare_elf32_phdr_note()
329 phdr->p_memsz = cpu_to_dump32(s, s->note_size); in prepare_elf32_phdr_note()
1037 kh->note_size = cpu_to_dump32(s, s->note_size); in create_header32()
1046 s->note_buf = g_malloc0(s->note_size); in create_header32()
1055 s->note_size) < 0) { in create_header32()
1148 kh->note_size = cpu_to_dump64(s, s->note_size); in create_header64()
1157 s->note_buf = g_malloc0(s->note_size); in create_header64()
1167 s->note_size) < 0) { in create_header64()
[all …]
/qemu/include/sysemu/
A Ddump.h112 uint32_t note_size; /* header_version 4 and later */ member
131 uint64_t note_size; /* header_version 4 and later */ member
178 ssize_t note_size; member
/qemu/target/ppc/
A Darch_dump.c283 int note_size; in ppc_write_all_elf_notes() local
293 note_size = in ppc_write_all_elf_notes()
295 ret = f(&arg.note, note_size, s); in ppc_write_all_elf_notes()
/qemu/include/hw/
A Delf_ops.h.inc276 elf_word note_size,
303 if (elf_note_entry_offset > note_size) {
/qemu/linux-user/
A Delfload.c4361 size_t note_size; in elf_core_dump() local
4399 note_size = offset - note_offset; in elf_core_dump()
4435 fill_elf_note_phdr(hptr, note_size, note_offset); in elf_core_dump()

Completed in 43 milliseconds