Lines Matching refs:rrec
481 struct xfs_rmap_rec *rrec; in xfs_rmaproot_init() local
494 rrec = XFS_RMAP_REC_ADDR(block, 1); in xfs_rmaproot_init()
495 rrec->rm_startblock = 0; in xfs_rmaproot_init()
496 rrec->rm_blockcount = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
497 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_FS); in xfs_rmaproot_init()
498 rrec->rm_offset = 0; in xfs_rmaproot_init()
501 rrec = XFS_RMAP_REC_ADDR(block, 2); in xfs_rmaproot_init()
502 rrec->rm_startblock = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_rmaproot_init()
503 rrec->rm_blockcount = cpu_to_be32(2); in xfs_rmaproot_init()
504 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_AG); in xfs_rmaproot_init()
505 rrec->rm_offset = 0; in xfs_rmaproot_init()
508 rrec = XFS_RMAP_REC_ADDR(block, 3); in xfs_rmaproot_init()
509 rrec->rm_startblock = cpu_to_be32(XFS_IBT_BLOCK(mp)); in xfs_rmaproot_init()
510 rrec->rm_blockcount = cpu_to_be32(XFS_RMAP_BLOCK(mp) - in xfs_rmaproot_init()
512 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_INOBT); in xfs_rmaproot_init()
513 rrec->rm_offset = 0; in xfs_rmaproot_init()
516 rrec = XFS_RMAP_REC_ADDR(block, 4); in xfs_rmaproot_init()
517 rrec->rm_startblock = cpu_to_be32(XFS_RMAP_BLOCK(mp)); in xfs_rmaproot_init()
518 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init()
519 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_AG); in xfs_rmaproot_init()
520 rrec->rm_offset = 0; in xfs_rmaproot_init()
524 rrec = XFS_RMAP_REC_ADDR(block, 5); in xfs_rmaproot_init()
525 rrec->rm_startblock = cpu_to_be32(xfs_refc_block(mp)); in xfs_rmaproot_init()
526 rrec->rm_blockcount = cpu_to_be32(1); in xfs_rmaproot_init()
527 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_REFC); in xfs_rmaproot_init()
528 rrec->rm_offset = 0; in xfs_rmaproot_init()
534 rrec = XFS_RMAP_REC_ADDR(block, in xfs_rmaproot_init()
536 rrec->rm_startblock = cpu_to_be32( in xfs_rmaproot_init()
538 rrec->rm_blockcount = cpu_to_be32(mp->m_sb.sb_logblocks); in xfs_rmaproot_init()
539 rrec->rm_owner = cpu_to_be64(XFS_RMAP_OWN_LOG); in xfs_rmaproot_init()
540 rrec->rm_offset = 0; in xfs_rmaproot_init()