Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/md/
Ddm-snap-persistent.c102 struct pstore { struct
167 static int alloc_area(struct pstore *ps) in alloc_area() argument
202 static void free_area(struct pstore *ps) in free_area()
229 static int chunk_io(struct pstore *ps, void *area, chunk_t chunk, int rw, in chunk_io()
267 static chunk_t area_location(struct pstore *ps, chunk_t area) in area_location()
272 static void skip_metadata(struct pstore *ps) in skip_metadata()
284 static int area_io(struct pstore *ps, int rw) in area_io()
298 static void zero_memory_area(struct pstore *ps) in zero_memory_area()
303 static int zero_disk_area(struct pstore *ps, chunk_t area) in zero_disk_area()
308 static int read_header(struct pstore *ps, int *new_snapshot) in read_header()
[all …]
/linux-4.4.14/fs/pstore/
DMakefile5 obj-$(CONFIG_PSTORE) += pstore.o
7 pstore-objs += inode.o platform.o
8 pstore-$(CONFIG_PSTORE_FTRACE) += ftrace.o
10 pstore-$(CONFIG_PSTORE_PMSG) += pmsg.o
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
364 .pstore = {
524 cxt->pstore.data = cxt; in ramoops_probe()
532 cxt->pstore.bufsize = 1024; /* LOG_LINE_MAX */ in ramoops_probe()
533 cxt->pstore.bufsize = max(cxt->record_size, cxt->pstore.bufsize); in ramoops_probe()
534 cxt->pstore.buf = kmalloc(cxt->pstore.bufsize, GFP_KERNEL); in ramoops_probe()
535 spin_lock_init(&cxt->pstore.buf_lock); in ramoops_probe()
536 if (!cxt->pstore.buf) { in ramoops_probe()
542 err = pstore_register(&cxt->pstore); in ramoops_probe()
567 kfree(cxt->pstore.buf); in ramoops_probe()
[all …]
/linux-4.4.14/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.4.14/tools/testing/selftests/pstore/
Dpstore_post_reboot_tests20 mount_info=`grep pstore /proc/mounts`
25 mount none /sys/fs/pstore -t pstore
27 mount_point=`grep pstore /proc/mounts | cut -d' ' -f2 | head -n1`
Dcommon_tests77 backend=`cat /sys/module/pstore/parameters/backend`
/linux-4.4.14/drivers/firmware/efi/
DKconfig27 tristate "Register efivars backend for pstore"
31 Say Y here to enable use efivars as a backend to pstore. This
33 else supported by pstore to EFI variables.
36 bool "Disable using efivars as a pstore backend by default"
41 backend for pstore by default. This setting can be overridden
DMakefile15 obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o
/linux-4.4.14/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.txt3037 pstore.backend= Specify the name of the pstore backend to use
/linux-4.4.14/tools/testing/selftests/
DMakefile17 TARGETS += pstore
71 make -C pstore run_crash
/linux-4.4.14/drivers/platform/chrome/
DKconfig28 tristate "Chrome OS pstore support"
/linux-4.4.14/fs/
DMakefile127 obj-$(CONFIG_PSTORE) += pstore/
DKconfig220 source "fs/pstore/Kconfig"
/linux-4.4.14/kernel/power/
DKconfig194 captured in pstore device for inspection in subsequent
/linux-4.4.14/
DMAINTAINERS8565 T: git git://git.infradead.org/users/cbou/linux-pstore.git
8566 F: fs/pstore/
8567 F: include/linux/pstore*
8568 F: drivers/firmware/efi/efi-pstore.c