Lines Matching refs:log

190 static int userspace_ctr(struct dm_dirty_log *log, struct dm_target *ti,  in userspace_ctr()  argument
321 log->context = lc; in userspace_ctr()
327 static void userspace_dtr(struct dm_dirty_log *log) in userspace_dtr() argument
329 struct log_c *lc = log->context; in userspace_dtr()
353 static int userspace_presuspend(struct dm_dirty_log *log) in userspace_presuspend() argument
356 struct log_c *lc = log->context; in userspace_presuspend()
364 static int userspace_postsuspend(struct dm_dirty_log *log) in userspace_postsuspend() argument
367 struct log_c *lc = log->context; in userspace_postsuspend()
381 static int userspace_resume(struct dm_dirty_log *log) in userspace_resume() argument
384 struct log_c *lc = log->context; in userspace_resume()
393 static uint32_t userspace_get_region_size(struct dm_dirty_log *log) in userspace_get_region_size() argument
395 struct log_c *lc = log->context; in userspace_get_region_size()
408 static int userspace_is_clean(struct dm_dirty_log *log, region_t region) in userspace_is_clean() argument
414 struct log_c *lc = log->context; in userspace_is_clean()
435 static int userspace_in_sync(struct dm_dirty_log *log, region_t region, in userspace_in_sync() argument
442 struct log_c *lc = log->context; in userspace_in_sync()
563 static int userspace_flush(struct dm_dirty_log *log) in userspace_flush() argument
567 struct log_c *lc = log->context; in userspace_flush()
649 static void userspace_mark_region(struct dm_dirty_log *log, region_t region) in userspace_mark_region() argument
652 struct log_c *lc = log->context; in userspace_mark_region()
678 static void userspace_clear_region(struct dm_dirty_log *log, region_t region) in userspace_clear_region() argument
681 struct log_c *lc = log->context; in userspace_clear_region()
713 static int userspace_get_resync_work(struct dm_dirty_log *log, region_t *region) in userspace_get_resync_work() argument
717 struct log_c *lc = log->context; in userspace_get_resync_work()
740 static void userspace_set_region_sync(struct dm_dirty_log *log, in userspace_set_region_sync() argument
743 struct log_c *lc = log->context; in userspace_set_region_sync()
770 static region_t userspace_get_sync_count(struct dm_dirty_log *log) in userspace_get_sync_count() argument
775 struct log_c *lc = log->context; in userspace_get_sync_count()
795 static int userspace_status(struct dm_dirty_log *log, status_type_t status_type, in userspace_status() argument
801 struct log_c *lc = log->context; in userspace_status()
810 DMEMIT("%s 1 COM_FAILURE", log->type->name); in userspace_status()
819 DMEMIT("%s %u %s ", log->type->name, lc->usr_argc, lc->uuid); in userspace_status()
833 static int userspace_is_remote_recovering(struct dm_dirty_log *log, in userspace_is_remote_recovering() argument
838 struct log_c *lc = log->context; in userspace_is_remote_recovering()