Lines Matching refs:dm_dirty_log
147 struct dm_dirty_log *dm_dirty_log_create(const char *type_name, in dm_dirty_log_create()
153 struct dm_dirty_log *log; in dm_dirty_log_create()
177 void dm_dirty_log_destroy(struct dm_dirty_log *log) in dm_dirty_log_destroy()
355 static int create_log_context(struct dm_dirty_log *log, struct dm_target *ti, in create_log_context()
509 static int core_ctr(struct dm_dirty_log *log, struct dm_target *ti, in core_ctr()
522 static void core_dtr(struct dm_dirty_log *log) in core_dtr()
535 static int disk_ctr(struct dm_dirty_log *log, struct dm_target *ti, in disk_ctr()
559 static void disk_dtr(struct dm_dirty_log *log) in disk_dtr()
588 static int disk_resume(struct dm_dirty_log *log) in disk_resume()
651 static uint32_t core_get_region_size(struct dm_dirty_log *log) in core_get_region_size()
657 static int core_resume(struct dm_dirty_log *log) in core_resume()
664 static int core_is_clean(struct dm_dirty_log *log, region_t region) in core_is_clean()
670 static int core_in_sync(struct dm_dirty_log *log, region_t region, int block) in core_in_sync()
676 static int core_flush(struct dm_dirty_log *log) in core_flush()
682 static int disk_flush(struct dm_dirty_log *log) in disk_flush()
722 static void core_mark_region(struct dm_dirty_log *log, region_t region) in core_mark_region()
728 static void core_clear_region(struct dm_dirty_log *log, region_t region) in core_clear_region()
735 static int core_get_resync_work(struct dm_dirty_log *log, region_t *region) in core_get_resync_work()
758 static void core_set_region_sync(struct dm_dirty_log *log, region_t region, in core_set_region_sync()
773 static region_t core_get_sync_count(struct dm_dirty_log *log) in core_get_sync_count()
784 static int core_status(struct dm_dirty_log *log, status_type_t status, in core_status()
804 static int disk_status(struct dm_dirty_log *log, status_type_t status, in disk_status()