Lines Matching defs:nrec
542 * existing record and updated in place. The merged record is returned in nrec.
552 struct xfs_inobt_rec_incore *nrec) /* in/out: new/merged rec. */
563 error = xfs_inobt_lookup(cur, nrec->ir_startino, XFS_LOOKUP_EQ, &i);
568 error = xfs_inobt_insert_rec(cur, nrec->ir_holemask,
569 nrec->ir_count, nrec->ir_freecount,
570 nrec->ir_free, &i);
593 if (XFS_IS_CORRUPT(mp, rec.ir_startino != nrec->ir_startino)) {
603 if (XFS_IS_CORRUPT(mp, !__xfs_inobt_can_merge(nrec, &rec))) {
610 rec.ir_holemask, nrec->ir_startino,
611 nrec->ir_holemask);
613 /* merge to nrec to output the updated record */
614 __xfs_inobt_rec_merge(nrec, &rec);
616 trace_xfs_irec_merge_post(mp, pag->pag_agno, nrec->ir_startino,
617 nrec->ir_holemask);
619 error = xfs_inobt_rec_check_count(mp, nrec);
623 error = xfs_inobt_update(cur, nrec);
649 struct xfs_inobt_rec_incore *nrec) /* in/out: new rec. */
659 error = xfs_inobt_lookup(cur, nrec->ir_startino, XFS_LOOKUP_EQ, &i);
664 error = xfs_inobt_insert_rec(cur, nrec->ir_holemask,
665 nrec->ir_count, nrec->ir_freecount,
666 nrec->ir_free, &i);
675 error = xfs_inobt_update(cur, nrec);