Lines Matching refs:log
190 static int userspace_ctr(struct dm_dirty_log *log, struct dm_target *ti, in userspace_ctr() argument
322 log->context = lc; in userspace_ctr()
328 static void userspace_dtr(struct dm_dirty_log *log) in userspace_dtr() argument
330 struct log_c *lc = log->context; in userspace_dtr()
354 static int userspace_presuspend(struct dm_dirty_log *log) in userspace_presuspend() argument
357 struct log_c *lc = log->context; in userspace_presuspend()
365 static int userspace_postsuspend(struct dm_dirty_log *log) in userspace_postsuspend() argument
368 struct log_c *lc = log->context; in userspace_postsuspend()
382 static int userspace_resume(struct dm_dirty_log *log) in userspace_resume() argument
385 struct log_c *lc = log->context; in userspace_resume()
394 static uint32_t userspace_get_region_size(struct dm_dirty_log *log) in userspace_get_region_size() argument
396 struct log_c *lc = log->context; in userspace_get_region_size()
409 static int userspace_is_clean(struct dm_dirty_log *log, region_t region) in userspace_is_clean() argument
415 struct log_c *lc = log->context; in userspace_is_clean()
436 static int userspace_in_sync(struct dm_dirty_log *log, region_t region, in userspace_in_sync() argument
443 struct log_c *lc = log->context; in userspace_in_sync()
564 static int userspace_flush(struct dm_dirty_log *log) in userspace_flush() argument
568 struct log_c *lc = log->context; in userspace_flush()
650 static void userspace_mark_region(struct dm_dirty_log *log, region_t region) in userspace_mark_region() argument
653 struct log_c *lc = log->context; in userspace_mark_region()
679 static void userspace_clear_region(struct dm_dirty_log *log, region_t region) in userspace_clear_region() argument
682 struct log_c *lc = log->context; in userspace_clear_region()
714 static int userspace_get_resync_work(struct dm_dirty_log *log, region_t *region) in userspace_get_resync_work() argument
718 struct log_c *lc = log->context; in userspace_get_resync_work()
741 static void userspace_set_region_sync(struct dm_dirty_log *log, in userspace_set_region_sync() argument
744 struct log_c *lc = log->context; in userspace_set_region_sync()
771 static region_t userspace_get_sync_count(struct dm_dirty_log *log) in userspace_get_sync_count() argument
776 struct log_c *lc = log->context; in userspace_get_sync_count()
796 static int userspace_status(struct dm_dirty_log *log, status_type_t status_type, in userspace_status() argument
802 struct log_c *lc = log->context; in userspace_status()
811 DMEMIT("%s 1 COM_FAILURE", log->type->name); in userspace_status()
820 DMEMIT("%s %u %s ", log->type->name, lc->usr_argc, lc->uuid); in userspace_status()
834 static int userspace_is_remote_recovering(struct dm_dirty_log *log, in userspace_is_remote_recovering() argument
839 struct log_c *lc = log->context; in userspace_is_remote_recovering()