Lines Matching refs:elfcorebuf
36 static char *elfcorebuf; variable
287 if (copy_to(buffer, elfcorebuf + *fpos, tsz, userbuf)) in __read_vmcore()
548 pfn = __pa(elfcorebuf + start) >> PAGE_SHIFT; in mmap_vmcore()
1155 free_pages((unsigned long)elfcorebuf, get_order(elfcorebuf_sz_orig)); in free_elfcorebuf()
1156 elfcorebuf = NULL; in free_elfcorebuf()
1192 elfcorebuf = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in parse_crash_elf64_headers()
1194 if (!elfcorebuf) in parse_crash_elf64_headers()
1197 rc = elfcorehdr_read(elfcorebuf, elfcorebuf_sz_orig, &addr); in parse_crash_elf64_headers()
1202 rc = merge_note_headers_elf64(elfcorebuf, &elfcorebuf_sz, in parse_crash_elf64_headers()
1206 rc = process_ptload_program_headers_elf64(elfcorebuf, elfcorebuf_sz, in parse_crash_elf64_headers()
1247 elfcorebuf = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in parse_crash_elf32_headers()
1249 if (!elfcorebuf) in parse_crash_elf32_headers()
1252 rc = elfcorehdr_read(elfcorebuf, elfcorebuf_sz_orig, &addr); in parse_crash_elf32_headers()
1257 rc = merge_note_headers_elf32(elfcorebuf, &elfcorebuf_sz, in parse_crash_elf32_headers()
1261 rc = process_ptload_program_headers_elf32(elfcorebuf, elfcorebuf_sz, in parse_crash_elf32_headers()
1406 vmcoredd_update_program_headers(elfcorebuf, elfnotes_sz, in vmcoredd_update_size()