Lines Matching refs:notes_section
532 void *notes_section; in update_note_header_size_elf64() local
538 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf64()
539 if (!notes_section) in update_note_header_size_elf64()
541 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf64()
543 kfree(notes_section); in update_note_header_size_elf64()
546 nhdr_ptr = notes_section; in update_note_header_size_elf64()
559 kfree(notes_section); in update_note_header_size_elf64()
718 void *notes_section; in update_note_header_size_elf32() local
724 notes_section = kmalloc(max_sz, GFP_KERNEL); in update_note_header_size_elf32()
725 if (!notes_section) in update_note_header_size_elf32()
727 rc = elfcorehdr_read_notes(notes_section, max_sz, &offset); in update_note_header_size_elf32()
729 kfree(notes_section); in update_note_header_size_elf32()
732 nhdr_ptr = notes_section; in update_note_header_size_elf32()
745 kfree(notes_section); in update_note_header_size_elf32()