Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Ddm-dirty-log.h18 typedef sector_t region_t; typedef
57 int (*is_clean)(struct dm_dirty_log *log, region_t region);
70 int (*in_sync)(struct dm_dirty_log *log, region_t region,
85 void (*mark_region)(struct dm_dirty_log *log, region_t region);
86 void (*clear_region)(struct dm_dirty_log *log, region_t region);
100 int (*get_resync_work)(struct dm_dirty_log *log, region_t *region);
108 region_t region, int in_sync);
113 region_t (*get_sync_count)(struct dm_dirty_log *log);
129 int (*is_remote_recovering)(struct dm_dirty_log *log, region_t region);
Ddm-region-hash.h42 region_t nr_regions);
50 region_t dm_rh_bio_to_region(struct dm_region_hash *rh, struct bio *bio);
51 sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region);
58 region_t dm_rh_get_region_key(struct dm_region *reg);
64 int dm_rh_get_state(struct dm_region_hash *rh, region_t region, int may_block);
65 void dm_rh_set_state(struct dm_region_hash *rh, region_t region,
76 void dm_rh_dec(struct dm_region_hash *rh, region_t region);
/Linux-v5.10/drivers/md/
Ddm-region-hash.c104 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()
[all …]
Ddm-log-userspace-base.c24 region_t region;
44 region_t region_count;
407 static int userspace_is_clean(struct dm_dirty_log *log, region_t region) in userspace_is_clean()
434 static int userspace_in_sync(struct dm_dirty_log *log, region_t region, in userspace_in_sync()
648 static void userspace_mark_region(struct dm_dirty_log *log, region_t region) in userspace_mark_region()
677 static void userspace_clear_region(struct dm_dirty_log *log, region_t region) in userspace_clear_region()
712 static int userspace_get_resync_work(struct dm_dirty_log *log, region_t *region) in userspace_get_resync_work()
719 region_t r; in userspace_get_resync_work()
740 region_t region, int in_sync) in userspace_set_region_sync()
744 region_t r; in userspace_set_region_sync()
[all …]
Ddm-log.c224 region_t sync_count;
662 static int core_is_clean(struct dm_dirty_log *log, region_t region) in core_is_clean()
668 static int core_in_sync(struct dm_dirty_log *log, region_t region, int block) in core_in_sync()
720 static void core_mark_region(struct dm_dirty_log *log, region_t region) in core_mark_region()
726 static void core_clear_region(struct dm_dirty_log *log, region_t region) in core_clear_region()
733 static int core_get_resync_work(struct dm_dirty_log *log, region_t *region) in core_get_resync_work()
755 static void core_set_region_sync(struct dm_dirty_log *log, region_t region, in core_set_region_sync()
770 static region_t core_get_sync_count(struct dm_dirty_log *log) in core_get_sync_count()
Ddm-raid1.c70 region_t nr_regions;
150 region_t write_region;
335 region_t key = dm_rh_get_region_key(reg); in recover()
440 region_t region = dm_rh_bio_to_region(ms->rh, bio); in mirror_available()
552 static inline int region_in_sync(struct mirror_set *ms, region_t region, in region_in_sync()
561 region_t region; in do_reads()
686 region_t region; in do_writes()
/Linux-v5.10/drivers/video/fbdev/
Dsticore.h69 } region_t; typedef
355 region_t regions[STI_REGION_MAX];