Lines Matching refs:notes_section
226 void *notes_section; in merge_note_headers_elf64() local
234 notes_section = kmalloc(max_sz, GFP_KERNEL); in merge_note_headers_elf64()
235 if (!notes_section) in merge_note_headers_elf64()
237 rc = read_from_oldmem(notes_section, max_sz, &offset, 0); in merge_note_headers_elf64()
239 kfree(notes_section); in merge_note_headers_elf64()
242 nhdr_ptr = notes_section; in merge_note_headers_elf64()
256 kfree(notes_section); in merge_note_headers_elf64()
263 kfree(notes_section); in merge_note_headers_elf64()
307 void *notes_section; in merge_note_headers_elf32() local
315 notes_section = kmalloc(max_sz, GFP_KERNEL); in merge_note_headers_elf32()
316 if (!notes_section) in merge_note_headers_elf32()
318 rc = read_from_oldmem(notes_section, max_sz, &offset, 0); in merge_note_headers_elf32()
320 kfree(notes_section); in merge_note_headers_elf32()
323 nhdr_ptr = notes_section; in merge_note_headers_elf32()
337 kfree(notes_section); in merge_note_headers_elf32()
344 kfree(notes_section); in merge_note_headers_elf32()