Home
last modified time | relevance | path

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

/Linux-v4.19/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 op, in chunk_io()
268 static chunk_t area_location(struct pstore *ps, chunk_t area) in area_location()
273 static void skip_metadata(struct pstore *ps) in skip_metadata()
285 static int area_io(struct pstore *ps, int op, int op_flags) in area_io()
299 static void zero_memory_area(struct pstore *ps) in zero_memory_area()
304 static int zero_disk_area(struct pstore *ps, chunk_t area) in zero_disk_area()
310 static int read_header(struct pstore *ps, int *new_snapshot) in read_header()
[all …]
/Linux-v4.19/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-v4.19/fs/pstore/
DMakefile6 obj-$(CONFIG_PSTORE) += pstore.o
8 pstore-objs += inode.o platform.o
9 pstore-$(CONFIG_PSTORE_FTRACE) += ftrace.o
11 pstore-$(CONFIG_PSTORE_PMSG) += pmsg.o
DKconfig7 persistent storage via "pstore" filesystem that can
8 be mounted as /dev/pstore. Only useful if you have
9 a platform level driver that registers with pstore to
68 prompt "Default pstore compression algorithm"
72 This change be changed at boot with "pstore.compress=..." on
75 Currently, pstore has support for 6 compression algorithms:
114 When the option is enabled, pstore will log all kernel
121 When the option is enabled, pstore will export a character
123 data can be retrieved from /sys/fs/pstore/pmsg-ramoops-[ID].
135 pstore filesystem. It can be used to determine what function
Dram.c109 struct pstore_info pstore; member
497 .pstore = {
807 cxt->pstore.data = cxt; in ramoops_probe()
815 cxt->pstore.bufsize = 1024; /* LOG_LINE_MAX */ in ramoops_probe()
816 cxt->pstore.bufsize = max(cxt->record_size, cxt->pstore.bufsize); in ramoops_probe()
817 cxt->pstore.buf = kmalloc(cxt->pstore.bufsize, GFP_KERNEL); in ramoops_probe()
818 if (!cxt->pstore.buf) { in ramoops_probe()
823 spin_lock_init(&cxt->pstore.buf_lock); in ramoops_probe()
825 cxt->pstore.flags = PSTORE_FLAGS_DMESG; in ramoops_probe()
827 cxt->pstore.flags |= PSTORE_FLAGS_CONSOLE; in ramoops_probe()
[all …]
/Linux-v4.19/tools/testing/selftests/pstore/
Dpstore_post_reboot_tests23 mount_info=`grep pstore /proc/mounts`
28 mount none /sys/fs/pstore -t pstore
30 mount_point=`grep pstore /proc/mounts | cut -d' ' -f2 | head -n1`
Dcommon_tests77 backend=`cat /sys/module/pstore/parameters/backend`
/Linux-v4.19/Documentation/admin-guide/
Dramoops.rst27 Typically the default value of ``mem_type=0`` should be used as that sets the pstore
29 ``pgprot_noncached``, which only works on some platforms. This is because pstore
130 The dump data can be read from the pstore filesystem. The format for these
132 a stored record from RAM, simply unlink the respective pstore file.
142 # echo 1 > /sys/kernel/debug/pstore/record_ftrace
145 # mount -t pstore pstore /mnt/
Dkernel-parameters.txt3492 pstore.backend= Specify the name of the pstore backend to use
/Linux-v4.19/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
DMakefile18 obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o
/Linux-v4.19/tools/testing/selftests/
DMakefile30 TARGETS += pstore
115 make -C pstore run_crash
/Linux-v4.19/Documentation/devicetree/bindings/reserved-memory/
Dramoops.txt6 is named "ramoops" after the backend, rather than "pstore" which is the
/Linux-v4.19/fs/
DMakefile129 obj-$(CONFIG_PSTORE) += pstore/
DKconfig254 source "fs/pstore/Kconfig"
/Linux-v4.19/drivers/platform/chrome/
DKconfig28 tristate "Chrome OS pstore support"
/Linux-v4.19/arch/arm64/boot/dts/hisilicon/
Dhi6220-hikey.dts36 * 0x21f0,0000 - 0x21ff,ffff: pstore/ramoops buffer
/Linux-v4.19/kernel/power/
DKconfig195 captured in pstore device for inspection in subsequent
/Linux-v4.19/
DMAINTAINERS11788 T: git git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/pstore
11789 F: fs/pstore/
11790 F: include/linux/pstore*
11791 F: drivers/firmware/efi/efi-pstore.c
11795 K: \b(pstore|ramoops)