Lines Matching refs:dm_region
105 struct dm_region { struct
138 void *dm_rh_region_context(struct dm_region *reg) in dm_rh_region_context()
144 region_t dm_rh_get_region_key(struct dm_region *reg) in dm_rh_get_region_key()
229 sizeof(struct dm_region)); in dm_region_hash_create()
243 struct dm_region *reg, *nreg; in dm_region_hash_destroy()
274 static struct dm_region *__rh_lookup(struct dm_region_hash *rh, region_t region) in __rh_lookup()
276 struct dm_region *reg; in __rh_lookup()
286 static void __rh_insert(struct dm_region_hash *rh, struct dm_region *reg) in __rh_insert()
291 static struct dm_region *__rh_alloc(struct dm_region_hash *rh, region_t region) in __rh_alloc()
293 struct dm_region *reg, *nreg; in __rh_alloc()
327 static struct dm_region *__rh_find(struct dm_region_hash *rh, region_t region) in __rh_find()
329 struct dm_region *reg; in __rh_find()
344 struct dm_region *reg; in dm_rh_get_state()
367 static void complete_resync_work(struct dm_region *reg, int success) in complete_resync_work()
402 struct dm_region *reg; in dm_rh_mark_nosync()
445 struct dm_region *reg, *next; in dm_rh_update_states()
508 struct dm_region *reg; in rh_inc()
544 struct dm_region *reg; in dm_rh_dec()
594 struct dm_region *reg; in __rh_recovery_prepare()
648 struct dm_region *dm_rh_recovery_start(struct dm_region_hash *rh) in dm_rh_recovery_start()
650 struct dm_region *reg = NULL; in dm_rh_recovery_start()
655 struct dm_region, list); in dm_rh_recovery_start()
664 void dm_rh_recovery_end(struct dm_region *reg, int success) in dm_rh_recovery_end()
695 struct dm_region *reg; in dm_rh_delay()