Home
last modified time | relevance | path

Searched refs:pstore (Results 1 – 14 of 14) sorted by relevance

/linux-4.1.27/drivers/md/
Ddm-snap-persistent.c101 struct pstore { struct
166 static int alloc_area(struct pstore *ps) in alloc_area() argument
201 static void free_area(struct pstore *ps) in free_area()
228 static int chunk_io(struct pstore *ps, void *area, chunk_t chunk, int rw, in chunk_io()
266 static chunk_t area_location(struct pstore *ps, chunk_t area) in area_location()
271 static void skip_metadata(struct pstore *ps) in skip_metadata()
283 static int area_io(struct pstore *ps, int rw) in area_io()
297 static void zero_memory_area(struct pstore *ps) in zero_memory_area()
302 static int zero_disk_area(struct pstore *ps, chunk_t area) in zero_disk_area()
307 static int read_header(struct pstore *ps, int *new_snapshot) in read_header()
[all …]
/linux-4.1.27/Documentation/ABI/testing/
Dpstore1 Where: /sys/fs/pstore/... (or /dev/pstore/...)
14 # mount -t pstore -o kmsg_bytes=8000 - /sys/fs/pstore
16 $ ls -l /sys/fs/pstore/
30 $ rm /sys/fs/pstore/dmesg-erst-1
32 The expectation is that all files in /sys/fs/pstore/
45 set by passing the pstore.backend= argument to the kernel at
/linux-4.1.27/fs/pstore/
DKconfig8 persistent storage via "pstore" filesystem that can
9 be mounted as /dev/pstore. Only useful if you have
10 a platform level driver that registers with pstore to
21 When the option is enabled, pstore will log all kernel
28 When the option is enabled, pstore will export a character
30 data can be retrieved from /sys/fs/pstore/pmsg-ramoops-[ID].
42 pstore filesystem. It can be used to determine what function
Dram.c106 struct pstore_info pstore; member
348 .pstore = {
510 cxt->pstore.data = cxt; in ramoops_probe()
518 cxt->pstore.bufsize = 1024; /* LOG_LINE_MAX */ in ramoops_probe()
519 cxt->pstore.bufsize = max(cxt->record_size, cxt->pstore.bufsize); in ramoops_probe()
520 cxt->pstore.buf = kmalloc(cxt->pstore.bufsize, GFP_KERNEL); in ramoops_probe()
521 spin_lock_init(&cxt->pstore.buf_lock); in ramoops_probe()
522 if (!cxt->pstore.buf) { in ramoops_probe()
528 err = pstore_register(&cxt->pstore); in ramoops_probe()
553 kfree(cxt->pstore.buf); in ramoops_probe()
[all …]
DMakefile5 obj-y += pstore.o
7 pstore-objs += inode.o platform.o
/linux-4.1.27/drivers/firmware/efi/
DKconfig22 tristate "Register efivars backend for pstore"
26 Say Y here to enable use efivars as a backend to pstore. This
28 else supported by pstore to EFI variables.
31 bool "Disable using efivars as a pstore backend by default"
36 backend for pstore by default. This setting can be overridden
DMakefile6 obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o
/linux-4.1.27/Documentation/
Dramoops.txt24 Typically the default value of mem_type=0 should be used as that sets the pstore
26 pgprot_noncached, which only works on some platforms. This is because pstore
103 The dump data can be read from the pstore filesystem. The format for these
105 a stored record from RAM, simply unlink the respective pstore file.
114 # echo 1 > /sys/kernel/debug/pstore/record_ftrace
117 # mount -t pstore pstore /mnt/
Dkernel-parameters.txt2960 pstore.backend= Specify the name of the pstore backend to use
/linux-4.1.27/drivers/platform/chrome/
DKconfig28 tristate "Chrome OS pstore support"
/linux-4.1.27/fs/
DMakefile128 obj-$(CONFIG_PSTORE) += pstore/
DKconfig217 source "fs/pstore/Kconfig"
/linux-4.1.27/kernel/power/
DKconfig184 captured in pstore device for inspection in subsequent
/linux-4.1.27/
DMAINTAINERS7895 T: git git://git.infradead.org/users/cbou/linux-pstore.git
7896 F: fs/pstore/
7897 F: include/linux/pstore*
7898 F: drivers/firmware/efi/efi-pstore.c