Home
last modified time | relevance | path

Searched refs:region_t (Results 1 – 5 of 5) sorted by relevance

/drivers/md/
Ddm-region-hash.c103 region_t key;
116 static region_t dm_rh_sector_to_region(struct dm_region_hash *rh, sector_t sector) in dm_rh_sector_to_region()
121 sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region) in dm_rh_region_to_sector()
127 region_t dm_rh_bio_to_region(struct dm_region_hash *rh, struct bio *bio) in dm_rh_bio_to_region()
140 region_t dm_rh_get_region_key(struct dm_region *reg) in dm_rh_get_region_key()
167 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()
[all …]
Ddm-log-userspace-base.c21 region_t region;
37 region_t region_count;
401 static int userspace_is_clean(struct dm_dirty_log *log, region_t region) in userspace_is_clean()
428 static int userspace_in_sync(struct dm_dirty_log *log, region_t region, in userspace_in_sync()
641 static void userspace_mark_region(struct dm_dirty_log *log, region_t region) in userspace_mark_region()
670 static void userspace_clear_region(struct dm_dirty_log *log, region_t region) in userspace_clear_region()
705 static int userspace_get_resync_work(struct dm_dirty_log *log, region_t *region) in userspace_get_resync_work()
712 region_t r; in userspace_get_resync_work()
733 region_t region, int in_sync) in userspace_set_region_sync()
738 region_t r; in userspace_set_region_sync()
[all …]
Ddm-log.c224 region_t sync_count;
660 static int core_is_clean(struct dm_dirty_log *log, region_t region) in core_is_clean()
666 static int core_in_sync(struct dm_dirty_log *log, region_t region, int block) in core_in_sync()
718 static void core_mark_region(struct dm_dirty_log *log, region_t region) in core_mark_region()
724 static void core_clear_region(struct dm_dirty_log *log, region_t region) in core_clear_region()
731 static int core_get_resync_work(struct dm_dirty_log *log, region_t *region) in core_get_resync_work()
753 static void core_set_region_sync(struct dm_dirty_log *log, region_t region, in core_set_region_sync()
768 static region_t core_get_sync_count(struct dm_dirty_log *log) in core_get_sync_count()
Ddm-raid1.c66 region_t nr_regions;
148 region_t write_region;
333 region_t key = dm_rh_get_region_key(reg); in recover()
432 region_t region = dm_rh_bio_to_region(ms->rh, bio); in mirror_available()
541 static inline int region_in_sync(struct mirror_set *ms, region_t region, in region_in_sync()
550 region_t region; in do_reads()
673 region_t region; in do_writes()
/drivers/video/fbdev/
Dsticore.h74 } region_t; typedef
359 region_t regions[STI_REGION_MAX];