Lines Matching refs:nrec
552 struct xfs_inobt_rec_incore *nrec) /* in/out: new/merged rec. */ in xfs_inobt_insert_sprec() argument
563 error = xfs_inobt_lookup(cur, nrec->ir_startino, XFS_LOOKUP_EQ, &i); in xfs_inobt_insert_sprec()
568 error = xfs_inobt_insert_rec(cur, nrec->ir_holemask, in xfs_inobt_insert_sprec()
569 nrec->ir_count, nrec->ir_freecount, in xfs_inobt_insert_sprec()
570 nrec->ir_free, &i); in xfs_inobt_insert_sprec()
593 if (XFS_IS_CORRUPT(mp, rec.ir_startino != nrec->ir_startino)) { in xfs_inobt_insert_sprec()
603 if (XFS_IS_CORRUPT(mp, !__xfs_inobt_can_merge(nrec, &rec))) { in xfs_inobt_insert_sprec()
610 rec.ir_holemask, nrec->ir_startino, in xfs_inobt_insert_sprec()
611 nrec->ir_holemask); in xfs_inobt_insert_sprec()
614 __xfs_inobt_rec_merge(nrec, &rec); in xfs_inobt_insert_sprec()
616 trace_xfs_irec_merge_post(mp, pag->pag_agno, nrec->ir_startino, in xfs_inobt_insert_sprec()
617 nrec->ir_holemask); in xfs_inobt_insert_sprec()
619 error = xfs_inobt_rec_check_count(mp, nrec); in xfs_inobt_insert_sprec()
623 error = xfs_inobt_update(cur, nrec); in xfs_inobt_insert_sprec()
649 struct xfs_inobt_rec_incore *nrec) /* in/out: new rec. */ in xfs_finobt_insert_sprec() argument
659 error = xfs_inobt_lookup(cur, nrec->ir_startino, XFS_LOOKUP_EQ, &i); in xfs_finobt_insert_sprec()
664 error = xfs_inobt_insert_rec(cur, nrec->ir_holemask, in xfs_finobt_insert_sprec()
665 nrec->ir_count, nrec->ir_freecount, in xfs_finobt_insert_sprec()
666 nrec->ir_free, &i); in xfs_finobt_insert_sprec()
675 error = xfs_inobt_update(cur, nrec); in xfs_finobt_insert_sprec()