Searched refs:region_t (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/include/linux/ |
D | dm-dirty-log.h | 19 typedef sector_t region_t; typedef 58 int (*is_clean)(struct dm_dirty_log *log, region_t region); 71 int (*in_sync)(struct dm_dirty_log *log, region_t region, 86 void (*mark_region)(struct dm_dirty_log *log, region_t region); 87 void (*clear_region)(struct dm_dirty_log *log, region_t region); 101 int (*get_resync_work)(struct dm_dirty_log *log, region_t *region); 109 region_t region, int in_sync); 114 region_t (*get_sync_count)(struct dm_dirty_log *log); 130 int (*is_remote_recovering)(struct dm_dirty_log *log, region_t region);
|
D | dm-region-hash.h | 45 region_t nr_regions); 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); 61 region_t dm_rh_get_region_key(struct dm_region *reg); 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, 79 void dm_rh_dec(struct dm_region_hash *rh, region_t region);
|
/Linux-v6.6/drivers/md/ |
D | dm-region-hash.c | 107 region_t key; 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() 144 region_t dm_rh_get_region_key(struct dm_region *reg) in dm_rh_get_region_key() 171 region_t nr_regions) in dm_region_hash_create() 269 static unsigned int rh_hash(struct dm_region_hash *rh, region_t region) in rh_hash() 274 static struct dm_region *__rh_lookup(struct dm_region_hash *rh, region_t region) in __rh_lookup() 291 static struct dm_region *__rh_alloc(struct dm_region_hash *rh, region_t region) in __rh_alloc() 327 static struct dm_region *__rh_find(struct dm_region_hash *rh, region_t region) in __rh_find() [all …]
|
D | dm-log-userspace-base.c | 25 region_t region; 45 region_t region_count; 406 static int userspace_is_clean(struct dm_dirty_log *log, region_t region) in userspace_is_clean() 433 static int userspace_in_sync(struct dm_dirty_log *log, region_t region, in userspace_in_sync() 647 static void userspace_mark_region(struct dm_dirty_log *log, region_t region) in userspace_mark_region() 674 static void userspace_clear_region(struct dm_dirty_log *log, region_t region) in userspace_clear_region() 707 static int userspace_get_resync_work(struct dm_dirty_log *log, region_t *region) in userspace_get_resync_work() 714 region_t r; in userspace_get_resync_work() 735 region_t region, int in_sync) in userspace_set_region_sync() 739 region_t r; in userspace_set_region_sync() [all …]
|
D | dm-log.c | 227 region_t sync_count; 668 static int core_is_clean(struct dm_dirty_log *log, region_t region) in core_is_clean() 675 static int core_in_sync(struct dm_dirty_log *log, region_t region, int block) in core_in_sync() 728 static void core_mark_region(struct dm_dirty_log *log, region_t region) in core_mark_region() 735 static void core_clear_region(struct dm_dirty_log *log, region_t region) in core_clear_region() 743 static int core_get_resync_work(struct dm_dirty_log *log, region_t *region) in core_get_resync_work() 765 static void core_set_region_sync(struct dm_dirty_log *log, region_t region, in core_set_region_sync() 780 static region_t core_get_sync_count(struct dm_dirty_log *log) in core_get_sync_count()
|
D | dm-raid1.c | 75 region_t nr_regions; 155 region_t write_region; 341 region_t key = dm_rh_get_region_key(reg); in recover() 448 region_t region = dm_rh_bio_to_region(ms->rh, bio); in mirror_available() 560 static inline int region_in_sync(struct mirror_set *ms, region_t region, in region_in_sync() 569 region_t region; in do_reads() 694 region_t region; in do_writes()
|
/Linux-v6.6/include/video/ |
D | sticore.h | 70 } region_t; typedef 357 region_t regions[STI_REGION_MAX];
|