Lines Matching refs: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, 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 *ps, int *new_snapshot) in read_header()
381 static int write_header(struct pstore *ps) in write_header()
399 static struct disk_exception *get_exception(struct pstore *ps, void *ps_area, in get_exception()
407 static void read_exception(struct pstore *ps, void *ps_area, in read_exception()
417 static void write_exception(struct pstore *ps, in write_exception()
427 static void clear_exception(struct pstore *ps, uint32_t index) in clear_exception()
441 static int insert_exceptions(struct pstore *ps, void *ps_area, in insert_exceptions()
486 static int read_exceptions(struct pstore *ps, in read_exceptions()
563 static struct pstore *get_info(struct dm_exception_store *store) in get_info()
565 return (struct pstore *) store->context; in get_info()
573 struct pstore *ps = get_info(store); in persistent_usage()
589 struct pstore *ps = get_info(store); in persistent_dtr()
610 struct pstore *ps = get_info(store); in persistent_read_metadata()
672 struct pstore *ps = get_info(store); in persistent_prepare_exception()
698 struct pstore *ps = get_info(store); in persistent_commit_exception()
762 struct pstore *ps = get_info(store); in persistent_prepare_merge()
808 struct pstore *ps = get_info(store); in persistent_commit_merge()
839 struct pstore *ps = get_info(store); in persistent_drop_snapshot()
848 struct pstore *ps; in persistent_ctr()