Lines Matching refs:notes_section
734 void *notes_section; in update_note_header_size_elf64() local
740 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf64()
741 if (!notes_section) in update_note_header_size_elf64()
743 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf64()
745 kfree(notes_section); in update_note_header_size_elf64()
748 nhdr_ptr = notes_section; in update_note_header_size_elf64()
761 kfree(notes_section); in update_note_header_size_elf64()
925 void *notes_section; in update_note_header_size_elf32() local
931 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf32()
932 if (!notes_section) in update_note_header_size_elf32()
934 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf32()
936 kfree(notes_section); in update_note_header_size_elf32()
939 nhdr_ptr = notes_section; in update_note_header_size_elf32()
952 kfree(notes_section); in update_note_header_size_elf32()