Lines Matching refs:trec

479 	struct xfs_inobt_rec_incore	*trec,	/* tgt record */  in __xfs_inobt_can_merge()  argument
486 if (trec->ir_startino != srec->ir_startino) in __xfs_inobt_can_merge()
490 if (!xfs_inobt_issparse(trec->ir_holemask) || in __xfs_inobt_can_merge()
495 if (!trec->ir_count || !srec->ir_count) in __xfs_inobt_can_merge()
499 if (trec->ir_count + srec->ir_count > XFS_INODES_PER_CHUNK) in __xfs_inobt_can_merge()
503 talloc = xfs_inobt_irec_to_allocmask(trec); in __xfs_inobt_can_merge()
517 struct xfs_inobt_rec_incore *trec, /* target */ in __xfs_inobt_rec_merge() argument
520 ASSERT(trec->ir_startino == srec->ir_startino); in __xfs_inobt_rec_merge()
523 trec->ir_count += srec->ir_count; in __xfs_inobt_rec_merge()
524 trec->ir_freecount += srec->ir_freecount; in __xfs_inobt_rec_merge()
530 trec->ir_holemask &= srec->ir_holemask; in __xfs_inobt_rec_merge()
531 trec->ir_free &= srec->ir_free; in __xfs_inobt_rec_merge()
1103 struct xfs_inobt_rec_incore rec, trec; in xfs_dialloc_ag_inobt() local
1178 &trec, &doneleft); in xfs_dialloc_ag_inobt()
1188 error = xfs_ialloc_next_rec(tcur, &trec, &doneleft, 1); in xfs_dialloc_ag_inobt()
1207 (trec.ir_startino + XFS_INODES_PER_CHUNK - 1) < in xfs_dialloc_ag_inobt()
1214 if (useleft && trec.ir_freecount) { in xfs_dialloc_ag_inobt()
1218 pag->pagl_leftrec = trec.ir_startino; in xfs_dialloc_ag_inobt()
1221 rec = trec; in xfs_dialloc_ag_inobt()
1229 pag->pagl_leftrec = trec.ir_startino; in xfs_dialloc_ag_inobt()
1237 error = xfs_ialloc_next_rec(tcur, &trec, in xfs_dialloc_ag_inobt()
1253 pag->pagl_leftrec = trec.ir_startino; in xfs_dialloc_ag_inobt()