Home
last modified time | relevance | path

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

/qemu/target/s390x/
H A Darch_dump.c230 g_autofree Note *notep = NULL; in s390x_write_elf64_notes() local
235 assert(strlen(note_name) < sizeof(notep->name)); in s390x_write_elf64_notes()
243 note_size = sizeof(Note) - sizeof(notep->contents) + content_size; in s390x_write_elf64_notes()
246 g_free(notep); in s390x_write_elf64_notes()
247 notep = g_malloc(note_size); in s390x_write_elf64_notes()
251 memset(notep, 0, note_size); in s390x_write_elf64_notes()
254 notep->hdr.n_descsz = cpu_to_be32(content_size); in s390x_write_elf64_notes()
255 notep->hdr.n_namesz = cpu_to_be32(strlen(note_name) + 1); in s390x_write_elf64_notes()
256 g_strlcpy(notep->name, note_name, sizeof(notep->name)); in s390x_write_elf64_notes()
259 (*nf->note_contents_func)(notep, cpu, id); in s390x_write_elf64_notes()
[all …]