Linux Kernel
3.7.1
|
#include "dm.h"
#include <linux/module.h>
#include <linux/vmalloc.h>
#include <linux/blkdev.h>
#include <linux/namei.h>
#include <linux/ctype.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/mutex.h>
#include <linux/delay.h>
#include <linux/atomic.h>
Go to the source code of this file.
Data Structures | |
struct | dm_table |
Macros | |
#define | DM_MSG_PREFIX "table" |
#define | MAX_DEPTH 16 |
#define | NODE_SIZE L1_CACHE_BYTES |
#define | KEYS_PER_NODE (NODE_SIZE / sizeof(sector_t)) |
#define | CHILDREN_PER_NODE (KEYS_PER_NODE + 1) |
#define CHILDREN_PER_NODE (KEYS_PER_NODE + 1) |
Definition at line 27 of file dm-table.c.
#define DM_MSG_PREFIX "table" |
Definition at line 22 of file dm-table.c.
Definition at line 26 of file dm-table.c.
#define MAX_DEPTH 16 |
Definition at line 24 of file dm-table.c.
#define NODE_SIZE L1_CACHE_BYTES |
Definition at line 25 of file dm-table.c.
Definition at line 1253 of file dm-table.c.
void dm_consume_args | ( | struct dm_arg_set * | as, |
unsigned | num_args | ||
) |
Definition at line 888 of file dm-table.c.
int dm_get_device | ( | struct dm_target * | ti, |
const char * | path, | ||
fmode_t | mode, | ||
struct dm_dev ** | result | ||
) |
Definition at line 458 of file dm-table.c.
Definition at line 555 of file dm-table.c.
int dm_read_arg | ( | struct dm_arg * | arg, |
struct dm_arg_set * | arg_set, | ||
unsigned * | value, | ||
char ** | error | ||
) |
Definition at line 859 of file dm-table.c.
int dm_read_arg_group | ( | struct dm_arg * | arg, |
struct dm_arg_set * | arg_set, | ||
unsigned * | value, | ||
char ** | error | ||
) |
Definition at line 866 of file dm-table.c.
int dm_set_device_limits | ( | struct dm_target * | ti, |
struct dm_dev * | dev, | ||
sector_t | start, | ||
sector_t | len, | ||
void * | data | ||
) |
Definition at line 516 of file dm-table.c.
const char* dm_shift_arg | ( | struct dm_arg_set * | as | ) |
Definition at line 873 of file dm-table.c.
Definition at line 604 of file dm-table.c.
int dm_table_add_target | ( | struct dm_table * | t, |
const char * | type, | ||
sector_t | start, | ||
sector_t | len, | ||
char * | params | ||
) |
Definition at line 738 of file dm-table.c.
void dm_table_add_target_callbacks | ( | struct dm_table * | t, |
struct dm_target_callbacks * | cb | ||
) |
Definition at line 1546 of file dm-table.c.
Definition at line 967 of file dm-table.c.
Definition at line 1578 of file dm-table.c.
Definition at line 1552 of file dm-table.c.
Definition at line 1124 of file dm-table.c.
int dm_table_create | ( | struct dm_table ** | result, |
fmode_t | mode, | ||
unsigned | num_targets, | ||
struct mapped_device * | md | ||
) |
Definition at line 201 of file dm-table.c.
Definition at line 243 of file dm-table.c.
Definition at line 1163 of file dm-table.c.
Definition at line 1154 of file dm-table.c.
Definition at line 1198 of file dm-table.c.
Definition at line 983 of file dm-table.c.
Definition at line 278 of file dm-table.c.
Definition at line 1478 of file dm-table.c.
|
read |
Definition at line 957 of file dm-table.c.
|
read |
Definition at line 1592 of file dm-table.c.
|
read |
Definition at line 989 of file dm-table.c.
Definition at line 1483 of file dm-table.c.
Definition at line 1473 of file dm-table.c.
Definition at line 1178 of file dm-table.c.
Definition at line 1184 of file dm-table.c.
Definition at line 952 of file dm-table.c.
Definition at line 1231 of file dm-table.c.
Definition at line 1513 of file dm-table.c.
Definition at line 1505 of file dm-table.c.
Definition at line 284 of file dm-table.c.
Definition at line 962 of file dm-table.c.
Definition at line 1521 of file dm-table.c.
void dm_table_set_restrictions | ( | struct dm_table * | t, |
struct request_queue * | q, | ||
struct queue_limits * | limits | ||
) |
Definition at line 1417 of file dm-table.c.
Definition at line 1606 of file dm-table.c.
Definition at line 146 of file dm-table.c.
EXPORT_SYMBOL | ( | dm_vcalloc | ) |
EXPORT_SYMBOL | ( | dm_table_get | ) |
EXPORT_SYMBOL | ( | dm_table_put | ) |
EXPORT_SYMBOL | ( | dm_get_device | ) |
EXPORT_SYMBOL | ( | dm_put_device | ) |
EXPORT_SYMBOL | ( | dm_read_arg | ) |
EXPORT_SYMBOL | ( | dm_read_arg_group | ) |
EXPORT_SYMBOL | ( | dm_shift_arg | ) |
EXPORT_SYMBOL | ( | dm_consume_args | ) |
EXPORT_SYMBOL | ( | dm_table_event | ) |
EXPORT_SYMBOL | ( | dm_table_get_size | ) |
EXPORT_SYMBOL | ( | dm_table_get_mode | ) |
EXPORT_SYMBOL | ( | dm_table_get_md | ) |
EXPORT_SYMBOL_GPL | ( | dm_set_device_limits | ) |
EXPORT_SYMBOL_GPL | ( | dm_table_add_target_callbacks | ) |