Searched refs:region_t (Results 1 – 7 of 7) sorted by relevance
/linux-2.6.39/include/linux/ |
D | dm-dirty-log.h | 18 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);
|
D | dm-region-hash.h | 42 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-2.6.39/drivers/md/ |
D | dm-region-hash.c | 103 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() 139 region_t dm_rh_get_region_key(struct dm_region *reg) in dm_rh_get_region_key() 166 region_t nr_regions) in dm_region_hash_create() 265 static unsigned rh_hash(struct dm_region_hash *rh, region_t region) in rh_hash() 270 static struct dm_region *__rh_lookup(struct dm_region_hash *rh, region_t region) in __rh_lookup() 287 static struct dm_region *__rh_alloc(struct dm_region_hash *rh, region_t region) in __rh_alloc() 323 static struct dm_region *__rh_find(struct dm_region_hash *rh, region_t region) in __rh_find() [all …]
|
D | dm-log-userspace-base.c | 19 region_t region; 34 region_t region_count; 302 static int userspace_is_clean(struct dm_dirty_log *log, region_t region) in userspace_is_clean() 329 static int userspace_in_sync(struct dm_dirty_log *log, region_t region, in userspace_in_sync() 498 static void userspace_mark_region(struct dm_dirty_log *log, region_t region) in userspace_mark_region() 527 static void userspace_clear_region(struct dm_dirty_log *log, region_t region) in userspace_clear_region() 562 static int userspace_get_resync_work(struct dm_dirty_log *log, region_t *region) in userspace_get_resync_work() 569 region_t r; in userspace_get_resync_work() 591 region_t region, int in_sync) in userspace_set_region_sync() 596 region_t r; in userspace_set_region_sync() [all …]
|
D | dm-log.c | 218 region_t sync_count; 664 static int core_is_clean(struct dm_dirty_log *log, region_t region) in core_is_clean() 670 static int core_in_sync(struct dm_dirty_log *log, region_t region, int block) in core_in_sync() 722 static void core_mark_region(struct dm_dirty_log *log, region_t region) in core_mark_region() 728 static void core_clear_region(struct dm_dirty_log *log, region_t region) in core_clear_region() 735 static int core_get_resync_work(struct dm_dirty_log *log, region_t *region) in core_get_resync_work() 758 static void core_set_region_sync(struct dm_dirty_log *log, region_t region, in core_set_region_sync() 773 static region_t core_get_sync_count(struct dm_dirty_log *log) in core_get_sync_count()
|
D | dm-raid1.c | 69 region_t nr_regions; 334 region_t key = dm_rh_get_region_key(reg); in recover() 433 region_t region = dm_rh_bio_to_region(ms->rh, bio); in mirror_available() 542 static inline int region_in_sync(struct mirror_set *ms, region_t region, in region_in_sync() 551 region_t region; in do_reads() 665 region_t region; in do_writes()
|
/linux-2.6.39/drivers/video/ |
D | sticore.h | 73 } region_t; typedef 330 region_t regions[STI_REGION_MAX];
|