Lines Matching refs:notes_section
731 void *notes_section; in update_note_header_size_elf64() local
737 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf64()
738 if (!notes_section) in update_note_header_size_elf64()
740 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf64()
742 kfree(notes_section); in update_note_header_size_elf64()
745 nhdr_ptr = notes_section; in update_note_header_size_elf64()
758 kfree(notes_section); in update_note_header_size_elf64()
922 void *notes_section; in update_note_header_size_elf32() local
928 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf32()
929 if (!notes_section) in update_note_header_size_elf32()
931 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf32()
933 kfree(notes_section); in update_note_header_size_elf32()
936 nhdr_ptr = notes_section; in update_note_header_size_elf32()
949 kfree(notes_section); in update_note_header_size_elf32()