Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
xfs_dir2_node.c File Reference
#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_types.h"
#include "xfs_log.h"
#include "xfs_trans.h"
#include "xfs_sb.h"
#include "xfs_ag.h"
#include "xfs_mount.h"
#include "xfs_da_btree.h"
#include "xfs_bmap_btree.h"
#include "xfs_dinode.h"
#include "xfs_inode.h"
#include "xfs_bmap.h"
#include "xfs_dir2_format.h"
#include "xfs_dir2_priv.h"
#include "xfs_error.h"
#include "xfs_trace.h"

Go to the source code of this file.

Macros

#define xfs_dir2_leafn_check(dp, bp)
 

Functions

STATIC void xfs_dir2_free_log_bests (struct xfs_trans *tp, struct xfs_buf *bp, int first, int last)
 
int xfs_dir2_leaf_to_node (xfs_da_args_t *args, struct xfs_buf *lbp)
 
xfs_dahash_t xfs_dir2_leafn_lasthash (struct xfs_buf *bp, int *count)
 
STATIC int xfs_dir2_leafn_lookup_for_addname (struct xfs_buf *bp, xfs_da_args_t *args, int *indexp, xfs_da_state_t *state)
 
STATIC int xfs_dir2_leafn_lookup_for_entry (struct xfs_buf *bp, xfs_da_args_t *args, int *indexp, xfs_da_state_t *state)
 
int xfs_dir2_leafn_lookup_int (struct xfs_buf *bp, xfs_da_args_t *args, int *indexp, xfs_da_state_t *state)
 
int xfs_dir2_leafn_order (struct xfs_buf *leaf1_bp, struct xfs_buf *leaf2_bp)
 
int xfs_dir2_leafn_split (xfs_da_state_t *state, xfs_da_state_blk_t *oldblk, xfs_da_state_blk_t *newblk)
 
int xfs_dir2_leafn_toosmall (xfs_da_state_t *state, int *action)
 
void xfs_dir2_leafn_unbalance (xfs_da_state_t *state, xfs_da_state_blk_t *drop_blk, xfs_da_state_blk_t *save_blk)
 
int xfs_dir2_node_addname (xfs_da_args_t *args)
 
int xfs_dir2_node_lookup (xfs_da_args_t *args)
 
int xfs_dir2_node_removename (xfs_da_args_t *args)
 
int xfs_dir2_node_replace (xfs_da_args_t *args)
 
int xfs_dir2_node_trim_free (xfs_da_args_t *args, xfs_fileoff_t fo, int *rvalp)
 

Macro Definition Documentation

#define xfs_dir2_leafn_check (   dp,
  bp 
)

Definition at line 44 of file xfs_dir2_node.c.

Function Documentation

STATIC void xfs_dir2_free_log_bests ( struct xfs_trans *  tp,
struct xfs_buf bp,
int  first,
int  last 
)

Definition at line 62 of file xfs_dir2_node.c.

int xfs_dir2_leaf_to_node ( xfs_da_args_t args,
struct xfs_buf lbp 
)

Definition at line 100 of file xfs_dir2_node.c.

xfs_dahash_t xfs_dir2_leafn_lasthash ( struct xfs_buf bp,
int count 
)

Definition at line 292 of file xfs_dir2_node.c.

STATIC int xfs_dir2_leafn_lookup_for_addname ( struct xfs_buf bp,
xfs_da_args_t args,
int indexp,
xfs_da_state_t state 
)

Definition at line 312 of file xfs_dir2_node.c.

STATIC int xfs_dir2_leafn_lookup_for_entry ( struct xfs_buf bp,
xfs_da_args_t args,
int indexp,
xfs_da_state_t state 
)

Definition at line 460 of file xfs_dir2_node.c.

int xfs_dir2_leafn_lookup_int ( struct xfs_buf bp,
xfs_da_args_t args,
int indexp,
xfs_da_state_t state 
)

Definition at line 603 of file xfs_dir2_node.c.

int xfs_dir2_leafn_order ( struct xfs_buf leaf1_bp,
struct xfs_buf leaf2_bp 
)

Definition at line 703 of file xfs_dir2_node.c.

int xfs_dir2_leafn_split ( xfs_da_state_t state,
xfs_da_state_blk_t oldblk,
xfs_da_state_blk_t newblk 
)

Definition at line 1036 of file xfs_dir2_node.c.

int xfs_dir2_leafn_toosmall ( xfs_da_state_t state,
int action 
)

Definition at line 1103 of file xfs_dir2_node.c.

void xfs_dir2_leafn_unbalance ( xfs_da_state_t state,
xfs_da_state_blk_t drop_blk,
xfs_da_state_blk_t save_blk 
)

Definition at line 1226 of file xfs_dir2_node.c.

int xfs_dir2_node_addname ( xfs_da_args_t args)

Definition at line 1268 of file xfs_dir2_node.c.

int xfs_dir2_node_lookup ( xfs_da_args_t args)

Definition at line 1699 of file xfs_dir2_node.c.

int xfs_dir2_node_removename ( xfs_da_args_t args)

Definition at line 1754 of file xfs_dir2_node.c.

int xfs_dir2_node_replace ( xfs_da_args_t args)

Definition at line 1818 of file xfs_dir2_node.c.

int xfs_dir2_node_trim_free ( xfs_da_args_t args,
xfs_fileoff_t  fo,
int rvalp 
)

Definition at line 1902 of file xfs_dir2_node.c.