Lines Matching refs:tp
719 xfs_trans_t *tp; in xfs_qm_qino_alloc() local
755 tp = xfs_trans_alloc(mp, XFS_TRANS_QM_QINOCREATE); in xfs_qm_qino_alloc()
756 error = xfs_trans_reserve(tp, &M_RES(mp)->tr_create, in xfs_qm_qino_alloc()
759 xfs_trans_cancel(tp); in xfs_qm_qino_alloc()
764 error = xfs_dir_ialloc(&tp, NULL, S_IFREG, 1, 0, 0, 1, ip, in xfs_qm_qino_alloc()
767 xfs_trans_cancel(tp); in xfs_qm_qino_alloc()
796 xfs_log_sb(tp); in xfs_qm_qino_alloc()
798 error = xfs_trans_commit(tp); in xfs_qm_qino_alloc()
1744 xfs_trans_t *tp, in xfs_qm_vop_chown() argument
1762 xfs_trans_mod_dquot(tp, prevdq, bfield, -(ip->i_d.di_nblocks)); in xfs_qm_vop_chown()
1763 xfs_trans_mod_dquot(tp, prevdq, XFS_TRANS_DQ_ICOUNT, -1); in xfs_qm_vop_chown()
1766 xfs_trans_mod_dquot(tp, newdq, bfield, ip->i_d.di_nblocks); in xfs_qm_vop_chown()
1767 xfs_trans_mod_dquot(tp, newdq, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_chown()
1783 struct xfs_trans *tp, in xfs_qm_vop_chown_reserve() argument
1840 error = xfs_trans_reserve_quota_bydquots(tp, ip->i_mount, in xfs_qm_vop_chown_reserve()
1903 struct xfs_trans *tp, in xfs_qm_vop_create_dqattach() argument
1909 struct xfs_mount *mp = tp->t_mountp; in xfs_qm_vop_create_dqattach()
1922 xfs_trans_mod_dquot(tp, udqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach()
1928 xfs_trans_mod_dquot(tp, gdqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach()
1935 xfs_trans_mod_dquot(tp, pdqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach()