Lines Matching refs:rrec
156 struct xfs_rmap_rec *rrec; in xfs_rmaproot_init() local
169 rrec = XFS_RMAP_REC_ADDR(block, 1); in xfs_rmaproot_init()
170 rrec->rm_startblock = 0; in xfs_rmaproot_init()
171 rrec->rm_blockcount = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
172 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_FS); in xfs_rmaproot_init()
173 rrec->rm_offset = 0; in xfs_rmaproot_init()
176 rrec = XFS_RMAP_REC_ADDR(block, 2); in xfs_rmaproot_init()
177 rrec->rm_startblock = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
178 rrec->rm_blockcount = cpu_to_be32(2); in xfs_rmaproot_init()
179 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_AG); in xfs_rmaproot_init()
180 rrec->rm_offset = 0; in xfs_rmaproot_init()
183 rrec = XFS_RMAP_REC_ADDR(block, 3); in xfs_rmaproot_init()
184 rrec->rm_startblock = cpu_to_be32(XFS_IBT_BLOCK(mp)); in xfs_rmaproot_init()
185 rrec->rm_blockcount = cpu_to_be32(XFS_RMAP_BLOCK(mp) - in xfs_rmaproot_init()
187 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_INOBT); in xfs_rmaproot_init()
188 rrec->rm_offset = 0; in xfs_rmaproot_init()
191 rrec = XFS_RMAP_REC_ADDR(block, 4); in xfs_rmaproot_init()
192 rrec->rm_startblock = cpu_to_be32(XFS_RMAP_BLOCK(mp)); in xfs_rmaproot_init()
193 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init()
194 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_AG); in xfs_rmaproot_init()
195 rrec->rm_offset = 0; in xfs_rmaproot_init()
199 rrec = XFS_RMAP_REC_ADDR(block, 5); in xfs_rmaproot_init()
200 rrec->rm_startblock = cpu_to_be32(xfs_refc_block(mp)); in xfs_rmaproot_init()
201 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init()
202 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_REFC); in xfs_rmaproot_init()
203 rrec->rm_offset = 0; in xfs_rmaproot_init()
209 rrec = XFS_RMAP_REC_ADDR(block, in xfs_rmaproot_init()
211 rrec->rm_startblock = cpu_to_be32( in xfs_rmaproot_init()
213 rrec->rm_blockcount = cpu_to_be32(mp->m_sb.sb_logblocks); in xfs_rmaproot_init()
214 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_LOG); in xfs_rmaproot_init()
215 rrec->rm_offset = 0; in xfs_rmaproot_init()