Lines Matching refs:log

191 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()
351 static int userspace_presuspend(struct dm_dirty_log *log) in userspace_presuspend() argument
354 struct log_c *lc = log->context; in userspace_presuspend()
362 static int userspace_postsuspend(struct dm_dirty_log *log) in userspace_postsuspend() argument
365 struct log_c *lc = log->context; in userspace_postsuspend()
379 static int userspace_resume(struct dm_dirty_log *log) in userspace_resume() argument
382 struct log_c *lc = log->context; in userspace_resume()
391 static uint32_t userspace_get_region_size(struct dm_dirty_log *log) in userspace_get_region_size() argument
393 struct log_c *lc = log->context; in userspace_get_region_size()
406 static int userspace_is_clean(struct dm_dirty_log *log, region_t region) in userspace_is_clean() argument
412 struct log_c *lc = log->context; in userspace_is_clean()
433 static int userspace_in_sync(struct dm_dirty_log *log, region_t region, in userspace_in_sync() argument
440 struct log_c *lc = log->context; in userspace_in_sync()
561 static int userspace_flush(struct dm_dirty_log *log) in userspace_flush() argument
565 struct log_c *lc = log->context; in userspace_flush()
647 static void userspace_mark_region(struct dm_dirty_log *log, region_t region) in userspace_mark_region() argument
650 struct log_c *lc = log->context; in userspace_mark_region()
674 static void userspace_clear_region(struct dm_dirty_log *log, region_t region) in userspace_clear_region() argument
677 struct log_c *lc = log->context; in userspace_clear_region()
707 static int userspace_get_resync_work(struct dm_dirty_log *log, region_t *region) in userspace_get_resync_work() argument
711 struct log_c *lc = log->context; in userspace_get_resync_work()
734 static void userspace_set_region_sync(struct dm_dirty_log *log, in userspace_set_region_sync() argument
737 struct log_c *lc = log->context; in userspace_set_region_sync()
763 static region_t userspace_get_sync_count(struct dm_dirty_log *log) in userspace_get_sync_count() argument
768 struct log_c *lc = log->context; in userspace_get_sync_count()
788 static int userspace_status(struct dm_dirty_log *log, status_type_t status_type, in userspace_status() argument
794 struct log_c *lc = log->context; in userspace_status()
803 DMEMIT("%s 1 COM_FAILURE", log->type->name); in userspace_status()
812 DMEMIT("%s %u %s ", log->type->name, lc->usr_argc, lc->uuid); in userspace_status()
829 static int userspace_is_remote_recovering(struct dm_dirty_log *log, in userspace_is_remote_recovering() argument
834 struct log_c *lc = log->context; in userspace_is_remote_recovering()