Home
last modified time | relevance | path

Searched refs:max_reason (Results 1 – 15 of 15) sorted by relevance

/linux/fs/pstore/
A Dblk.c26 static int max_reason = CONFIG_PSTORE_BLK_MAX_REASON; variable
27 module_param(max_reason, int, 0400);
28 MODULE_PARM_DESC(max_reason,
133 dev->zone.max_reason = max_reason; in __register_pstore_device()
245 info->max_reason = max_reason; in pstore_blk_get_config()
A Dram.c62 module_param_named(max_reason, ramoops_max_reason, int, 0400);
63 MODULE_PARM_DESC(max_reason,
661 pdata->max_reason = KMSG_DUMP_PANIC; in ramoops_parse_dt()
663 pdata->max_reason = KMSG_DUMP_OOPS; in ramoops_parse_dt()
680 parse_u32("max-reason", pdata->max_reason, pdata->max_reason); in ramoops_parse_dt()
808 cxt->pstore.max_reason = pdata->max_reason; in ramoops_probe()
845 ramoops_max_reason = pdata->max_reason; in ramoops_probe()
930 pdata.max_reason = ramoops_max_reason; in ramoops_register_dummy()
933 pdata.max_reason = ramoops_dump_oops ? KMSG_DUMP_OOPS in ramoops_register_dummy()
937 pdata.max_reason = KMSG_DUMP_OOPS; in ramoops_register_dummy()
A Dplatform.c605 pstore_dumper.max_reason = psinfo->max_reason; in pstore_register()
A Dzone.c1380 cxt->pstore.max_reason = info->max_reason; in register_pstore_zone()
1385 kmsg_dump_reason_str(cxt->pstore.max_reason)); in register_pstore_zone()
/linux/Documentation/admin-guide/
A Dramoops.rst41 the ``max_reason`` value, as defined in include/linux/kmsg_dump.h's
43 ``max_reason`` should be set to 2 (KMSG_DUMP_OOPS), to store only Panics
44 ``max_reason`` should be set to 1 (KMSG_DUMP_PANIC). Setting this to 0
101 .max_reason = <...>,
A Dpstore-blk.rst142 max_reason subsection
146 the ``max_reason`` value, as defined in include/linux/kmsg_dump.h's
148 ``max_reason`` should be set to 2 (KMSG_DUMP_OOPS), to store only Panics
149 ``max_reason`` should be set to 1 (KMSG_DUMP_PANIC). Setting this to 0
/linux/Documentation/devicetree/bindings/reserved-memory/
A Dramoops.yaml99 Use max_reason instead. If present, and max_reason is not specified,
100 it is equivalent to max_reason = 1 (KMSG_DUMP_PANIC).
/linux/include/linux/
A Dpstore_blk.h39 enum kmsg_dump_reason max_reason; member
A Dpstore_zone.h47 int max_reason; member
A Dkmsg_dump.h53 enum kmsg_dump_reason max_reason; member
A Dpstore_ram.h136 int max_reason; member
A Dpstore.h188 int max_reason; member
/linux/drivers/platform/chrome/
A Dchromeos_pstore.c61 .max_reason = KMSG_DUMP_OOPS,
/linux/kernel/printk/
A Dprintk.c3411 enum kmsg_dump_reason max_reason = dumper->max_reason; in kmsg_dump() local
3417 if (max_reason == KMSG_DUMP_UNDEF) { in kmsg_dump()
3418 max_reason = always_kmsg_dump ? KMSG_DUMP_MAX : in kmsg_dump()
3421 if (reason > max_reason) in kmsg_dump()
/linux/drivers/mtd/
A Dmtdoops.c341 cxt->dump.max_reason = KMSG_DUMP_OOPS; in mtdoops_notify_add()

Completed in 49 milliseconds