Lines Matching refs:irec
99 struct xfs_inobt_rec_incore *irec) in xfs_iwalk_ichunk_ra() argument
106 agbno = XFS_AGINO_TO_AGBNO(mp, irec->ir_startino); in xfs_iwalk_ichunk_ra()
113 if (imask & ~irec->ir_free) { in xfs_iwalk_ichunk_ra()
131 struct xfs_inobt_rec_incore *irec) /* btree record */ in xfs_iwalk_adjust_start() argument
136 idx = agino - irec->ir_startino; in xfs_iwalk_adjust_start()
144 if (XFS_INOBT_MASK(i) & ~irec->ir_free) in xfs_iwalk_adjust_start()
145 irec->ir_freecount++; in xfs_iwalk_adjust_start()
148 irec->ir_free |= xfs_inobt_maskn(0, idx); in xfs_iwalk_adjust_start()
192 struct xfs_inobt_rec_incore *irec = &iwag->recs[i]; in xfs_iwalk_ag_recs() local
194 trace_xfs_iwalk_ag_rec(mp, pag->pag_agno, irec); in xfs_iwalk_ag_recs()
200 error = iwag->inobt_walk_fn(mp, tp, pag->pag_agno, irec, in xfs_iwalk_ag_recs()
214 if (XFS_INOBT_MASK(j) & irec->ir_free) in xfs_iwalk_ag_recs()
219 irec->ir_startino + j); in xfs_iwalk_ag_recs()
273 struct xfs_inobt_rec_incore *irec; in xfs_iwalk_ag_start() local
305 irec = &iwag->recs[iwag->nr_recs]; in xfs_iwalk_ag_start()
306 error = xfs_inobt_get_rec(*curpp, irec, has_more); in xfs_iwalk_ag_start()
313 irec->ir_startino + XFS_INODES_PER_CHUNK - 1); in xfs_iwalk_ag_start()
319 if (irec->ir_startino + XFS_INODES_PER_CHUNK <= agino) in xfs_iwalk_ag_start()
327 xfs_iwalk_adjust_start(agino, irec); in xfs_iwalk_ag_start()
358 struct xfs_inobt_rec_incore *irec; in xfs_iwalk_run_callbacks() local
368 irec = &iwag->recs[iwag->nr_recs - 1]; in xfs_iwalk_run_callbacks()
369 ASSERT(next_agino >= irec->ir_startino + XFS_INODES_PER_CHUNK); in xfs_iwalk_run_callbacks()
420 struct xfs_inobt_rec_incore *irec; in xfs_iwalk_ag() local
428 irec = &iwag->recs[iwag->nr_recs]; in xfs_iwalk_ag()
429 error = xfs_inobt_get_rec(cur, irec, &has_more); in xfs_iwalk_ag()
434 rec_fsino = XFS_AGINO_TO_INO(mp, pag->pag_agno, irec->ir_startino); in xfs_iwalk_ag()
443 if (iwag->skip_empty && irec->ir_freecount == irec->ir_count) { in xfs_iwalk_ag()
455 xfs_iwalk_ichunk_ra(mp, pag, irec); in xfs_iwalk_ag()