Lines Matching refs:nrec
533 * existing record and updated in place. The merged record is returned in nrec.
546 struct xfs_inobt_rec_incore *nrec, /* in/out: new/merged rec. */
558 error = xfs_inobt_lookup(cur, nrec->ir_startino, XFS_LOOKUP_EQ, &i);
563 error = xfs_inobt_insert_rec(cur, nrec->ir_holemask,
564 nrec->ir_count, nrec->ir_freecount,
565 nrec->ir_free, &i);
588 if (XFS_IS_CORRUPT(mp, rec.ir_startino != nrec->ir_startino)) {
597 if (XFS_IS_CORRUPT(mp, !__xfs_inobt_can_merge(nrec, &rec))) {
603 rec.ir_holemask, nrec->ir_startino,
604 nrec->ir_holemask);
606 /* merge to nrec to output the updated record */
607 __xfs_inobt_rec_merge(nrec, &rec);
609 trace_xfs_irec_merge_post(mp, pag->pag_agno, nrec->ir_startino,
610 nrec->ir_holemask);
612 error = xfs_inobt_rec_check_count(mp, nrec);
617 error = xfs_inobt_update(cur, nrec);