Home
last modified time | relevance | path

Searched refs:rblock (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_bmap_btree.c36 struct xfs_btree_block *rblock, in xfs_bmdr_to_bmbt() argument
46 xfs_btree_init_block_int(mp, rblock, XFS_BUF_DADDR_NULL, in xfs_bmdr_to_bmbt()
49 rblock->bb_level = dblock->bb_level; in xfs_bmdr_to_bmbt()
50 ASSERT(be16_to_cpu(rblock->bb_level) > 0); in xfs_bmdr_to_bmbt()
51 rblock->bb_numrecs = dblock->bb_numrecs; in xfs_bmdr_to_bmbt()
54 tkp = XFS_BMBT_KEY_ADDR(mp, rblock, 1); in xfs_bmdr_to_bmbt()
56 tpp = XFS_BMAP_BROOT_PTR_ADDR(mp, rblock, 1, rblocklen); in xfs_bmdr_to_bmbt()
131 struct xfs_btree_block *rblock, in xfs_bmbt_to_bmdr() argument
143 ASSERT(rblock->bb_magic == cpu_to_be32(XFS_BMAP_CRC_MAGIC)); in xfs_bmbt_to_bmdr()
144 ASSERT(uuid_equal(&rblock->bb_u.l.bb_uuid, in xfs_bmbt_to_bmdr()
[all …]
Dxfs_bmap.c601 struct xfs_btree_block *rblock;/* root btree block */ in xfs_bmap_btree_to_extents() local
609 rblock = ifp->if_broot; in xfs_bmap_btree_to_extents()
610 ASSERT(be16_to_cpu(rblock->bb_level) == 1); in xfs_bmap_btree_to_extents()
611 ASSERT(be16_to_cpu(rblock->bb_numrecs) == 1); in xfs_bmap_btree_to_extents()
613 pp = XFS_BMAP_BROOT_PTR_ADDR(mp, rblock, 1, ifp->if_broot_bytes); in xfs_bmap_btree_to_extents()
/linux-4.19.296/fs/gfs2/
Drgrp.c272 u64 rblock = block - rbm->rgd->rd_data0; in gfs2_rbm_from_block() local
274 if (WARN_ON_ONCE(rblock > UINT_MAX)) in gfs2_rbm_from_block()
280 rbm->offset = (u32)(rblock); in gfs2_rbm_from_block()