Lines Matching refs:nrec
511 * existing record and updated in place. The merged record is returned in nrec.
524 struct xfs_inobt_rec_incore *nrec, /* in/out: new/merged rec. */
537 error = xfs_inobt_lookup(cur, nrec->ir_startino, XFS_LOOKUP_EQ, &i);
542 error = xfs_inobt_insert_rec(cur, nrec->ir_holemask,
543 nrec->ir_count, nrec->ir_freecount,
544 nrec->ir_free, &i);
567 if (XFS_IS_CORRUPT(mp, rec.ir_startino != nrec->ir_startino)) {
576 if (XFS_IS_CORRUPT(mp, !__xfs_inobt_can_merge(nrec, &rec))) {
582 rec.ir_holemask, nrec->ir_startino,
583 nrec->ir_holemask);
585 /* merge to nrec to output the updated record */
586 __xfs_inobt_rec_merge(nrec, &rec);
588 trace_xfs_irec_merge_post(mp, agno, nrec->ir_startino,
589 nrec->ir_holemask);
591 error = xfs_inobt_rec_check_count(mp, nrec);
596 error = xfs_inobt_update(cur, nrec);