Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/md/
Ddm-region-hash.c105 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()
[all …]
Ddm-raid1.c305 struct dm_region *reg = context; in recovery_complete()
335 static void recover(struct mirror_set *ms, struct dm_region *reg) in recover()
392 struct dm_region *reg; in do_recovery()
/Linux-v6.6/include/linux/
Ddm-region-hash.h22 struct dm_region;
55 void *dm_rh_region_context(struct dm_region *reg);
61 region_t dm_rh_get_region_key(struct dm_region *reg);
94 struct dm_region *dm_rh_recovery_start(struct dm_region_hash *rh);
97 void dm_rh_recovery_end(struct dm_region *reg, int error);