Lines Matching refs:pstore
102 struct pstore {
167 static int alloc_area(struct pstore *ps)
202 static void free_area(struct pstore *ps)
229 static int chunk_io(struct pstore *ps, void *area, chunk_t chunk, int op,
268 static chunk_t area_location(struct pstore *ps, chunk_t area)
273 static void skip_metadata(struct pstore *ps)
285 static int area_io(struct pstore *ps, int op, int op_flags)
292 static void zero_memory_area(struct pstore *ps)
297 static int zero_disk_area(struct pstore *ps, chunk_t area)
303 static int read_header(struct pstore *ps, int *new_snapshot)
381 static int write_header(struct pstore *ps)
399 static struct disk_exception *get_exception(struct pstore *ps, void *ps_area,
407 static void read_exception(struct pstore *ps, void *ps_area,
417 static void write_exception(struct pstore *ps,
427 static void clear_exception(struct pstore *ps, uint32_t index)
441 static int insert_exceptions(struct pstore *ps, void *ps_area,
486 static int read_exceptions(struct pstore *ps,
563 static struct pstore *get_info(struct dm_exception_store *store)
565 return (struct pstore *) store->context;
573 struct pstore *ps = get_info(store);
589 struct pstore *ps = get_info(store);
610 struct pstore *ps = get_info(store);
672 struct pstore *ps = get_info(store);
698 struct pstore *ps = get_info(store);
762 struct pstore *ps = get_info(store);
808 struct pstore *ps = get_info(store);
839 struct pstore *ps = get_info(store);
848 struct pstore *ps;
851 /* allocate the pstore */