Searched refs:oops_buf (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/mtd/ |
D | mtdoops.c | 69 void *oops_buf; member 198 hdr = cxt->oops_buf; in mtdoops_write() 204 record_size, &retlen, cxt->oops_buf); in mtdoops_write() 211 record_size, &retlen, cxt->oops_buf); in mtdoops_write() 217 memset(cxt->oops_buf, 0xff, record_size); in mtdoops_write() 293 kmsg_dump_get_buffer(dumper, true, cxt->oops_buf + MTDOOPS_HEADER_SIZE, in mtdoops_do_dump() 404 cxt->oops_buf = vmalloc(record_size); in mtdoops_init() 405 if (!cxt->oops_buf) { in mtdoops_init() 409 memset(cxt->oops_buf, 0xff, record_size); in mtdoops_init() 423 vfree(cxt->oops_buf); in mtdoops_exit()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | nvram_64.c | 118 static char *big_oops_buf, *oops_buf; variable 365 struct oops_log_info *oops_hdr = (struct oops_log_info *)oops_buf; in zip_oops() 399 struct oops_log_info *oops_hdr = (struct oops_log_info *) oops_buf; in nvram_pstore_write() 415 rc = nvram_write_os_partition(&oops_log_partition, oops_buf, in nvram_pstore_write() 604 oops_buf = kmalloc(oops_log_partition.size, GFP_KERNEL); in nvram_init_oops_partition() 605 if (!oops_buf) { in nvram_init_oops_partition() 610 oops_data = oops_buf + sizeof(struct oops_log_info); in nvram_init_oops_partition() 644 kfree(oops_buf); in nvram_init_oops_partition() 660 struct oops_log_info *oops_hdr = (struct oops_log_info *)oops_buf; in oops_to_nvram() 712 (void) nvram_write_os_partition(&oops_log_partition, oops_buf, in oops_to_nvram()
|