Home
last modified time | relevance | path

Searched refs:pstore (Results 1 - 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/md/
H A Ddm-snap-persistent.c102 struct pstore { struct
167 static int alloc_area(struct pstore *ps) in alloc_area()
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()
292 static void zero_memory_area(struct pstore *ps) in zero_memory_area()
297 static int zero_disk_area(struct pstore *ps, chunk_t area) in zero_disk_area()
303 static int read_header(struct pstore *p
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-snap-persistent.c105 struct pstore { struct
170 static int alloc_area(struct pstore *ps) in alloc_area()
205 static void free_area(struct pstore *ps) in free_area()
232 static int chunk_io(struct pstore *ps, void *area, chunk_t chunk, blk_opf_t opf, in chunk_io()
270 static chunk_t area_location(struct pstore *ps, chunk_t area) in area_location()
275 static void skip_metadata(struct pstore *ps) in skip_metadata()
288 static int area_io(struct pstore *ps, blk_opf_t opf) in area_io()
295 static void zero_memory_area(struct pstore *ps) in zero_memory_area()
300 static int zero_disk_area(struct pstore *ps, chunk_t area) in zero_disk_area()
306 static int read_header(struct pstore *p
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/pstore/
H A Dpstore_post_reboot_tests4 # pstore_post_reboot_tests - Check pstore's behavior after crash/reboot
22 prlog -n "Mounting pstore filesystem ... "
23 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`
40 prlog -n "Checking dmesg files exist in pstore filesystem ... "
43 prlog -n "Checking console files exist in pstore filesystem ... "
46 prlog -n "Checking pmsg files exist in pstore filesystem ... "
76 prlog -n "Removing all files in pstore filesyste
[all...]
H A Dcommon_tests4 # common_tests - Shell script commonly used by pstore test scripts
57 TEST_STRING_PATTERN="Testing pstore: uuid="
76 prlog -n "Checking pstore backend is registered ... "
77 backend=`cat /sys/module/pstore/parameters/backend`
/kernel/linux/linux-6.6/tools/testing/selftests/pstore/
H A Dpstore_post_reboot_tests4 # pstore_post_reboot_tests - Check pstore's behavior after crash/reboot
22 prlog -n "Mounting pstore filesystem ... "
23 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`
40 prlog -n "Checking dmesg files exist in pstore filesystem ... "
43 prlog -n "Checking console files exist in pstore filesystem ... "
46 prlog -n "Checking pmsg files exist in pstore filesystem ... "
76 prlog -n "Removing all files in pstore filesyste
[all...]
H A Dcommon_tests4 # common_tests - Shell script commonly used by pstore test scripts
57 TEST_STRING_PATTERN="Testing pstore: uuid="
76 prlog -n "Checking pstore backend is registered ... "
77 backend=`cat /sys/module/pstore/parameters/backend`
/kernel/linux/linux-5.10/fs/pstore/
H A Dram.c15 #include <linux/pstore.h>
111 struct pstore_info pstore; member
462 .pstore = {
835 cxt->pstore.data = cxt; in ramoops_probe()
842 cxt->pstore.flags = 0; in ramoops_probe()
844 cxt->pstore.flags |= PSTORE_FLAGS_DMESG; in ramoops_probe()
845 cxt->pstore.max_reason = pdata->max_reason; in ramoops_probe()
848 cxt->pstore.flags |= PSTORE_FLAGS_CONSOLE; in ramoops_probe()
850 cxt->pstore.flags |= PSTORE_FLAGS_FTRACE; in ramoops_probe()
852 cxt->pstore in ramoops_probe()
[all...]
H A Dzone.c3 * Provide a pstore intermediate backend, organized into kernel memory
90 * struct psz_context - all about running state of pstore/zone
111 * @pstore: structure for pstore
142 struct pstore_info pstore; member
601 * @cxt: the context of pstore/zone
1125 .pstore = {
1319 * register_pstore_zone() - register to pstore/zone
1369 * if no @read, pstore may mount failed. in register_pstore_zone()
1370 * if no @write, pstore d in register_pstore_zone()
[all...]
H A Dinternal.h7 #include <linux/pstore.h>
49 /* Called during pstore init/exit. */
/kernel/linux/linux-6.6/fs/pstore/
H A Dram.c15 #include <linux/pstore.h>
102 struct pstore_info pstore; member
441 .pstore = {
812 cxt->pstore.data = cxt; in ramoops_probe()
819 cxt->pstore.flags = 0; in ramoops_probe()
821 cxt->pstore.flags |= PSTORE_FLAGS_DMESG; in ramoops_probe()
822 cxt->pstore.max_reason = pdata->max_reason; in ramoops_probe()
825 cxt->pstore.flags |= PSTORE_FLAGS_CONSOLE; in ramoops_probe()
827 cxt->pstore.flags |= PSTORE_FLAGS_FTRACE; in ramoops_probe()
829 cxt->pstore in ramoops_probe()
[all...]
H A Dzone.c3 * Provide a pstore intermediate backend, organized into kernel memory
90 * struct psz_context - all about running state of pstore/zone
109 * @pstore: structure for pstore
138 struct pstore_info pstore; member
595 * @cxt: the context of pstore/zone
1102 .pstore = {
1285 * register_pstore_zone() - register to pstore/zone
1338 * if no @read, pstore may mount failed. in register_pstore_zone()
1339 * if no @write, pstore d in register_pstore_zone()
[all...]
H A Dinternal.h7 #include <linux/pstore.h>
48 /* Called during pstore init/exit. */
/kernel/linux/linux-6.6/include/linux/
H A Dpstore_ram.h11 #include <linux/pstore.h>
H A Dpstore_blk.h7 #include <linux/pstore.h>
11 * struct pstore_device_info - back-end pstore/blk driver structure.
14 * linux/pstore.h. It means what front-ends this device support.
/kernel/linux/linux-5.10/include/linux/
H A Dpstore_blk.h7 #include <linux/pstore.h>
26 * struct pstore_blk_info - pstore/blk registration details
28 * @major: Which major device number to support with pstore/blk
29 * @flags: The supported PSTORE_FLAGS_* from linux/pstore.h.
34 * @devt: The dev_t that pstore/blk has attached to.
43 /* Filled in by pstore/blk after registration. */
53 * struct pstore_device_info - back-end pstore/blk driver structure.
55 * @total_size: The total size in bytes pstore/blk can use. It must be greater
58 * linux/pstore.h. It means what front-ends this device support.
H A Dpstore_ram.h16 #include <linux/pstore.h>
44 * used as a pstore backend
/kernel/linux/linux-5.10/drivers/firmware/efi/
H A DMakefile19 obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o
/kernel/linux/linux-6.6/drivers/firmware/efi/
H A DMakefile21 obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o
H A Defi-pstore.c5 #include <linux/pstore.h>
15 MODULE_PARM_DESC(record_size, "size of each pstore UEFI var (in bytes, min/default=1024)");
141 * If this is the first read() call in the pstore enumeration, in efi_pstore_read()
149 * enumerate variables with the efi-pstore GUID, there is no in efi_pstore_read()
233 * just pollute more the pstore FS with many small collected files. in efivars_pstore_init()
267 MODULE_DESCRIPTION("EFI variable backend for pstore");
/kernel/linux/linux-5.10/tools/testing/selftests/
H A DMakefile47 TARGETS += pstore
203 $(MAKE) -C pstore run_crash
/kernel/linux/linux-6.6/tools/testing/selftests/
H A DMakefile68 TARGETS += pstore
209 $(MAKE) -C pstore run_crash
/kernel/linux/linux-5.10/drivers/staging/blackbox/
H A Dblackbox_storage.c11 #include <linux/pstore.h>
68 #define PSTORE_MOUNT_POINT "/sys/fs/pstore/"
110 bbox_print_info("get pstore file name %s successfully!\n", pstore_file); in is_pstore_part_ready()
/kernel/linux/linux-6.6/drivers/staging/blackbox/
H A Dblackbox_storage.c11 #include <linux/pstore.h>
68 #define PSTORE_MOUNT_POINT "/sys/fs/pstore/"
110 bbox_print_info("get pstore file name %s successfully!\n", pstore_file); in is_pstore_part_ready()
/kernel/linux/linux-5.10/fs/
H A DMakefile136 obj-$(CONFIG_PSTORE) += pstore/
/kernel/linux/linux-6.6/fs/
H A DMakefile130 obj-$(CONFIG_PSTORE) += pstore/

Completed in 13 milliseconds

12