Lines Matching refs:region_t
104 region_t key;
117 static region_t dm_rh_sector_to_region(struct dm_region_hash *rh, sector_t sector) in dm_rh_sector_to_region()
122 sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region) in dm_rh_region_to_sector()
128 region_t dm_rh_bio_to_region(struct dm_region_hash *rh, struct bio *bio) in dm_rh_bio_to_region()
141 region_t dm_rh_get_region_key(struct dm_region *reg) in dm_rh_get_region_key()
168 region_t nr_regions) in dm_region_hash_create()
266 static unsigned rh_hash(struct dm_region_hash *rh, region_t region) in rh_hash()
271 static struct dm_region *__rh_lookup(struct dm_region_hash *rh, region_t region) in __rh_lookup()
288 static struct dm_region *__rh_alloc(struct dm_region_hash *rh, region_t region) in __rh_alloc()
324 static struct dm_region *__rh_find(struct dm_region_hash *rh, region_t region) in __rh_find()
338 int dm_rh_get_state(struct dm_region_hash *rh, region_t region, int may_block) in dm_rh_get_state()
400 region_t region = dm_rh_bio_to_region(rh, bio); in dm_rh_mark_nosync()
503 static void rh_inc(struct dm_region_hash *rh, region_t region) in rh_inc()
538 void dm_rh_dec(struct dm_region_hash *rh, region_t region) in dm_rh_dec()
590 region_t region; in __rh_recovery_prepare()