Home
last modified time | relevance | path

Searched refs:dm_dirty_log (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/include/linux/ !
Ddm-dirty-log.h22 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 …]
Ddm-region-hash.h41 struct dm_dirty_log *log, uint32_t region_size,
45 struct dm_dirty_log *dm_rh_dirty_log(struct dm_region_hash *rh);
/linux-6.1.9/drivers/md/ !
Ddm-log.c147 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()
361 static int create_log_context(struct dm_dirty_log *log, struct dm_target *ti, in create_log_context()
513 static int core_ctr(struct dm_dirty_log *log, struct dm_target *ti, in core_ctr()
526 static void core_dtr(struct dm_dirty_log *log) in core_dtr()
539 static int disk_ctr(struct dm_dirty_log *log, struct dm_target *ti, in disk_ctr()
563 static void disk_dtr(struct dm_dirty_log *log) in disk_dtr()
582 static int disk_resume(struct dm_dirty_log *log) in disk_resume()
646 static uint32_t core_get_region_size(struct dm_dirty_log *log) in core_get_region_size()
[all …]
Ddm-log-userspace-base.c190 static int userspace_ctr(struct dm_dirty_log *log, struct dm_target *ti, in userspace_ctr()
326 static void userspace_dtr(struct dm_dirty_log *log) in userspace_dtr()
352 static int userspace_presuspend(struct dm_dirty_log *log) in userspace_presuspend()
363 static int userspace_postsuspend(struct dm_dirty_log *log) in userspace_postsuspend()
380 static int userspace_resume(struct dm_dirty_log *log) in userspace_resume()
392 static uint32_t userspace_get_region_size(struct dm_dirty_log *log) in userspace_get_region_size()
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()
562 static int userspace_flush(struct dm_dirty_log *log) in userspace_flush()
648 static void userspace_mark_region(struct dm_dirty_log *log, region_t region) in userspace_mark_region()
[all …]
Ddm-raid1.c386 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in do_recovery()
438 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in mirror_available()
683 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in do_writes()
877 struct dm_dirty_log *dl) in alloc_context()
965 static struct dm_dirty_log *create_dirty_log(struct dm_target *ti, in create_dirty_log()
970 struct dm_dirty_log *dl; in create_dirty_log()
1066 struct dm_dirty_log *dl; in mirror_ctr()
1187 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in mirror_map()
1301 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in mirror_presuspend()
1347 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh); in mirror_postsuspend()
[all …]
Ddm-region-hash.c62 struct dm_dirty_log *log;
167 struct dm_dirty_log *log, uint32_t region_size, in dm_region_hash_create()
260 struct dm_dirty_log *dm_rh_dirty_log(struct dm_region_hash *rh) in dm_rh_dirty_log()
398 struct dm_dirty_log *log = rh->log; in dm_rh_mark_nosync()