Searched refs:dm_dirty_log (Results 1 – 8 of 8) sorted by relevance
/linux-2.6.39/include/linux/ |
D | dm-dirty-log.h | 22 struct dm_dirty_log { struct 35 int (*ctr)(struct dm_dirty_log *log, struct dm_target *ti, argument 37 void (*dtr)(struct dm_dirty_log *log); 43 int (*presuspend)(struct dm_dirty_log *log); 44 int (*postsuspend)(struct dm_dirty_log *log); 45 int (*resume)(struct dm_dirty_log *log); 51 uint32_t (*get_region_size)(struct dm_dirty_log *log); 57 int (*is_clean)(struct dm_dirty_log *log, region_t region); 70 int (*in_sync)(struct dm_dirty_log *log, region_t region, 77 int (*flush)(struct dm_dirty_log *log); [all …]
|
D | dm-region-hash.h | 41 struct dm_dirty_log *log, uint32_t region_size, 45 struct dm_dirty_log *dm_rh_dirty_log(struct dm_region_hash *rh);
|
/linux-2.6.39/drivers/md/ |
D | dm-log.c | 147 struct dm_dirty_log *dm_dirty_log_create(const char *type_name, in dm_dirty_log_create() 153 struct dm_dirty_log *log; in dm_dirty_log_create() 177 void dm_dirty_log_destroy(struct dm_dirty_log *log) in dm_dirty_log_destroy() 355 static int create_log_context(struct dm_dirty_log *log, struct dm_target *ti, in create_log_context() 509 static int core_ctr(struct dm_dirty_log *log, struct dm_target *ti, in core_ctr() 522 static void core_dtr(struct dm_dirty_log *log) in core_dtr() 535 static int disk_ctr(struct dm_dirty_log *log, struct dm_target *ti, in disk_ctr() 559 static void disk_dtr(struct dm_dirty_log *log) in disk_dtr() 588 static int disk_resume(struct dm_dirty_log *log) in disk_resume() 651 static uint32_t core_get_region_size(struct dm_dirty_log *log) in core_get_region_size() [all …]
|
D | dm-log-userspace-base.c | 155 static int userspace_ctr(struct dm_dirty_log *log, struct dm_target *ti, in userspace_ctr() 236 static void userspace_dtr(struct dm_dirty_log *log) in userspace_dtr() 250 static int userspace_presuspend(struct dm_dirty_log *log) in userspace_presuspend() 262 static int userspace_postsuspend(struct dm_dirty_log *log) in userspace_postsuspend() 274 static int userspace_resume(struct dm_dirty_log *log) in userspace_resume() 287 static uint32_t userspace_get_region_size(struct dm_dirty_log *log) in userspace_get_region_size() 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() 443 static int userspace_flush(struct dm_dirty_log *log) in userspace_flush() 498 static void userspace_mark_region(struct dm_dirty_log *log, region_t region) in userspace_mark_region() [all …]
|
D | dm-raid1.c | 377 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in do_recovery() 432 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in mirror_available() 664 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in do_writes() 853 struct dm_dirty_log *dl) in alloc_context() 952 static struct dm_dirty_log *create_dirty_log(struct dm_target *ti, in create_dirty_log() 957 struct dm_dirty_log *dl; in create_dirty_log() 1040 struct dm_dirty_log *dl; in mirror_ctr() 1156 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in mirror_map() 1270 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in mirror_presuspend() 1316 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in mirror_postsuspend() [all …]
|
D | dm-region-hash.c | 62 struct dm_dirty_log *log; 165 struct dm_dirty_log *log, uint32_t region_size, in dm_region_hash_create() 259 struct dm_dirty_log *dm_rh_dirty_log(struct dm_region_hash *rh) in dm_rh_dirty_log() 397 struct dm_dirty_log *log = rh->log; in dm_rh_mark_nosync()
|
D | md.h | 309 struct dm_dirty_log *log;
|
D | bitmap.c | 842 struct dm_dirty_log *log = bitmap->mddev->bitmap_info.log; in bitmap_file_set_bit() 879 struct dm_dirty_log *log = bitmap->mddev->bitmap_info.log; in bitmap_unplug() 1124 struct dm_dirty_log *log = mddev->bitmap_info.log; in bitmap_daemon_work() 1804 struct dm_dirty_log *log = mddev->bitmap_info.log; in bitmap_load()
|