Home
last modified time | relevance | path

Searched refs:oops_buf (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/mtd/
Dmtdoops.c56 void *oops_buf; member
188 hdr = cxt->oops_buf; in mtdoops_write()
194 record_size, &retlen, cxt->oops_buf); in mtdoops_write()
201 record_size, &retlen, cxt->oops_buf); in mtdoops_write()
207 memset(cxt->oops_buf, 0xff, record_size); in mtdoops_write()
290 kmsg_dump_get_buffer(&iter, true, cxt->oops_buf + MTDOOPS_HEADER_SIZE, in mtdoops_do_dump()
403 cxt->oops_buf = vmalloc(record_size); in mtdoops_init()
404 if (!cxt->oops_buf) in mtdoops_init()
406 memset(cxt->oops_buf, 0xff, record_size); in mtdoops_init()
421 vfree(cxt->oops_buf); in mtdoops_exit()
/Linux-v5.15/arch/powerpc/kernel/
Dnvram_64.c108 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()