Lines Matching refs:notes_section
748 void *notes_section; in update_note_header_size_elf64() local
754 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf64()
755 if (!notes_section) in update_note_header_size_elf64()
757 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf64()
759 kfree(notes_section); in update_note_header_size_elf64()
762 nhdr_ptr = notes_section; in update_note_header_size_elf64()
775 kfree(notes_section); in update_note_header_size_elf64()
939 void *notes_section; in update_note_header_size_elf32() local
945 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf32()
946 if (!notes_section) in update_note_header_size_elf32()
948 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf32()
950 kfree(notes_section); in update_note_header_size_elf32()
953 nhdr_ptr = notes_section; in update_note_header_size_elf32()
966 kfree(notes_section); in update_note_header_size_elf32()