Searched refs:arec (Results 1 – 3 of 3) sorted by relevance
199 struct xfs_alloc_rec_incore arec = { in xrep_abt_stash() local209 error = xrep_abt_check_free_ext(ra->sc, &arec); in xrep_abt_stash()213 trace_xrep_abt_found(sc->mp, sc->sa.pag->pag_agno, &arec); in xrep_abt_stash()215 error = xfarray_append(ra->free_records, &arec); in xrep_abt_stash()219 ra->nr_blocks += arec.ar_blockcount; in xrep_abt_stash()302 struct xfs_alloc_rec_incore arec; in xrep_bnobt_sort_records() local311 while ((error = xfarray_iter(ra->free_records, &cur, &arec)) == 1) { in xrep_bnobt_sort_records()312 if (arec.ar_startblock < next_agbno) in xrep_bnobt_sort_records()315 next_agbno = arec.ar_startblock + arec.ar_blockcount; in xrep_bnobt_sort_records()446 struct xfs_alloc_rec_incore arec; in xrep_abt_reserve_space() local[all …]
411 struct xfs_alloc_rec *arec; in xfs_freesp_init_recs() local414 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()[all …]
17040 M: Arec Kao <arec.kao@intel.com>