Linux Kernel
3.7.1
|
#include "dm.h"
#include <linux/module.h>
#include <linux/vmalloc.h>
#include <linux/miscdevice.h>
#include <linux/init.h>
#include <linux/wait.h>
#include <linux/slab.h>
#include <linux/dm-ioctl.h>
#include <linux/hdreg.h>
#include <linux/compat.h>
#include <asm/uaccess.h>
Go to the source code of this file.
Data Structures | |
struct | hash_cell |
struct | vers_iter |
Macros | |
#define | DM_MSG_PREFIX "ioctl" |
#define | DM_DRIVER_EMAIL "[email protected]" |
#define | NUM_BUCKETS 64 |
#define | MASK_BUCKETS (NUM_BUCKETS - 1) |
#define | ALIGN_MASK 7 |
#define | dm_compat_ctl_ioctl NULL |
Typedefs | |
typedef int(* | ioctl_fn )(struct dm_ioctl *param, size_t param_size) |
Functions | |
MODULE_ALIAS_MISCDEV (MAPPER_CTRL_MINOR) | |
MODULE_ALIAS ("devname:"DM_DIR"/"DM_CONTROL_NODE) | |
int __init | dm_interface_init (void) |
void | dm_interface_exit (void) |
: Buffer (size DM_NAME_LEN) for name | |
dm_copy_name_and_uuid - Copy mapped device name & uuid into supplied buffers : Pointer to mapped_device : Buffer (size DM_UUID_LEN) for uuid or empty string if uuid not defined | |
int | dm_copy_name_and_uuid (struct mapped_device *md, char *name, char *uuid) |
#define ALIGN_MASK 7 |
Definition at line 456 of file dm-ioctl.c.
#define dm_compat_ctl_ioctl NULL |
Definition at line 1702 of file dm-ioctl.c.
#define DM_DRIVER_EMAIL "[email protected]" |
Definition at line 23 of file dm-ioctl.c.
#define DM_MSG_PREFIX "ioctl" |
Definition at line 22 of file dm-ioctl.c.
#define MASK_BUCKETS (NUM_BUCKETS - 1) |
Definition at line 48 of file dm-ioctl.c.
#define NUM_BUCKETS 64 |
Definition at line 47 of file dm-ioctl.c.
Definition at line 444 of file dm-ioctl.c.
int dm_copy_name_and_uuid | ( | struct mapped_device * | md, |
char * | name, | ||
char * | uuid | ||
) |
Definition at line 1761 of file dm-ioctl.c.
Definition at line 1747 of file dm-ioctl.c.
Definition at line 1726 of file dm-ioctl.c.
MODULE_ALIAS | ( | "devname:"DM_DIR"/" | DM_CONTROL_NODE | ) |
MODULE_ALIAS_MISCDEV | ( | MAPPER_CTRL_MINOR | ) |