Go to the documentation of this file.
10 #ifndef _LINUX_DM_DIRTY_LOG
11 #define _LINUX_DM_DIRTY_LOG
15 #include <linux/types.h>
20 struct dm_dirty_log_type;
23 struct dm_dirty_log_type *
type;
28 struct dm_dirty_log_type {
36 unsigned argc,
char **argv);
43 int (*presuspend)(
struct dm_dirty_log *
log);
44 int (*postsuspend)(
struct dm_dirty_log *
log);
51 uint32_t (*get_region_size)(
struct dm_dirty_log *
log);
77 int (*flush)(
struct dm_dirty_log *
log);
107 void (*set_region_sync)(
struct dm_dirty_log *
log,
113 region_t (*get_sync_count)(
struct dm_dirty_log *
log);
119 char *
result,
unsigned maxlen);
141 int (*flush_callback_fn)(
struct dm_target *ti),
142 unsigned argc,
char **argv);