Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | xfs_inobt_rec |
struct | xfs_inobt_rec_incore |
struct | xfs_inobt_key |
Macros | |
#define | XFS_IBT_MAGIC 0x49414254 /* 'IABT' */ |
#define | XFS_INODES_PER_CHUNK (NBBY * sizeof(xfs_inofree_t)) |
#define | XFS_INODES_PER_CHUNK_LOG (XFS_NBBYLOG + 3) |
#define | XFS_INOBT_ALL_FREE ((xfs_inofree_t)-1) |
#define | XFS_INOBT_MASK(i) ((xfs_inofree_t)1 << (i)) |
#define | XFS_IBT_BLOCK(mp) ((xfs_agblock_t)(XFS_CNT_BLOCK(mp) + 1)) |
#define | XFS_PREALLOC_BLOCKS(mp) ((xfs_agblock_t)(XFS_IBT_BLOCK(mp) + 1)) |
#define | XFS_INOBT_BLOCK_LEN(mp) XFS_BTREE_SBLOCK_LEN |
#define | XFS_INOBT_REC_ADDR(mp, block, index) |
#define | XFS_INOBT_KEY_ADDR(mp, block, index) |
#define | XFS_INOBT_PTR_ADDR(mp, block, index, maxrecs) |
Typedefs | |
typedef __uint64_t | xfs_inofree_t |
typedef struct xfs_inobt_rec | xfs_inobt_rec_t |
typedef struct xfs_inobt_rec_incore | xfs_inobt_rec_incore_t |
typedef struct xfs_inobt_key | xfs_inobt_key_t |
typedef __be32 | xfs_inobt_ptr_t |
Functions | |
struct xfs_btree_cur * | xfs_inobt_init_cursor (struct xfs_mount *, struct xfs_trans *, struct xfs_buf *, xfs_agnumber_t) |
int | xfs_inobt_maxrecs (struct xfs_mount *, int, int) |
#define XFS_IBT_BLOCK | ( | mp | ) | ((xfs_agblock_t)(XFS_CNT_BLOCK(mp) + 1)) |
Definition at line 74 of file xfs_ialloc_btree.h.
#define XFS_IBT_MAGIC 0x49414254 /* 'IABT' */ |
Definition at line 32 of file xfs_ialloc_btree.h.
#define XFS_INOBT_ALL_FREE ((xfs_inofree_t)-1) |
Definition at line 37 of file xfs_ialloc_btree.h.
#define XFS_INOBT_BLOCK_LEN | ( | mp | ) | XFS_BTREE_SBLOCK_LEN |
Definition at line 82 of file xfs_ialloc_btree.h.
Definition at line 95 of file xfs_ialloc_btree.h.
#define XFS_INOBT_MASK | ( | i | ) | ((xfs_inofree_t)1 << (i)) |
Definition at line 38 of file xfs_ialloc_btree.h.
Definition at line 101 of file xfs_ialloc_btree.h.
Definition at line 89 of file xfs_ialloc_btree.h.
#define XFS_INODES_PER_CHUNK (NBBY * sizeof(xfs_inofree_t)) |
Definition at line 35 of file xfs_ialloc_btree.h.
#define XFS_INODES_PER_CHUNK_LOG (XFS_NBBYLOG + 3) |
Definition at line 36 of file xfs_ialloc_btree.h.
#define XFS_PREALLOC_BLOCKS | ( | mp | ) | ((xfs_agblock_t)(XFS_IBT_BLOCK(mp) + 1)) |
Definition at line 75 of file xfs_ialloc_btree.h.
typedef struct xfs_inobt_key xfs_inobt_key_t |
typedef __be32 xfs_inobt_ptr_t |
Definition at line 69 of file xfs_ialloc_btree.h.
typedef struct xfs_inobt_rec xfs_inobt_rec_t |
typedef __uint64_t xfs_inofree_t |
Definition at line 34 of file xfs_ialloc_btree.h.
|
read |
Definition at line 231 of file xfs_ialloc_btree.c.