Home
last modified time | relevance | path

Searched refs:xfs_btree_block (Results 1 – 22 of 22) sorted by relevance

/fs/xfs/libxfs/
Dxfs_btree.h137 const struct xfs_btree_block *block,
326 #define XFS_BUF_TO_BLOCK(bp) ((struct xfs_btree_block *)((bp)->b_addr))
333 struct xfs_btree_block *block, int level, struct xfs_buf *bp);
335 struct xfs_btree_block *block, int level, struct xfs_buf *bp);
343 struct xfs_btree_block *block, /* generic btree block pointer */
445 struct xfs_btree_block *buf,
484 static inline int xfs_btree_get_numrecs(const struct xfs_btree_block *block) in xfs_btree_get_numrecs()
489 static inline void xfs_btree_set_numrecs(struct xfs_btree_block *block, in xfs_btree_set_numrecs()
495 static inline int xfs_btree_get_level(const struct xfs_btree_block *block) in xfs_btree_get_level()
560 struct xfs_btree_block *block);
[all …]
Dxfs_btree.c125 struct xfs_btree_block *block, in __xfs_btree_check_lblock()
168 struct xfs_btree_block *block, in xfs_btree_check_lblock()
192 struct xfs_btree_block *block, in __xfs_btree_check_sblock()
234 struct xfs_btree_block *block, in xfs_btree_check_sblock()
257 struct xfs_btree_block *block, /* generic btree block pointer */ in xfs_btree_check_block()
342 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_btree_lblock_calc_crc()
356 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_btree_lblock_verify_crc()
380 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_btree_sblock_calc_crc()
394 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_btree_sblock_verify_crc()
668 struct xfs_btree_block *block) in xfs_btree_rec_addr()
[all …]
Dxfs_bmap_btree.h10 struct xfs_btree_block;
88 struct xfs_btree_block *, int);
96 extern void xfs_bmbt_to_bmdr(struct xfs_mount *, struct xfs_btree_block *, int,
Dxfs_btree_staging.c369 struct xfs_btree_block **blockp, /* in/out */ in xfs_btree_bload_prep_block()
374 struct xfs_btree_block *new_block; in xfs_btree_bload_prep_block()
438 struct xfs_btree_block *block, in xfs_btree_bload_leaf()
471 struct xfs_btree_block *block) in xfs_btree_bload_node()
481 struct xfs_btree_block *child_block; in xfs_btree_bload_node()
749 struct xfs_btree_block *block = NULL; in xfs_btree_bload()
Dxfs_format.h1757 struct xfs_btree_block { struct
1769 (offsetof(struct xfs_btree_block, bb_u) + \ argument
1773 (offsetof(struct xfs_btree_block, bb_u) + \
1778 (offsetof(struct xfs_btree_block, bb_u) + \
1781 (offsetof(struct xfs_btree_block, bb_u) + \
1785 offsetof(struct xfs_btree_block, bb_u.s.bb_crc)
1787 offsetof(struct xfs_btree_block, bb_u.l.bb_crc)
Dxfs_bmap_btree.c36 struct xfs_btree_block *rblock, in xfs_bmdr_to_bmbt()
131 struct xfs_btree_block *rblock, in xfs_bmbt_to_bmdr()
415 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_bmbt_verify()
Dxfs_inode_fork.h17 struct xfs_btree_block *if_broot; /* file's incore btree root */
Dxfs_alloc_btree.c109 const struct xfs_btree_block *block, in xfs_allocbt_update_lastrec()
298 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_allocbt_verify()
Dxfs_ag.c505 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_freesp_init_recs()
583 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_rmaproot_init()
Dxfs_bmap.c261 struct xfs_btree_block *block, in xfs_check_block()
323 struct xfs_btree_block *block; /* current btree block */ in xfs_bmap_check_leaf_extents()
543 struct xfs_btree_block *rblock = ifp->if_broot; in xfs_bmap_btree_to_extents()
544 struct xfs_btree_block *cblock;/* child btree block */ in xfs_bmap_btree_to_extents()
607 struct xfs_btree_block *ablock; /* allocated (child) bt block */ in xfs_bmap_extents_to_btree()
611 struct xfs_btree_block *block; /* btree root block */ in xfs_bmap_extents_to_btree()
864 struct xfs_btree_block *block = ip->i_df.if_broot; in xfs_bmap_add_attrfork_btree()
1129 struct xfs_btree_block *block; in xfs_iread_bmbt_block()
Dxfs_refcount_btree.c213 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_refcountbt_verify()
Dxfs_rmap_btree.c321 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_rmapbt_verify()
Dxfs_inode_fork.c379 struct xfs_btree_block *new_broot; in xfs_iroot_realloc()
Dxfs_ialloc_btree.c285 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_inobt_verify()
Dxfs_alloc.c533 struct xfs_btree_block *bnoblock; in xfs_alloc_fixup_trees()
534 struct xfs_btree_block *cntblock; in xfs_alloc_fixup_trees()
/fs/xfs/scrub/
Dbtree.c145 struct xfs_btree_block *block; in xchk_btree_rec()
146 struct xfs_btree_block *keyblock; in xchk_btree_rec()
193 struct xfs_btree_block *block; in xchk_btree_key()
194 struct xfs_btree_block *keyblock; in xchk_btree_key()
266 struct xfs_btree_block *pblock; in xchk_btree_block_check_sibling()
324 struct xfs_btree_block *block) in xchk_btree_block_check_siblings()
499 struct xfs_btree_block *block) in xchk_btree_check_minrecs()
518 struct xfs_btree_block *root_block; in xchk_btree_check_minrecs()
547 struct xfs_btree_block *block) in xchk_btree_block_check_keys()
553 struct xfs_btree_block *parent_block; in xchk_btree_block_check_keys()
[all …]
Drepair.c461 struct xfs_btree_block *btblock; in xrep_findroot_block()
Drmap.c141 struct xfs_btree_block *keyblock; in xchk_rmapbt_check_unwritten_in_keyflags()
Dbmap.c448 struct xfs_btree_block *block; in xchk_bmapbt_rec()
/fs/xfs/
Dxfs_inode_item_recover.c477 xfs_bmbt_to_bmdr(mp, (struct xfs_btree_block *)src, len, in xlog_recover_inode_commit_pass2()
515 xfs_bmbt_to_bmdr(mp, (struct xfs_btree_block *)src, in xlog_recover_inode_commit_pass2()
Dxfs_ondisk.h36 XFS_CHECK_STRUCT_SIZE(struct xfs_btree_block, 72); in xfs_check_ondisk_structs()
Dxfs_buf_item_recover.c745 struct xfs_btree_block *btb = blk; in xlog_recover_get_buf_lsn()
753 struct xfs_btree_block *btb = blk; in xlog_recover_get_buf_lsn()