Home
last modified time | relevance | path

Searched refs:dm_region_hash (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/include/linux/
Ddm-region-hash.h21 struct dm_region_hash;
38 struct dm_region_hash *dm_region_hash_create(
46 void dm_region_hash_destroy(struct dm_region_hash *rh);
48 struct dm_dirty_log *dm_rh_dirty_log(struct dm_region_hash *rh);
53 region_t dm_rh_bio_to_region(struct dm_region_hash *rh, struct bio *bio);
54 sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region);
60 sector_t dm_rh_get_region_size(struct dm_region_hash *rh);
67 int dm_rh_get_state(struct dm_region_hash *rh, region_t region, int may_block);
68 void dm_rh_set_state(struct dm_region_hash *rh, region_t region,
72 void dm_rh_update_states(struct dm_region_hash *rh, int errors_handled);
[all …]
/Linux-v6.6/drivers/md/
Ddm-region-hash.c60 struct dm_region_hash { struct
106 struct dm_region_hash *rh; /* FIXME: can we get rid of this ? */ argument
120 static region_t dm_rh_sector_to_region(struct dm_region_hash *rh, sector_t sector) in dm_rh_sector_to_region()
125 sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region) in dm_rh_region_to_sector()
131 region_t dm_rh_bio_to_region(struct dm_region_hash *rh, struct bio *bio) in dm_rh_bio_to_region()
150 sector_t dm_rh_get_region_size(struct dm_region_hash *rh) in dm_rh_get_region_size()
164 struct dm_region_hash *dm_region_hash_create( in dm_region_hash_create()
173 struct dm_region_hash *rh; in dm_region_hash_create()
240 void dm_region_hash_destroy(struct dm_region_hash *rh) in dm_region_hash_destroy()
263 struct dm_dirty_log *dm_rh_dirty_log(struct dm_region_hash *rh) in dm_rh_dirty_log()
[all …]
Ddm-raid1.c70 struct dm_region_hash *rh;