Lines Matching refs:notes_section
711 void *notes_section; in update_note_header_size_elf64() local
717 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf64()
718 if (!notes_section) in update_note_header_size_elf64()
720 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf64()
722 kfree(notes_section); in update_note_header_size_elf64()
725 nhdr_ptr = notes_section; in update_note_header_size_elf64()
738 kfree(notes_section); in update_note_header_size_elf64()
902 void *notes_section; in update_note_header_size_elf32() local
908 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf32()
909 if (!notes_section) in update_note_header_size_elf32()
911 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf32()
913 kfree(notes_section); in update_note_header_size_elf32()
916 nhdr_ptr = notes_section; in update_note_header_size_elf32()
929 kfree(notes_section); in update_note_header_size_elf32()