Searched refs:big_oops_buf (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/fs/pstore/ |
H A D | platform.c | 77 static char *big_oops_buf; variable 223 big_oops_buf = kmalloc(big_oops_buf_sz, GFP_KERNEL); allocate_buf_for_compression() 224 if (big_oops_buf) { allocate_buf_for_compression() 230 kfree(big_oops_buf); allocate_buf_for_compression() 231 big_oops_buf = NULL; allocate_buf_for_compression() 244 kfree(big_oops_buf); free_buf_for_compression() 245 big_oops_buf = NULL; free_buf_for_compression() 253 * Copy the recent messages from big_oops_buf to psinfo->buf 264 memcpy(psinfo->buf, big_oops_buf, hsize); copy_kmsg_to_buffer() 265 memcpy(psinfo->buf + hsize, big_oops_buf + diff, copy_kmsg_to_buffer() 269 memcpy(psinfo->buf, big_oops_buf, total_len); copy_kmsg_to_buffer() 310 if (big_oops_buf && is_locked) { pstore_dump() 311 dst = big_oops_buf; pstore_dump() 541 if (big_oops_buf) pstore_get_records() 543 big_oops_buf, size, pstore_get_records() 548 buf = big_oops_buf; pstore_get_records()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | nvram_64.c | 96 * big_oops_buf[] holds the uncompressed text we're capturing. 119 static char *big_oops_buf, *oops_buf; variable 366 /* Compress the text from big_oops_buf into oops_buf. */ zip_oops() 370 int zipped_len = nvram_compress(big_oops_buf, oops_data, text_len, zip_oops() 639 big_oops_buf = kmalloc(big_oops_buf_sz, GFP_KERNEL); nvram_init_oops_partition() 640 if (big_oops_buf) { nvram_init_oops_partition() 647 kfree(big_oops_buf); nvram_init_oops_partition() 648 big_oops_buf = NULL; nvram_init_oops_partition() 660 kfree(big_oops_buf); nvram_init_oops_partition() 712 if (big_oops_buf) { oops_to_nvram() 714 big_oops_buf, big_oops_buf_sz, &text_len); oops_to_nvram()
|
Completed in 75 milliseconds