Lines Matching full:pstore
102 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, blk_opf_t opf, 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, blk_opf_t opf) in area_io()
291 static void zero_memory_area(struct pstore *ps) in zero_memory_area()
296 static int zero_disk_area(struct pstore *ps, chunk_t area) in zero_disk_area()
302 static int read_header(struct pstore *ps, int *new_snapshot) in read_header()
380 static int write_header(struct pstore *ps) in write_header()
398 static struct disk_exception *get_exception(struct pstore *ps, void *ps_area, in get_exception()
406 static void read_exception(struct pstore *ps, void *ps_area, in read_exception()
416 static void write_exception(struct pstore *ps, in write_exception()
426 static void clear_exception(struct pstore *ps, uint32_t index) in clear_exception()
440 static int insert_exceptions(struct pstore *ps, void *ps_area, in insert_exceptions()
485 static int read_exceptions(struct pstore *ps, in read_exceptions()
562 static struct pstore *get_info(struct dm_exception_store *store) in get_info()
564 return (struct pstore *) store->context; in get_info()
572 struct pstore *ps = get_info(store); in persistent_usage()
588 struct pstore *ps = get_info(store); in persistent_dtr()
609 struct pstore *ps = get_info(store); in persistent_read_metadata()
671 struct pstore *ps = get_info(store); in persistent_prepare_exception()
697 struct pstore *ps = get_info(store); in persistent_commit_exception()
761 struct pstore *ps = get_info(store); in persistent_prepare_merge()
807 struct pstore *ps = get_info(store); in persistent_commit_merge()
838 struct pstore *ps = get_info(store); in persistent_drop_snapshot()
847 struct pstore *ps; in persistent_ctr()
850 /* allocate the pstore */ in persistent_ctr()