Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/
Dmtdoops.c65 void *oops_buf; member
210 hdr = (struct mtdoops_hdr *)cxt->oops_buf; in mtdoops_write()
217 record_size, &retlen, cxt->oops_buf); in mtdoops_write()
224 record_size, &retlen, cxt->oops_buf); in mtdoops_write()
230 memset(cxt->oops_buf, 0xff, record_size); in mtdoops_write()
316 cxt->oops_buf + sizeof(struct mtdoops_hdr), in mtdoops_do_dump()
429 cxt->oops_buf = vmalloc(record_size); in mtdoops_init()
430 if (!cxt->oops_buf) in mtdoops_init()
432 memset(cxt->oops_buf, 0xff, record_size); in mtdoops_init()
447 vfree(cxt->oops_buf); in mtdoops_exit()
/linux-6.12.1/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()