Lines Matching defs:irec
94 struct xfs_inobt_rec_incore *irec)
101 agbno = XFS_AGINO_TO_AGBNO(mp, irec->ir_startino);
108 if (imask & ~irec->ir_free) {
119 * Set the bits in @irec's free mask that correspond to the inodes before
126 struct xfs_inobt_rec_incore *irec) /* btree record */
131 idx = agino - irec->ir_startino;
139 if (XFS_INOBT_MASK(i) & ~irec->ir_free)
140 irec->ir_freecount++;
143 irec->ir_free |= xfs_inobt_maskn(0, idx);
188 struct xfs_inobt_rec_incore *irec = &iwag->recs[i];
190 trace_xfs_iwalk_ag_rec(mp, agno, irec);
196 error = iwag->inobt_walk_fn(mp, tp, agno, irec,
210 if (XFS_INOBT_MASK(j) & irec->ir_free)
214 ino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino + j);
268 struct xfs_inobt_rec_incore *irec;
300 irec = &iwag->recs[iwag->nr_recs];
301 error = xfs_inobt_get_rec(*curpp, irec, has_more);
308 irec->ir_startino + XFS_INODES_PER_CHUNK - 1);
314 if (irec->ir_startino + XFS_INODES_PER_CHUNK <= agino)
322 xfs_iwalk_adjust_start(agino, irec);
355 struct xfs_inobt_rec_incore *irec;
365 irec = &iwag->recs[iwag->nr_recs - 1];
366 ASSERT(next_agino >= irec->ir_startino + XFS_INODES_PER_CHUNK);
406 struct xfs_inobt_rec_incore *irec;
414 irec = &iwag->recs[iwag->nr_recs];
415 error = xfs_inobt_get_rec(cur, irec, &has_more);
420 rec_fsino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino);
429 if (iwag->skip_empty && irec->ir_freecount == irec->ir_count) {
441 xfs_iwalk_ichunk_ra(mp, agno, irec);