Linux Kernel
3.7.1
|
#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_inode_item.h"
#include "xfs_alloc.h"
#include "xfs_btree.h"
#include "xfs_itable.h"
#include "xfs_bmap.h"
#include "xfs_error.h"
#include "xfs_quota.h"
Go to the source code of this file.
STATIC void __xfs_bmbt_get_all | ( | __uint64_t | l0, |
__uint64_t | l1, | ||
xfs_bmbt_irec_t * | s | ||
) |
Definition at line 95 of file xfs_bmap_btree.c.
STATIC int xfs_bmbt_alloc_block | ( | struct xfs_btree_cur * | cur, |
union xfs_btree_ptr * | start, | ||
union xfs_btree_ptr * | new, | ||
int | length, | ||
int * | stat | ||
) |
Definition at line 504 of file xfs_bmap_btree.c.
xfs_filblks_t xfs_bmbt_disk_get_blockcount | ( | xfs_bmbt_rec_t * | r | ) |
Definition at line 201 of file xfs_bmap_btree.c.
xfs_fileoff_t xfs_bmbt_disk_get_startoff | ( | xfs_bmbt_rec_t * | r | ) |
Definition at line 211 of file xfs_bmap_btree.c.
STATIC void xfs_bmbt_disk_set_all | ( | xfs_bmbt_rec_t * | r, |
xfs_bmbt_irec_t * | s | ||
) |
Definition at line 331 of file xfs_bmap_btree.c.
void xfs_bmbt_disk_set_allf | ( | xfs_bmbt_rec_t * | r, |
xfs_fileoff_t | startoff, | ||
xfs_fsblock_t | startblock, | ||
xfs_filblks_t | blockcount, | ||
xfs_exntst_t | state | ||
) |
Definition at line 281 of file xfs_bmap_btree.c.
|
read |
Definition at line 469 of file xfs_bmap_btree.c.
Definition at line 590 of file xfs_bmap_btree.c.
void xfs_bmbt_get_all | ( | xfs_bmbt_rec_host_t * | r, |
xfs_bmbt_irec_t * | s | ||
) |
Definition at line 134 of file xfs_bmap_btree.c.
xfs_filblks_t xfs_bmbt_get_blockcount | ( | xfs_bmbt_rec_host_t * | r | ) |
Definition at line 145 of file xfs_bmap_btree.c.
STATIC int xfs_bmbt_get_dmaxrecs | ( | struct xfs_btree_cur * | cur, |
int | level | ||
) |
Definition at line 655 of file xfs_bmap_btree.c.
int xfs_bmbt_get_maxrecs | ( | struct xfs_btree_cur * | cur, |
int | level | ||
) |
Definition at line 627 of file xfs_bmap_btree.c.
STATIC int xfs_bmbt_get_minrecs | ( | struct xfs_btree_cur * | cur, |
int | level | ||
) |
Definition at line 609 of file xfs_bmap_btree.c.
xfs_fsblock_t xfs_bmbt_get_startblock | ( | xfs_bmbt_rec_host_t * | r | ) |
Definition at line 155 of file xfs_bmap_btree.c.
xfs_fileoff_t xfs_bmbt_get_startoff | ( | xfs_bmbt_rec_host_t * | r | ) |
Definition at line 179 of file xfs_bmap_btree.c.
xfs_exntst_t xfs_bmbt_get_state | ( | xfs_bmbt_rec_host_t * | r | ) |
Definition at line 187 of file xfs_bmap_btree.c.
|
read |
Definition at line 759 of file xfs_bmap_btree.c.
STATIC void xfs_bmbt_init_key_from_rec | ( | union xfs_btree_key * | key, |
union xfs_btree_rec * | rec | ||
) |
Definition at line 666 of file xfs_bmap_btree.c.
STATIC void xfs_bmbt_init_ptr_from_cur | ( | struct xfs_btree_cur * | cur, |
union xfs_btree_ptr * | ptr | ||
) |
Definition at line 694 of file xfs_bmap_btree.c.
STATIC void xfs_bmbt_init_rec_from_cur | ( | struct xfs_btree_cur * | cur, |
union xfs_btree_rec * | rec | ||
) |
Definition at line 686 of file xfs_bmap_btree.c.
STATIC void xfs_bmbt_init_rec_from_key | ( | union xfs_btree_key * | key, |
union xfs_btree_rec * | rec | ||
) |
Definition at line 675 of file xfs_bmap_btree.c.
STATIC __int64_t xfs_bmbt_key_diff | ( | struct xfs_btree_cur * | cur, |
union xfs_btree_key * | key | ||
) |
Definition at line 702 of file xfs_bmap_btree.c.
Definition at line 794 of file xfs_bmap_btree.c.
void xfs_bmbt_set_all | ( | xfs_bmbt_rec_host_t * | r, |
xfs_bmbt_irec_t * | s | ||
) |
Definition at line 268 of file xfs_bmap_btree.c.
void xfs_bmbt_set_allf | ( | xfs_bmbt_rec_host_t * | r, |
xfs_fileoff_t | startoff, | ||
xfs_fsblock_t | startblock, | ||
xfs_filblks_t | blockcount, | ||
xfs_exntst_t | state | ||
) |
Definition at line 223 of file xfs_bmap_btree.c.
void xfs_bmbt_set_blockcount | ( | xfs_bmbt_rec_host_t * | r, |
xfs_filblks_t | v | ||
) |
Definition at line 343 of file xfs_bmap_btree.c.
void xfs_bmbt_set_startblock | ( | xfs_bmbt_rec_host_t * | r, |
xfs_fsblock_t | v | ||
) |
Definition at line 356 of file xfs_bmap_btree.c.
void xfs_bmbt_set_startoff | ( | xfs_bmbt_rec_host_t * | r, |
xfs_fileoff_t | v | ||
) |
Definition at line 384 of file xfs_bmap_btree.c.
void xfs_bmbt_set_state | ( | xfs_bmbt_rec_host_t * | r, |
xfs_exntst_t | v | ||
) |
Definition at line 398 of file xfs_bmap_btree.c.
void xfs_bmbt_to_bmdr | ( | struct xfs_mount * | mp, |
struct xfs_btree_block * | rblock, | ||
int | rblocklen, | ||
xfs_bmdr_block_t * | dblock, | ||
int | dblocklen | ||
) |
Definition at line 413 of file xfs_bmap_btree.c.
STATIC void xfs_bmbt_update_cursor | ( | struct xfs_btree_cur * | src, |
struct xfs_btree_cur * | dst | ||
) |
Definition at line 489 of file xfs_bmap_btree.c.
Definition at line 810 of file xfs_bmap_btree.c.
void xfs_bmdr_to_bmbt | ( | struct xfs_mount * | mp, |
xfs_bmdr_block_t * | dblock, | ||
int | dblocklen, | ||
struct xfs_btree_block * | rblock, | ||
int | rblocklen | ||
) |
Definition at line 60 of file xfs_bmap_btree.c.
int xfs_check_nostate_extents | ( | xfs_ifork_t * | ifp, |
xfs_extnum_t | idx, | ||
xfs_extnum_t | num | ||
) |
Definition at line 451 of file xfs_bmap_btree.c.
STATIC xfs_exntst_t xfs_extent_state | ( | xfs_filblks_t | blks, |
int | extent_flag | ||
) |
Definition at line 45 of file xfs_bmap_btree.c.