Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/pstore/
Dblk.c25 static int max_reason = CONFIG_PSTORE_BLK_MAX_REASON; variable
26 module_param(max_reason, int, 0400);
27 MODULE_PARM_DESC(max_reason,
160 pstore_zone_info->max_reason = max_reason; in __register_pstore_device()
484 info->max_reason = max_reason; in pstore_blk_get_config()
Dram.c70 module_param_named(max_reason, ramoops_max_reason, int, 0400);
71 MODULE_PARM_DESC(max_reason,
680 pdata->max_reason = KMSG_DUMP_PANIC; in ramoops_parse_dt()
682 pdata->max_reason = KMSG_DUMP_OOPS; in ramoops_parse_dt()
699 parse_u32("max-reason", pdata->max_reason, pdata->max_reason); in ramoops_parse_dt()
842 cxt->pstore.max_reason = pdata->max_reason; in ramoops_probe()
881 ramoops_max_reason = pdata->max_reason; in ramoops_probe()
971 pdata.max_reason = ramoops_max_reason; in ramoops_register_dummy()
974 pdata.max_reason = ramoops_dump_oops ? KMSG_DUMP_OOPS in ramoops_register_dummy()
978 pdata.max_reason = KMSG_DUMP_OOPS; in ramoops_register_dummy()
Dplatform.c716 pstore_dumper.max_reason = psinfo->max_reason; in pstore_register()
Dzone.c1412 cxt->pstore.max_reason = info->max_reason; in register_pstore_zone()
1417 kmsg_dump_reason_str(cxt->pstore.max_reason)); in register_pstore_zone()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/reserved-memory/
Dramoops.txt55 - no-dump-oops: deprecated, use max_reason instead. If present, and
56 max_reason is not specified, it is equivalent to max_reason = 1
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dramoops.rst39 the ``max_reason`` value, as defined in include/linux/kmsg_dump.h's
41 ``max_reason`` should be set to 2 (KMSG_DUMP_OOPS), to store only Panics
42 ``max_reason`` should be set to 1 (KMSG_DUMP_PANIC). Setting this to 0
99 .max_reason = <...>,
Dpstore-blk.rst139 max_reason section in Configurations for user
143 the ``max_reason`` value, as defined in include/linux/kmsg_dump.h's
145 ``max_reason`` should be set to 2 (KMSG_DUMP_OOPS), to store only Panics
146 ``max_reason`` should be set to 1 (KMSG_DUMP_PANIC). Setting this to 0
/kernel/linux/linux-5.10/include/linux/
Dpstore_zone.h48 int max_reason; member
Dpstore_blk.h103 enum kmsg_dump_reason max_reason; member
Dpstore_ram.h137 int max_reason; member
Dkmsg_dump.h43 enum kmsg_dump_reason max_reason; member
Dpstore.h190 int max_reason; member
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dchromeos_pstore.c61 .max_reason = KMSG_DUMP_OOPS,
/kernel/linux/linux-5.10/kernel/printk/
Dprintk.c3239 enum kmsg_dump_reason max_reason = dumper->max_reason; in kmsg_dump() local
3245 if (max_reason == KMSG_DUMP_UNDEF) { in kmsg_dump()
3246 max_reason = always_kmsg_dump ? KMSG_DUMP_MAX : in kmsg_dump()
3249 if (reason > max_reason) in kmsg_dump()
/kernel/linux/linux-5.10/drivers/mtd/
Dmtdoops.c329 cxt->dump.max_reason = KMSG_DUMP_OOPS; in mtdoops_notify_add()
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch11772 + dumper->max_reason = KMSG_DUMP_MAX;
12117 + dumper->max_reason = KMSG_DUMP_MAX;