Lines Matching refs:notes_section
684 void *notes_section; in update_note_header_size_elf64() local
690 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf64()
691 if (!notes_section) in update_note_header_size_elf64()
693 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf64()
695 kfree(notes_section); in update_note_header_size_elf64()
698 nhdr_ptr = notes_section; in update_note_header_size_elf64()
711 kfree(notes_section); in update_note_header_size_elf64()
875 void *notes_section; in update_note_header_size_elf32() local
881 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf32()
882 if (!notes_section) in update_note_header_size_elf32()
884 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf32()
886 kfree(notes_section); in update_note_header_size_elf32()
889 nhdr_ptr = notes_section; in update_note_header_size_elf32()
902 kfree(notes_section); in update_note_header_size_elf32()