Lines Matching refs:log
65 struct dm_dirty_log *log; member
170 struct dm_dirty_log *log, uint32_t region_size, in dm_region_hash_create() argument
199 rh->log = log; in dm_region_hash_create()
254 if (rh->log) in dm_region_hash_destroy()
255 dm_dirty_log_destroy(rh->log); in dm_region_hash_destroy()
265 return rh->log; in dm_rh_dirty_log()
299 nreg->state = rh->log->type->in_sync(rh->log, region, 1) ? in __rh_alloc()
357 r = rh->log->type->in_sync(rh->log, region, may_block); in dm_rh_get_state()
371 rh->log->type->set_region_sync(rh->log, reg->key, success); in complete_resync_work()
401 struct dm_dirty_log *log = rh->log; in dm_rh_mark_nosync() local
415 log->type->set_region_sync(log, region, 0); in dm_rh_mark_nosync()
487 rh->log->type->clear_region(rh->log, reg->key); in dm_rh_update_states()
498 rh->log->type->clear_region(rh->log, reg->key); in dm_rh_update_states()
502 rh->log->type->flush(rh->log); in dm_rh_update_states()
521 rh->log->type->mark_region(rh->log, reg->key); in rh_inc()
599 r = rh->log->type->get_resync_work(rh->log, ®ion); in __rh_recovery_prepare()
689 return rh->log->type->flush(rh->log); in dm_rh_flush()