Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
xfs_ialloc_btree.c File Reference
#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_types.h"
#include "xfs_bit.h"
#include "xfs_log.h"
#include "xfs_trans.h"
#include "xfs_sb.h"
#include "xfs_ag.h"
#include "xfs_mount.h"
#include "xfs_bmap_btree.h"
#include "xfs_alloc_btree.h"
#include "xfs_ialloc_btree.h"
#include "xfs_dinode.h"
#include "xfs_inode.h"
#include "xfs_btree.h"
#include "xfs_ialloc.h"
#include "xfs_alloc.h"
#include "xfs_error.h"

Go to the source code of this file.

Functions

STATIC int xfs_inobt_get_minrecs (struct xfs_btree_cur *cur, int level)
 
STATIC struct xfs_btree_curxfs_inobt_dup_cursor (struct xfs_btree_cur *cur)
 
STATIC void xfs_inobt_set_root (struct xfs_btree_cur *cur, union xfs_btree_ptr *nptr, int inc)
 
STATIC int xfs_inobt_alloc_block (struct xfs_btree_cur *cur, union xfs_btree_ptr *start, union xfs_btree_ptr *new, int length, int *stat)
 
STATIC int xfs_inobt_free_block (struct xfs_btree_cur *cur, struct xfs_buf *bp)
 
STATIC int xfs_inobt_get_maxrecs (struct xfs_btree_cur *cur, int level)
 
STATIC void xfs_inobt_init_key_from_rec (union xfs_btree_key *key, union xfs_btree_rec *rec)
 
STATIC void xfs_inobt_init_rec_from_key (union xfs_btree_key *key, union xfs_btree_rec *rec)
 
STATIC void xfs_inobt_init_rec_from_cur (struct xfs_btree_cur *cur, union xfs_btree_rec *rec)
 
STATIC void xfs_inobt_init_ptr_from_cur (struct xfs_btree_cur *cur, union xfs_btree_ptr *ptr)
 
STATIC __int64_t xfs_inobt_key_diff (struct xfs_btree_cur *cur, union xfs_btree_key *key)
 
struct xfs_btree_curxfs_inobt_init_cursor (struct xfs_mount *mp, struct xfs_trans *tp, struct xfs_buf *agbp, xfs_agnumber_t agno)
 
int xfs_inobt_maxrecs (struct xfs_mount *mp, int blocklen, int leaf)
 

Function Documentation

STATIC int xfs_inobt_alloc_block ( struct xfs_btree_cur cur,
union xfs_btree_ptr start,
union xfs_btree_ptr new,
int  length,
int stat 
)

Definition at line 69 of file xfs_ialloc_btree.c.

STATIC struct xfs_btree_cur* xfs_inobt_dup_cursor ( struct xfs_btree_cur cur)
read

Definition at line 47 of file xfs_ialloc_btree.c.

STATIC int xfs_inobt_free_block ( struct xfs_btree_cur cur,
struct xfs_buf bp 
)

Definition at line 110 of file xfs_ialloc_btree.c.

STATIC int xfs_inobt_get_maxrecs ( struct xfs_btree_cur cur,
int  level 
)

Definition at line 127 of file xfs_ialloc_btree.c.

STATIC int xfs_inobt_get_minrecs ( struct xfs_btree_cur cur,
int  level 
)

Definition at line 39 of file xfs_ialloc_btree.c.

struct xfs_btree_cur* xfs_inobt_init_cursor ( struct xfs_mount *  mp,
struct xfs_trans *  tp,
struct xfs_buf agbp,
xfs_agnumber_t  agno 
)
read

Definition at line 231 of file xfs_ialloc_btree.c.

STATIC void xfs_inobt_init_key_from_rec ( union xfs_btree_key key,
union xfs_btree_rec rec 
)

Definition at line 135 of file xfs_ialloc_btree.c.

STATIC void xfs_inobt_init_ptr_from_cur ( struct xfs_btree_cur cur,
union xfs_btree_ptr ptr 
)

Definition at line 164 of file xfs_ialloc_btree.c.

STATIC void xfs_inobt_init_rec_from_cur ( struct xfs_btree_cur cur,
union xfs_btree_rec rec 
)

Definition at line 151 of file xfs_ialloc_btree.c.

STATIC void xfs_inobt_init_rec_from_key ( union xfs_btree_key key,
union xfs_btree_rec rec 
)

Definition at line 143 of file xfs_ialloc_btree.c.

STATIC __int64_t xfs_inobt_key_diff ( struct xfs_btree_cur cur,
union xfs_btree_key key 
)

Definition at line 176 of file xfs_ialloc_btree.c.

int xfs_inobt_maxrecs ( struct xfs_mount *  mp,
int  blocklen,
int  leaf 
)

Definition at line 260 of file xfs_ialloc_btree.c.

STATIC void xfs_inobt_set_root ( struct xfs_btree_cur cur,
union xfs_btree_ptr nptr,
int  inc 
)

Definition at line 55 of file xfs_ialloc_btree.c.