Lines Matching refs:tp

227 	xfs_trans_t	*tp,  in xfs_qm_init_dquot_blk()  argument
237 ASSERT(tp); in xfs_qm_init_dquot_blk()
260 xfs_trans_dquot_buf(tp, bp, in xfs_qm_init_dquot_blk()
264 xfs_trans_log_buf(tp, bp, 0, BBTOB(q->qi_dqchunklen) - 1); in xfs_qm_init_dquot_blk()
311 xfs_trans_t *tp = *tpp; in xfs_qm_dqalloc() local
313 ASSERT(tp != NULL); in xfs_qm_dqalloc()
331 xfs_trans_ijoin(tp, quotip, XFS_ILOCK_EXCL); in xfs_qm_dqalloc()
333 error = xfs_bmapi_write(tp, quotip, offset_fsb, in xfs_qm_dqalloc()
350 bp = xfs_trans_get_buf(tp, mp->m_ddev_targp, in xfs_qm_dqalloc()
364 xfs_qm_init_dquot_blk(tp, mp, be32_to_cpu(dqp->q_core.d_id), in xfs_qm_dqalloc()
380 xfs_trans_bhold(tp, bp); in xfs_qm_dqalloc()
387 tp = *tpp; in xfs_qm_dqalloc()
388 xfs_trans_bjoin(tp, bp); in xfs_qm_dqalloc()
390 xfs_trans_bhold_release(tp, bp); in xfs_qm_dqalloc()
407 struct xfs_trans *tp, in xfs_qm_dqrepair() argument
421 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, dqp->q_blkno, in xfs_qm_dqrepair()
442 xfs_trans_brelse(tp, *bpp); in xfs_qm_dqrepair()
469 struct xfs_trans *tp = (tpp ? *tpp : NULL); in xfs_qm_dqtobp() local
511 ASSERT(tp); in xfs_qm_dqtobp()
516 tp = *tpp; in xfs_qm_dqtobp()
526 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, in xfs_qm_dqtobp()
535 error = xfs_qm_dqrepair(mp, tp, dqp, firstid, &bp); in xfs_qm_dqtobp()
569 struct xfs_trans *tp = NULL; in xfs_qm_dqread() local
613 tp = xfs_trans_alloc(mp, XFS_TRANS_QM_DQALLOC); in xfs_qm_dqread()
614 error = xfs_trans_reserve(tp, &M_RES(mp)->tr_qm_dqalloc, in xfs_qm_dqread()
624 error = xfs_qm_dqtobp(&tp, dqp, &ddqp, &bp, flags); in xfs_qm_dqread()
666 xfs_trans_brelse(tp, bp); in xfs_qm_dqread()
668 if (tp) { in xfs_qm_dqread()
669 error = xfs_trans_commit(tp); in xfs_qm_dqread()
678 if (tp) in xfs_qm_dqread()
679 xfs_trans_cancel(tp); in xfs_qm_dqread()