Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | DM_MSG_PREFIX "btree spine" |
#define | BTREE_CSUM_XOR 121107 |
Functions | |
int | new_block (struct dm_btree_info *info, struct dm_block **result) |
int | unlock_block (struct dm_btree_info *info, struct dm_block *b) |
void | init_ro_spine (struct ro_spine *s, struct dm_btree_info *info) |
int | exit_ro_spine (struct ro_spine *s) |
int | ro_step (struct ro_spine *s, dm_block_t new_child) |
struct node * | ro_node (struct ro_spine *s) |
void | init_shadow_spine (struct shadow_spine *s, struct dm_btree_info *info) |
int | exit_shadow_spine (struct shadow_spine *s) |
int | shadow_step (struct shadow_spine *s, dm_block_t b, struct dm_btree_value_type *vt) |
struct dm_block * | shadow_current (struct shadow_spine *s) |
struct dm_block * | shadow_parent (struct shadow_spine *s) |
int | shadow_has_parent (struct shadow_spine *s) |
int | shadow_root (struct shadow_spine *s) |
Variables | |
struct dm_block_validator | btree_node_validator |
#define BTREE_CSUM_XOR 121107 |
Definition at line 16 of file dm-btree-spine.c.
#define DM_MSG_PREFIX "btree spine" |
Definition at line 12 of file dm-btree-spine.c.
Definition at line 135 of file dm-btree-spine.c.
int exit_shadow_spine | ( | struct shadow_spine * | s | ) |
Definition at line 185 of file dm-btree-spine.c.
void init_ro_spine | ( | struct ro_spine * | s, |
struct dm_btree_info * | info | ||
) |
Definition at line 127 of file dm-btree-spine.c.
void init_shadow_spine | ( | struct shadow_spine * | s, |
struct dm_btree_info * | info | ||
) |
Definition at line 179 of file dm-btree-spine.c.
int new_block | ( | struct dm_btree_info * | info, |
struct dm_block ** | result | ||
) |
Definition at line 115 of file dm-btree-spine.c.
int ro_step | ( | struct ro_spine * | s, |
dm_block_t | new_child | ||
) |
Definition at line 148 of file dm-btree-spine.c.
|
read |
Definition at line 222 of file dm-btree-spine.c.
int shadow_has_parent | ( | struct shadow_spine * | s | ) |
Definition at line 236 of file dm-btree-spine.c.
|
read |
Definition at line 229 of file dm-btree-spine.c.
int shadow_root | ( | struct shadow_spine * | s | ) |
Definition at line 241 of file dm-btree-spine.c.
int shadow_step | ( | struct shadow_spine * | s, |
dm_block_t | b, | ||
struct dm_btree_value_type * | vt | ||
) |
Definition at line 198 of file dm-btree-spine.c.
int unlock_block | ( | struct dm_btree_info * | info, |
struct dm_block * | b | ||
) |
Definition at line 120 of file dm-btree-spine.c.
struct dm_block_validator btree_node_validator |
Definition at line 87 of file dm-btree-spine.c.