Searched refs:max_reason (Results 1 – 15 of 15) sorted by relevance
/linux/fs/pstore/ |
H A 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()
|
H A D | ram.c | 68 module_param_named(max_reason, ramoops_max_reason, int, 0400); 69 MODULE_PARM_DESC(max_reason, 677 pdata->max_reason = KMSG_DUMP_PANIC; in ramoops_parse_dt() 679 pdata->max_reason = KMSG_DUMP_OOPS; in ramoops_parse_dt() 696 parse_u32("max-reason", pdata->max_reason, pdata->max_reason); in ramoops_parse_dt() 826 cxt->pstore.max_reason = pdata->max_reason; in ramoops_probe() 863 ramoops_max_reason = pdata->max_reason; in ramoops_probe() 951 pdata.max_reason = ramoops_max_reason; in ramoops_register_dummy() 954 pdata.max_reason = ramoops_dump_oops ? KMSG_DUMP_OOPS in ramoops_register_dummy() 958 pdata.max_reason = KMSG_DUMP_OOPS; in ramoops_register_dummy()
|
H A D | platform.c | 514 pstore_dumper.max_reason = psinfo->max_reason; in pstore_register()
|
H A D | zone.c | 1381 cxt->pstore.max_reason = info->max_reason; in register_pstore_zone() 1386 kmsg_dump_reason_str(cxt->pstore.max_reason)); in register_pstore_zone()
|
/linux/Documentation/admin-guide/ |
H A D | ramoops.rst | 43 the ``max_reason`` value, as defined in include/linux/kmsg_dump.h's 45 ``max_reason`` should be set to 2 (KMSG_DUMP_OOPS), to store only Panics 46 ``max_reason`` should be set to 1 (KMSG_DUMP_PANIC). Setting this to 0 103 .max_reason = <...>,
|
H A D | pstore-blk.rst | 142 max_reason section in Configurations for user 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/include/linux/ |
H A D | pstore_blk.h | 39 enum kmsg_dump_reason max_reason; member
|
H A D | pstore_ram.h | 37 int max_reason; member
|
H A D | pstore_zone.h | 47 int max_reason; member
|
H A D | kmsg_dump.h | 64 enum kmsg_dump_reason max_reason; member
|
H A D | pstore.h | 192 int max_reason; member
|
/linux/drivers/platform/chrome/ |
H A D | chromeos_pstore.c | 61 .max_reason = KMSG_DUMP_OOPS,
|
/linux/drivers/mtd/ |
H A D | mtdoops.c | 367 cxt->dump.max_reason = KMSG_DUMP_OOPS; in mtdoops_notify_add()
|
/linux/kernel/printk/ |
H A D | printk.c | 4719 enum kmsg_dump_reason max_reason = dumper->max_reason; in kmsg_dump_desc() local 4725 if (max_reason == KMSG_DUMP_UNDEF) { in kmsg_dump_desc() 4726 max_reason = always_kmsg_dump ? KMSG_DUMP_MAX : in kmsg_dump_desc() 4729 if (reason > max_reason) in kmsg_dump_desc()
|
/linux/drivers/gpu/drm/ |
H A D | drm_panic.c | 1030 plane->kmsg_panic.max_reason = KMSG_DUMP_PANIC; in drm_panic_register()
|