Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/buffer_head.h>
#include <linux/list.h>
#include <linux/nilfs2_fs.h>
#include "btnode.h"
#include "bmap.h"
Go to the source code of this file.
Data Structures | |
struct | nilfs_btree_path |
Macros | |
#define | NILFS_BTREE_ROOT_SIZE NILFS_BMAP_SIZE |
#define | NILFS_BTREE_ROOT_NCHILDREN_MAX |
#define | NILFS_BTREE_ROOT_NCHILDREN_MIN 0 |
#define | NILFS_BTREE_NODE_EXTRA_PAD_SIZE (sizeof(__le64)) |
#define | NILFS_BTREE_NODE_NCHILDREN_MAX(nodesize) |
#define | NILFS_BTREE_NODE_NCHILDREN_MIN(nodesize) ((NILFS_BTREE_NODE_NCHILDREN_MAX(nodesize) - 1) / 2 + 1) |
#define | NILFS_BTREE_KEY_MIN ((__u64)0) |
#define | NILFS_BTREE_KEY_MAX (~(__u64)0) |
Functions | |
int | nilfs_btree_init (struct nilfs_bmap *) |
int | nilfs_btree_convert_and_insert (struct nilfs_bmap *, __u64, __u64, const __u64 *, const __u64 *, int) |
void | nilfs_btree_init_gc (struct nilfs_bmap *) |
int | nilfs_btree_broken_node_block (struct buffer_head *bh) |
Variables | |
struct kmem_cache * | nilfs_btree_path_cache |
#define NILFS_BTREE_NODE_NCHILDREN_MAX | ( | nodesize | ) |
#define NILFS_BTREE_NODE_NCHILDREN_MIN | ( | nodesize | ) | ((NILFS_BTREE_NODE_NCHILDREN_MAX(nodesize) - 1) / 2 + 1) |
#define NILFS_BTREE_ROOT_NCHILDREN_MAX |
#define NILFS_BTREE_ROOT_SIZE NILFS_BMAP_SIZE |
int nilfs_btree_init | ( | struct nilfs_bmap * | ) |
void nilfs_btree_init_gc | ( | struct nilfs_bmap * | ) |
struct kmem_cache* nilfs_btree_path_cache |