Loading fs/xfs/libxfs/xfs_alloc.c +1 −1 Original line number Diff line number Diff line Loading @@ -606,7 +606,7 @@ const struct xfs_buf_ops xfs_agfl_buf_ops = { /* * Read in the allocation group free block array. */ STATIC int /* error */ int /* error */ xfs_alloc_read_agfl( xfs_mount_t *mp, /* mount point structure */ xfs_trans_t *tp, /* transaction pointer */ Loading fs/xfs/libxfs/xfs_alloc.h +2 −0 Original line number Diff line number Diff line Loading @@ -213,6 +213,8 @@ xfs_alloc_get_rec( int xfs_read_agf(struct xfs_mount *mp, struct xfs_trans *tp, xfs_agnumber_t agno, int flags, struct xfs_buf **bpp); int xfs_alloc_read_agfl(struct xfs_mount *mp, struct xfs_trans *tp, xfs_agnumber_t agno, struct xfs_buf **bpp); int xfs_alloc_fix_freelist(struct xfs_alloc_arg *args, int flags); int xfs_free_extent_fix_freelist(struct xfs_trans *tp, xfs_agnumber_t agno, struct xfs_buf **agbp); Loading fs/xfs/libxfs/xfs_btree.c +6 −6 Original line number Diff line number Diff line Loading @@ -568,7 +568,7 @@ xfs_btree_ptr_offset( /* * Return a pointer to the n-th record in the btree block. */ STATIC union xfs_btree_rec * union xfs_btree_rec * xfs_btree_rec_addr( struct xfs_btree_cur *cur, int n, Loading @@ -581,7 +581,7 @@ xfs_btree_rec_addr( /* * Return a pointer to the n-th key in the btree block. */ STATIC union xfs_btree_key * union xfs_btree_key * xfs_btree_key_addr( struct xfs_btree_cur *cur, int n, Loading @@ -594,7 +594,7 @@ xfs_btree_key_addr( /* * Return a pointer to the n-th high key in the btree block. */ STATIC union xfs_btree_key * union xfs_btree_key * xfs_btree_high_key_addr( struct xfs_btree_cur *cur, int n, Loading @@ -607,7 +607,7 @@ xfs_btree_high_key_addr( /* * Return a pointer to the n-th block pointer in the btree block. */ STATIC union xfs_btree_ptr * union xfs_btree_ptr * xfs_btree_ptr_addr( struct xfs_btree_cur *cur, int n, Loading Loading @@ -641,7 +641,7 @@ xfs_btree_get_iroot( * Retrieve the block pointer from the cursor at the given level. * This may be an inode btree root or from a buffer. */ STATIC struct xfs_btree_block * /* generic btree block pointer */ struct xfs_btree_block * /* generic btree block pointer */ xfs_btree_get_block( struct xfs_btree_cur *cur, /* btree cursor */ int level, /* level in btree */ Loading Loading @@ -1756,7 +1756,7 @@ xfs_btree_decrement( return error; } STATIC int int xfs_btree_lookup_get_block( struct xfs_btree_cur *cur, /* btree cursor */ int level, /* level in the btree */ Loading fs/xfs/libxfs/xfs_btree.h +13 −0 Original line number Diff line number Diff line Loading @@ -504,4 +504,17 @@ int xfs_btree_visit_blocks(struct xfs_btree_cur *cur, int xfs_btree_count_blocks(struct xfs_btree_cur *cur, xfs_extlen_t *blocks); union xfs_btree_rec *xfs_btree_rec_addr(struct xfs_btree_cur *cur, int n, struct xfs_btree_block *block); union xfs_btree_key *xfs_btree_key_addr(struct xfs_btree_cur *cur, int n, struct xfs_btree_block *block); union xfs_btree_key *xfs_btree_high_key_addr(struct xfs_btree_cur *cur, int n, struct xfs_btree_block *block); union xfs_btree_ptr *xfs_btree_ptr_addr(struct xfs_btree_cur *cur, int n, struct xfs_btree_block *block); int xfs_btree_lookup_get_block(struct xfs_btree_cur *cur, int level, union xfs_btree_ptr *pp, struct xfs_btree_block **blkp); struct xfs_btree_block *xfs_btree_get_block(struct xfs_btree_cur *cur, int level, struct xfs_buf **bpp); #endif /* __XFS_BTREE_H__ */ fs/xfs/libxfs/xfs_dir2_leaf.c +1 −1 Original line number Diff line number Diff line Loading @@ -256,7 +256,7 @@ const struct xfs_buf_ops xfs_dir3_leafn_buf_ops = { .verify_write = xfs_dir3_leafn_write_verify, }; static int int xfs_dir3_leaf_read( struct xfs_trans *tp, struct xfs_inode *dp, Loading Loading
fs/xfs/libxfs/xfs_alloc.c +1 −1 Original line number Diff line number Diff line Loading @@ -606,7 +606,7 @@ const struct xfs_buf_ops xfs_agfl_buf_ops = { /* * Read in the allocation group free block array. */ STATIC int /* error */ int /* error */ xfs_alloc_read_agfl( xfs_mount_t *mp, /* mount point structure */ xfs_trans_t *tp, /* transaction pointer */ Loading
fs/xfs/libxfs/xfs_alloc.h +2 −0 Original line number Diff line number Diff line Loading @@ -213,6 +213,8 @@ xfs_alloc_get_rec( int xfs_read_agf(struct xfs_mount *mp, struct xfs_trans *tp, xfs_agnumber_t agno, int flags, struct xfs_buf **bpp); int xfs_alloc_read_agfl(struct xfs_mount *mp, struct xfs_trans *tp, xfs_agnumber_t agno, struct xfs_buf **bpp); int xfs_alloc_fix_freelist(struct xfs_alloc_arg *args, int flags); int xfs_free_extent_fix_freelist(struct xfs_trans *tp, xfs_agnumber_t agno, struct xfs_buf **agbp); Loading
fs/xfs/libxfs/xfs_btree.c +6 −6 Original line number Diff line number Diff line Loading @@ -568,7 +568,7 @@ xfs_btree_ptr_offset( /* * Return a pointer to the n-th record in the btree block. */ STATIC union xfs_btree_rec * union xfs_btree_rec * xfs_btree_rec_addr( struct xfs_btree_cur *cur, int n, Loading @@ -581,7 +581,7 @@ xfs_btree_rec_addr( /* * Return a pointer to the n-th key in the btree block. */ STATIC union xfs_btree_key * union xfs_btree_key * xfs_btree_key_addr( struct xfs_btree_cur *cur, int n, Loading @@ -594,7 +594,7 @@ xfs_btree_key_addr( /* * Return a pointer to the n-th high key in the btree block. */ STATIC union xfs_btree_key * union xfs_btree_key * xfs_btree_high_key_addr( struct xfs_btree_cur *cur, int n, Loading @@ -607,7 +607,7 @@ xfs_btree_high_key_addr( /* * Return a pointer to the n-th block pointer in the btree block. */ STATIC union xfs_btree_ptr * union xfs_btree_ptr * xfs_btree_ptr_addr( struct xfs_btree_cur *cur, int n, Loading Loading @@ -641,7 +641,7 @@ xfs_btree_get_iroot( * Retrieve the block pointer from the cursor at the given level. * This may be an inode btree root or from a buffer. */ STATIC struct xfs_btree_block * /* generic btree block pointer */ struct xfs_btree_block * /* generic btree block pointer */ xfs_btree_get_block( struct xfs_btree_cur *cur, /* btree cursor */ int level, /* level in btree */ Loading Loading @@ -1756,7 +1756,7 @@ xfs_btree_decrement( return error; } STATIC int int xfs_btree_lookup_get_block( struct xfs_btree_cur *cur, /* btree cursor */ int level, /* level in the btree */ Loading
fs/xfs/libxfs/xfs_btree.h +13 −0 Original line number Diff line number Diff line Loading @@ -504,4 +504,17 @@ int xfs_btree_visit_blocks(struct xfs_btree_cur *cur, int xfs_btree_count_blocks(struct xfs_btree_cur *cur, xfs_extlen_t *blocks); union xfs_btree_rec *xfs_btree_rec_addr(struct xfs_btree_cur *cur, int n, struct xfs_btree_block *block); union xfs_btree_key *xfs_btree_key_addr(struct xfs_btree_cur *cur, int n, struct xfs_btree_block *block); union xfs_btree_key *xfs_btree_high_key_addr(struct xfs_btree_cur *cur, int n, struct xfs_btree_block *block); union xfs_btree_ptr *xfs_btree_ptr_addr(struct xfs_btree_cur *cur, int n, struct xfs_btree_block *block); int xfs_btree_lookup_get_block(struct xfs_btree_cur *cur, int level, union xfs_btree_ptr *pp, struct xfs_btree_block **blkp); struct xfs_btree_block *xfs_btree_get_block(struct xfs_btree_cur *cur, int level, struct xfs_buf **bpp); #endif /* __XFS_BTREE_H__ */
fs/xfs/libxfs/xfs_dir2_leaf.c +1 −1 Original line number Diff line number Diff line Loading @@ -256,7 +256,7 @@ const struct xfs_buf_ops xfs_dir3_leafn_buf_ops = { .verify_write = xfs_dir3_leafn_write_verify, }; static int int xfs_dir3_leaf_read( struct xfs_trans *tp, struct xfs_inode *dp, Loading