Lines Matching refs:arec
411 struct xfs_alloc_rec *arec; in xfs_freesp_init_recs() local
414 arec = XFS_ALLOC_REC_ADDR(mp, XFS_BUF_TO_BLOCK(bp), 1); in xfs_freesp_init_recs()
415 arec->ar_startblock = cpu_to_be32(mp->m_ag_prealloc_blocks); in xfs_freesp_init_recs()
428 arec->ar_blockcount = cpu_to_be32(start - in xfs_freesp_init_recs()
431 nrec = arec + 1; in xfs_freesp_init_recs()
438 be32_to_cpu(arec->ar_startblock) + in xfs_freesp_init_recs()
439 be32_to_cpu(arec->ar_blockcount)); in xfs_freesp_init_recs()
440 arec = nrec; in xfs_freesp_init_recs()
445 be32_add_cpu(&arec->ar_startblock, mp->m_sb.sb_logblocks); in xfs_freesp_init_recs()
452 arec->ar_blockcount = cpu_to_be32(id->agsize - in xfs_freesp_init_recs()
453 be32_to_cpu(arec->ar_startblock)); in xfs_freesp_init_recs()
454 if (arec->ar_blockcount) in xfs_freesp_init_recs()