Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/vmalloc.h>
#include <linux/dm-io.h>
#include <linux/dm-dirty-log.h>
#include <linux/device-mapper.h>
Go to the source code of this file.
Data Structures | |
struct | log_header_disk |
struct | log_header_core |
struct | log_c |
Macros | |
#define | DM_MSG_PREFIX "dirty region log" |
#define | MIRROR_MAGIC 0x4D695272 |
#define | MIRROR_DISK_VERSION 2 |
#define | LOG_OFFSET 2 |
#define | BYTE_SHIFT 3 |
#define | DMEMIT_SYNC |
Functions | |
int | dm_dirty_log_type_register (struct dm_dirty_log_type *type) |
EXPORT_SYMBOL (dm_dirty_log_type_register) | |
int | dm_dirty_log_type_unregister (struct dm_dirty_log_type *type) |
EXPORT_SYMBOL (dm_dirty_log_type_unregister) | |
struct dm_dirty_log * | dm_dirty_log_create (const char *type_name, struct dm_target *ti, int(*flush_callback_fn)(struct dm_target *ti), unsigned int argc, char **argv) |
EXPORT_SYMBOL (dm_dirty_log_create) | |
void | dm_dirty_log_destroy (struct dm_dirty_log *log) |
EXPORT_SYMBOL (dm_dirty_log_destroy) | |
module_init (dm_dirty_log_init) | |
module_exit (dm_dirty_log_exit) | |
MODULE_DESCRIPTION (DM_NAME" dirty region log") | |
MODULE_AUTHOR ("Joe Thornber, Heinz Mauelshagen <[email protected]>") | |
MODULE_LICENSE ("GPL") | |
Variables | |
struct log_header_disk | __packed |
#define DMEMIT_SYNC |
EXPORT_SYMBOL | ( | dm_dirty_log_type_register | ) |
EXPORT_SYMBOL | ( | dm_dirty_log_type_unregister | ) |
EXPORT_SYMBOL | ( | dm_dirty_log_create | ) |
EXPORT_SYMBOL | ( | dm_dirty_log_destroy | ) |
MODULE_AUTHOR | ( | "Joe | Thornber, |
Heinz Mauelshagen< dm-devel @redhat.com >" | |||
) |
module_exit | ( | dm_dirty_log_exit | ) |
module_init | ( | dm_dirty_log_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |