Linux Kernel
3.7.1
|
#include "dm.h"
#include "dm-bio-prison.h"
#include <linux/spinlock.h>
#include <linux/mempool.h>
#include <linux/module.h>
#include <linux/slab.h>
Go to the source code of this file.
Data Structures | |
struct | dm_bio_prison_cell |
struct | dm_bio_prison |
struct | dm_deferred_entry |
struct | dm_deferred_set |
Macros | |
#define | DEFERRED_SET_SIZE 64 |
#define DEFERRED_SET_SIZE 64 |
Definition at line 279 of file dm-bio-prison.c.
int dm_bio_detain | ( | struct dm_bio_prison * | prison, |
struct dm_cell_key * | key, | ||
struct bio * | inmate, | ||
struct dm_bio_prison_cell ** | ref | ||
) |
Definition at line 124 of file dm-bio-prison.c.
|
read |
Definition at line 55 of file dm-bio-prison.c.
void dm_bio_prison_destroy | ( | struct dm_bio_prison * | prison | ) |
Definition at line 83 of file dm-bio-prison.c.
void dm_cell_error | ( | struct dm_bio_prison_cell * | cell | ) |
Definition at line 259 of file dm-bio-prison.c.
void dm_cell_release | ( | struct dm_bio_prison_cell * | cell, |
struct bio_list * | bios | ||
) |
Definition at line 199 of file dm-bio-prison.c.
void dm_cell_release_no_holder | ( | struct dm_bio_prison_cell * | cell, |
struct bio_list * | inmates | ||
) |
Definition at line 248 of file dm-bio-prison.c.
void dm_cell_release_singleton | ( | struct dm_bio_prison_cell * | cell, |
struct bio * | bio | ||
) |
Definition at line 224 of file dm-bio-prison.c.
void dm_deferred_entry_dec | ( | struct dm_deferred_entry * | entry, |
struct list_head * | head | ||
) |
Definition at line 353 of file dm-bio-prison.c.
|
read |
Definition at line 322 of file dm-bio-prison.c.
int dm_deferred_set_add_work | ( | struct dm_deferred_set * | ds, |
struct list_head * | work | ||
) |
Definition at line 368 of file dm-bio-prison.c.
|
read |
Definition at line 294 of file dm-bio-prison.c.
void dm_deferred_set_destroy | ( | struct dm_deferred_set * | ds | ) |
Definition at line 316 of file dm-bio-prison.c.
EXPORT_SYMBOL_GPL | ( | dm_bio_prison_create | ) |
EXPORT_SYMBOL_GPL | ( | dm_bio_prison_destroy | ) |
EXPORT_SYMBOL_GPL | ( | dm_bio_detain | ) |
EXPORT_SYMBOL_GPL | ( | dm_cell_release | ) |
EXPORT_SYMBOL_GPL | ( | dm_cell_release_singleton | ) |
EXPORT_SYMBOL_GPL | ( | dm_cell_release_no_holder | ) |
EXPORT_SYMBOL_GPL | ( | dm_cell_error | ) |
EXPORT_SYMBOL_GPL | ( | dm_deferred_set_create | ) |
EXPORT_SYMBOL_GPL | ( | dm_deferred_set_destroy | ) |
EXPORT_SYMBOL_GPL | ( | dm_deferred_entry_inc | ) |
EXPORT_SYMBOL_GPL | ( | dm_deferred_entry_dec | ) |
EXPORT_SYMBOL_GPL | ( | dm_deferred_set_add_work | ) |
MODULE_AUTHOR | ( | "Joe Thornber <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | DM_NAME" bio prison" | ) |
module_exit | ( | dm_bio_prison_exit | ) |
module_init | ( | dm_bio_prison_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |