#include "dm-block-manager.h"
#include "dm-persistent-data-internal.h"
#include "../dm-bufio.h"
#include <linux/crc32c.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/rwsem.h>
#include <linux/device-mapper.h>
#include <linux/stacktrace.h>
Go to the source code of this file.
|
dm_block_t | dm_block_location (struct dm_block *b) |
|
| EXPORT_SYMBOL_GPL (dm_block_location) |
|
void * | dm_block_data (struct dm_block *b) |
|
| EXPORT_SYMBOL_GPL (dm_block_data) |
|
struct dm_block_manager * | dm_block_manager_create (struct block_device *bdev, unsigned block_size, unsigned cache_size, unsigned max_held_per_thread) |
|
| EXPORT_SYMBOL_GPL (dm_block_manager_create) |
|
void | dm_block_manager_destroy (struct dm_block_manager *bm) |
|
| EXPORT_SYMBOL_GPL (dm_block_manager_destroy) |
|
unsigned | dm_bm_block_size (struct dm_block_manager *bm) |
|
| EXPORT_SYMBOL_GPL (dm_bm_block_size) |
|
dm_block_t | dm_bm_nr_blocks (struct dm_block_manager *bm) |
|
int | dm_bm_read_lock (struct dm_block_manager *bm, dm_block_t b, struct dm_block_validator *v, struct dm_block **result) |
|
| EXPORT_SYMBOL_GPL (dm_bm_read_lock) |
|
int | dm_bm_write_lock (struct dm_block_manager *bm, dm_block_t b, struct dm_block_validator *v, struct dm_block **result) |
|
| EXPORT_SYMBOL_GPL (dm_bm_write_lock) |
|
int | dm_bm_read_try_lock (struct dm_block_manager *bm, dm_block_t b, struct dm_block_validator *v, struct dm_block **result) |
|
int | dm_bm_write_lock_zero (struct dm_block_manager *bm, dm_block_t b, struct dm_block_validator *v, struct dm_block **result) |
|
| EXPORT_SYMBOL_GPL (dm_bm_write_lock_zero) |
|
int | dm_bm_unlock (struct dm_block *b) |
|
| EXPORT_SYMBOL_GPL (dm_bm_unlock) |
|
int | dm_bm_flush_and_unlock (struct dm_block_manager *bm, struct dm_block *superblock) |
|
void | dm_bm_set_read_only (struct dm_block_manager *bm) |
|
| EXPORT_SYMBOL_GPL (dm_bm_set_read_only) |
|
u32 | dm_bm_checksum (const void *data, size_t len, u32 init_xor) |
|
| EXPORT_SYMBOL_GPL (dm_bm_checksum) |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_AUTHOR ("Joe Thornber <[email protected]>") |
|
| MODULE_DESCRIPTION ("Immutable metadata library for dm") |
|
#define DM_MSG_PREFIX "block manager" |
MODULE_DESCRIPTION |
( |
"Immutable metadata library for dm" |
| ) |
|