Linux Kernel
3.7.1
|
#include "dm-space-map.h"
#include "dm-space-map-common.h"
#include "dm-space-map-metadata.h"
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/device-mapper.h>
Go to the source code of this file.
Data Structures | |
struct | block_op |
struct | sm_metadata |
Macros | |
#define | DM_MSG_PREFIX "space map metadata" |
#define | MAX_RECURSIVE_ALLOCATIONS 1024 |
Enumerations | |
enum | block_op_type { BOP_INC, BOP_DEC } |
Functions | |
struct dm_space_map * | dm_sm_metadata_init (void) |
int | dm_sm_metadata_create (struct dm_space_map *sm, struct dm_transaction_manager *tm, dm_block_t nr_blocks, dm_block_t superblock) |
int | dm_sm_metadata_open (struct dm_space_map *sm, struct dm_transaction_manager *tm, void *root_le, size_t len) |
#define DM_MSG_PREFIX "space map metadata" |
Definition at line 15 of file dm-space-map-metadata.c.
#define MAX_RECURSIVE_ALLOCATIONS 1024 |
Definition at line 33 of file dm-space-map-metadata.c.
enum block_op_type |
Definition at line 35 of file dm-space-map-metadata.c.
int dm_sm_metadata_create | ( | struct dm_space_map * | sm, |
struct dm_transaction_manager * | tm, | ||
dm_block_t | nr_blocks, | ||
dm_block_t | superblock | ||
) |
Definition at line 538 of file dm-space-map-metadata.c.
|
read |
Definition at line 525 of file dm-space-map-metadata.c.
int dm_sm_metadata_open | ( | struct dm_space_map * | sm, |
struct dm_transaction_manager * | tm, | ||
void * | root_le, | ||
size_t | len | ||
) |
Definition at line 578 of file dm-space-map-metadata.c.