Searched refs:big_oops_buf (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/fs/pstore/ |
D | platform.c | 93 static char *big_oops_buf; variable 289 big_oops_buf = kmalloc(big_oops_buf_sz, GFP_KERNEL); in allocate_buf_for_compression() 290 if (!big_oops_buf) { in allocate_buf_for_compression() 297 kfree(big_oops_buf); in allocate_buf_for_compression() 298 big_oops_buf = NULL; in allocate_buf_for_compression() 308 kfree(big_oops_buf); in free_buf_for_compression() 309 big_oops_buf = NULL; in free_buf_for_compression() 329 memcpy(psinfo->buf, big_oops_buf, hsize); in copy_kmsg_to_buffer() 330 memcpy(psinfo->buf + hsize, big_oops_buf + diff, in copy_kmsg_to_buffer() 334 memcpy(psinfo->buf, big_oops_buf, total_len); in copy_kmsg_to_buffer() [all …]
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | nvram_64.c | 118 static char *big_oops_buf, *oops_buf; variable 366 int zipped_len = nvram_compress(big_oops_buf, oops_data, text_len, in zip_oops() 624 big_oops_buf = kmalloc(big_oops_buf_sz, GFP_KERNEL); in nvram_init_oops_partition() 625 if (big_oops_buf) { in nvram_init_oops_partition() 632 kfree(big_oops_buf); in nvram_init_oops_partition() 633 big_oops_buf = NULL; in nvram_init_oops_partition() 645 kfree(big_oops_buf); in nvram_init_oops_partition() 697 if (big_oops_buf) { in oops_to_nvram() 699 big_oops_buf, big_oops_buf_sz, &text_len); in oops_to_nvram()
|