Lines Matching refs:notes_buf
790 static int __init copy_notes_elf64(const Elf64_Ehdr *ehdr_ptr, char *notes_buf) in copy_notes_elf64() argument
802 rc = elfcorehdr_read_notes(notes_buf, phdr_ptr->p_memsz, in copy_notes_elf64()
806 notes_buf += phdr_ptr->p_memsz; in copy_notes_elf64()
814 char **notes_buf, size_t *notes_sz) in merge_note_headers_elf64() argument
833 *notes_buf = vmcore_alloc_buf(*notes_sz); in merge_note_headers_elf64()
834 if (!*notes_buf) in merge_note_headers_elf64()
837 rc = copy_notes_elf64(ehdr_ptr, *notes_buf); in merge_note_headers_elf64()
981 static int __init copy_notes_elf32(const Elf32_Ehdr *ehdr_ptr, char *notes_buf) in copy_notes_elf32() argument
993 rc = elfcorehdr_read_notes(notes_buf, phdr_ptr->p_memsz, in copy_notes_elf32()
997 notes_buf += phdr_ptr->p_memsz; in copy_notes_elf32()
1005 char **notes_buf, size_t *notes_sz) in merge_note_headers_elf32() argument
1024 *notes_buf = vmcore_alloc_buf(*notes_sz); in merge_note_headers_elf32()
1025 if (!*notes_buf) in merge_note_headers_elf32()
1028 rc = copy_notes_elf32(ehdr_ptr, *notes_buf); in merge_note_headers_elf32()