Searched refs:dm_dirty_log (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/include/linux/ |
D | dm-dirty-log.h | 23 struct dm_dirty_log { struct 36 int (*ctr)(struct dm_dirty_log *log, struct dm_target *ti, argument 38 void (*dtr)(struct dm_dirty_log *log); 44 int (*presuspend)(struct dm_dirty_log *log); 45 int (*postsuspend)(struct dm_dirty_log *log); 46 int (*resume)(struct dm_dirty_log *log); 52 uint32_t (*get_region_size)(struct dm_dirty_log *log); 58 int (*is_clean)(struct dm_dirty_log *log, region_t region); 71 int (*in_sync)(struct dm_dirty_log *log, region_t region, 78 int (*flush)(struct dm_dirty_log *log); [all …]
|
D | dm-region-hash.h | 44 struct dm_dirty_log *log, uint32_t region_size, 48 struct dm_dirty_log *dm_rh_dirty_log(struct dm_region_hash *rh);
|
/linux-6.6.21/drivers/md/ |
D | dm-log.c | 148 struct dm_dirty_log *dm_dirty_log_create(const char *type_name, in dm_dirty_log_create() 154 struct dm_dirty_log *log; in dm_dirty_log_create() 178 void dm_dirty_log_destroy(struct dm_dirty_log *log) in dm_dirty_log_destroy() 368 static int create_log_context(struct dm_dirty_log *log, struct dm_target *ti, in create_log_context() 518 static int core_ctr(struct dm_dirty_log *log, struct dm_target *ti, in core_ctr() 531 static void core_dtr(struct dm_dirty_log *log) in core_dtr() 546 static int disk_ctr(struct dm_dirty_log *log, struct dm_target *ti, in disk_ctr() 570 static void disk_dtr(struct dm_dirty_log *log) in disk_dtr() 589 static int disk_resume(struct dm_dirty_log *log) in disk_resume() 653 static uint32_t core_get_region_size(struct dm_dirty_log *log) in core_get_region_size() [all …]
|
D | dm-log-userspace-base.c | 191 static int userspace_ctr(struct dm_dirty_log *log, struct dm_target *ti, in userspace_ctr() 327 static void userspace_dtr(struct dm_dirty_log *log) in userspace_dtr() 351 static int userspace_presuspend(struct dm_dirty_log *log) in userspace_presuspend() 362 static int userspace_postsuspend(struct dm_dirty_log *log) in userspace_postsuspend() 379 static int userspace_resume(struct dm_dirty_log *log) in userspace_resume() 391 static uint32_t userspace_get_region_size(struct dm_dirty_log *log) in userspace_get_region_size() 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() 561 static int userspace_flush(struct dm_dirty_log *log) in userspace_flush() 647 static void userspace_mark_region(struct dm_dirty_log *log, region_t region) in userspace_mark_region() [all …]
|
D | dm-raid1.c | 393 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in do_recovery() 447 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in mirror_available() 693 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in do_writes() 891 struct dm_dirty_log *dl) in alloc_context() 979 static struct dm_dirty_log *create_dirty_log(struct dm_target *ti, in create_dirty_log() 984 struct dm_dirty_log *dl; in create_dirty_log() 1080 struct dm_dirty_log *dl; in mirror_ctr() 1201 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in mirror_map() 1315 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in mirror_presuspend() 1361 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in mirror_postsuspend() [all …]
|
D | dm-region-hash.c | 65 struct dm_dirty_log *log; 170 struct dm_dirty_log *log, uint32_t region_size, in dm_region_hash_create() 263 struct dm_dirty_log *dm_rh_dirty_log(struct dm_region_hash *rh) in dm_rh_dirty_log() 401 struct dm_dirty_log *log = rh->log; in dm_rh_mark_nosync()
|