Lines Matching refs:notes_section
754 void *notes_section; in update_note_header_size_elf64() local
760 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf64()
761 if (!notes_section) in update_note_header_size_elf64()
763 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf64()
765 kfree(notes_section); in update_note_header_size_elf64()
768 nhdr_ptr = notes_section; in update_note_header_size_elf64()
781 kfree(notes_section); in update_note_header_size_elf64()
945 void *notes_section; in update_note_header_size_elf32() local
951 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf32()
952 if (!notes_section) in update_note_header_size_elf32()
954 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf32()
956 kfree(notes_section); in update_note_header_size_elf32()
959 nhdr_ptr = notes_section; in update_note_header_size_elf32()
972 kfree(notes_section); in update_note_header_size_elf32()