Lines Matching refs:rblock
53 struct xfs_btree_block *rblock, in xfs_bmdr_to_bmbt() argument
63 xfs_bmbt_init_block(ip, rblock, NULL, 0, 0); in xfs_bmdr_to_bmbt()
64 rblock->bb_level = dblock->bb_level; in xfs_bmdr_to_bmbt()
65 ASSERT(be16_to_cpu(rblock->bb_level) > 0); in xfs_bmdr_to_bmbt()
66 rblock->bb_numrecs = dblock->bb_numrecs; in xfs_bmdr_to_bmbt()
69 tkp = xfs_bmbt_key_addr(mp, rblock, 1); in xfs_bmdr_to_bmbt()
71 tpp = xfs_bmap_broot_ptr_addr(mp, rblock, 1, rblocklen); in xfs_bmdr_to_bmbt()
146 struct xfs_btree_block *rblock, in xfs_bmbt_to_bmdr() argument
158 ASSERT(rblock->bb_magic == cpu_to_be32(XFS_BMAP_CRC_MAGIC)); in xfs_bmbt_to_bmdr()
159 ASSERT(uuid_equal(&rblock->bb_u.l.bb_uuid, in xfs_bmbt_to_bmdr()
161 ASSERT(rblock->bb_u.l.bb_blkno == in xfs_bmbt_to_bmdr()
164 ASSERT(rblock->bb_magic == cpu_to_be32(XFS_BMAP_MAGIC)); in xfs_bmbt_to_bmdr()
165 ASSERT(rblock->bb_u.l.bb_leftsib == cpu_to_be64(NULLFSBLOCK)); in xfs_bmbt_to_bmdr()
166 ASSERT(rblock->bb_u.l.bb_rightsib == cpu_to_be64(NULLFSBLOCK)); in xfs_bmbt_to_bmdr()
167 ASSERT(rblock->bb_level != 0); in xfs_bmbt_to_bmdr()
168 dblock->bb_level = rblock->bb_level; in xfs_bmbt_to_bmdr()
169 dblock->bb_numrecs = rblock->bb_numrecs; in xfs_bmbt_to_bmdr()
171 fkp = xfs_bmbt_key_addr(mp, rblock, 1); in xfs_bmbt_to_bmdr()
173 fpp = xfs_bmap_broot_ptr_addr(mp, rblock, 1, rblocklen); in xfs_bmbt_to_bmdr()