Home
last modified time | relevance | path

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

/Linux-v5.10/fs/xfs/libxfs/
Dxfs_ag.c75 struct xfs_alloc_rec *arec; in xfs_freesp_init_recs() local
78 arec = XFS_ALLOC_REC_ADDR(mp, XFS_BUF_TO_BLOCK(bp), 1); in xfs_freesp_init_recs()
79 arec->ar_startblock = cpu_to_be32(mp->m_ag_prealloc_blocks); in xfs_freesp_init_recs()
91 arec->ar_blockcount = cpu_to_be32(start - in xfs_freesp_init_recs()
93 nrec = arec + 1; in xfs_freesp_init_recs()
100 be32_to_cpu(arec->ar_startblock) + in xfs_freesp_init_recs()
101 be32_to_cpu(arec->ar_blockcount)); in xfs_freesp_init_recs()
102 arec = nrec; in xfs_freesp_init_recs()
108 be32_add_cpu(&arec->ar_startblock, mp->m_sb.sb_logblocks); in xfs_freesp_init_recs()
117 arec->ar_blockcount = cpu_to_be32(id->agsize - in xfs_freesp_init_recs()
[all …]