Searched full:max_reason (Results 1 – 15 of 15) sorted by relevance
/Linux-v6.6/fs/pstore/ |
D | ram.c | 64 module_param_named(max_reason, ramoops_max_reason, int, 0400); 65 MODULE_PARM_DESC(max_reason, 78 "(deprecated: use max_reason instead) set to 1 to dump oopses & panics, 0 to only dump panics"); 346 * would duplicate what happened before the "max_reason" setting in ramoops_pstore_write() 351 * requested "max_reason". in ramoops_pstore_write() 669 * "max_reason" is also specified. in ramoops_parse_dt() 672 pdata->max_reason = KMSG_DUMP_PANIC; in ramoops_parse_dt() 674 pdata->max_reason = KMSG_DUMP_OOPS; in ramoops_parse_dt() 691 parse_u32("max-reason", pdata->max_reason, pdata->max_reason); in ramoops_parse_dt() 821 cxt->pstore.max_reason = pdata->max_reason; in ramoops_probe() [all …]
|
D | blk.c | 26 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()
|
D | platform.c | 507 pstore_dumper.max_reason = psinfo->max_reason; in pstore_register()
|
D | zone.c | 1380 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-v6.6/Documentation/admin-guide/ |
D | ramoops.rst | 41 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 = <...>,
|
D | pstore-blk.rst | 142 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-v6.6/include/linux/ |
D | pstore_blk.h | 31 * @max_reason: Maximum kmsg dump reason to store to block device 39 enum kmsg_dump_reason max_reason; member
|
D | pstore_zone.h | 20 * @max_reason: Maximum kmsg dump reason to store. 47 int max_reason; member
|
D | kmsg_dump.h | 47 * @max_reason: filter for highest reason number that should be dumped 53 enum kmsg_dump_reason max_reason; member
|
D | pstore_ram.h | 37 int max_reason; member
|
D | pstore.h | 103 * @max_reason: Used when PSTORE_FLAGS_DMESG is set. Contains the 192 int max_reason; member
|
/Linux-v6.6/Documentation/devicetree/bindings/reserved-memory/ |
D | ramoops.yaml | 99 Use max_reason instead. If present, and max_reason is not specified, 100 it is equivalent to max_reason = 1 (KMSG_DUMP_PANIC).
|
/Linux-v6.6/drivers/platform/chrome/ |
D | chromeos_pstore.c | 61 .max_reason = KMSG_DUMP_OOPS,
|
/Linux-v6.6/drivers/mtd/ |
D | mtdoops.c | 367 cxt->dump.max_reason = KMSG_DUMP_OOPS; in mtdoops_notify_add()
|
/Linux-v6.6/kernel/printk/ |
D | printk.c | 4057 enum kmsg_dump_reason max_reason = dumper->max_reason; in kmsg_dump() local 4060 * If client has not provided a specific max_reason, default in kmsg_dump() 4063 if (max_reason == KMSG_DUMP_UNDEF) { in kmsg_dump() 4064 max_reason = always_kmsg_dump ? KMSG_DUMP_MAX : in kmsg_dump() 4067 if (reason > max_reason) in kmsg_dump()
|