Searched refs:oops_buf (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/mtd/ |
D | mtdoops.c | 55 void *oops_buf; member 184 hdr = cxt->oops_buf; in mtdoops_write() 190 record_size, &retlen, cxt->oops_buf); in mtdoops_write() 197 record_size, &retlen, cxt->oops_buf); in mtdoops_write() 203 memset(cxt->oops_buf, 0xff, record_size); in mtdoops_write() 279 kmsg_dump_get_buffer(dumper, true, cxt->oops_buf + MTDOOPS_HEADER_SIZE, in mtdoops_do_dump() 390 cxt->oops_buf = vmalloc(record_size); in mtdoops_init() 391 if (!cxt->oops_buf) { in mtdoops_init() 395 memset(cxt->oops_buf, 0xff, record_size); in mtdoops_init() 409 vfree(cxt->oops_buf); in mtdoops_exit()
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | nvram_64.c | 108 static char *big_oops_buf, *oops_buf; variable 355 struct oops_log_info *oops_hdr = (struct oops_log_info *)oops_buf; in zip_oops() 389 struct oops_log_info *oops_hdr = (struct oops_log_info *) oops_buf; in nvram_pstore_write() 405 rc = nvram_write_os_partition(&oops_log_partition, oops_buf, in nvram_pstore_write() 592 oops_buf = kmalloc(oops_log_partition.size, GFP_KERNEL); in nvram_init_oops_partition() 593 if (!oops_buf) { in nvram_init_oops_partition() 598 oops_data = oops_buf + sizeof(struct oops_log_info); in nvram_init_oops_partition() 632 kfree(oops_buf); in nvram_init_oops_partition() 648 struct oops_log_info *oops_hdr = (struct oops_log_info *)oops_buf; in oops_to_nvram() 700 (void) nvram_write_os_partition(&oops_log_partition, oops_buf, in oops_to_nvram()
|