Lines Matching refs:tp
59 struct xfs_trans *tp; in xfs_qm_scall_trunc_qfile() local
71 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_qm_scall_trunc_qfile()
78 xfs_trans_ijoin(tp, ip, 0); in xfs_qm_scall_trunc_qfile()
81 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); in xfs_qm_scall_trunc_qfile()
83 error = xfs_itruncate_extents(&tp, ip, XFS_DATA_FORK, 0); in xfs_qm_scall_trunc_qfile()
85 xfs_trans_cancel(tp); in xfs_qm_scall_trunc_qfile()
91 xfs_trans_ichgtime(tp, ip, XFS_ICHGTIME_MOD | XFS_ICHGTIME_CHG); in xfs_qm_scall_trunc_qfile()
92 error = xfs_trans_commit(tp); in xfs_qm_scall_trunc_qfile()
281 struct xfs_trans *tp; in xfs_qm_scall_setqlim() local
309 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_setqlim, 0, 0, 0, &tp); in xfs_qm_scall_setqlim()
314 xfs_trans_dqjoin(tp, dqp); in xfs_qm_scall_setqlim()
387 xfs_trans_log_dquot(tp, dqp); in xfs_qm_scall_setqlim()
389 error = xfs_trans_commit(tp); in xfs_qm_scall_setqlim()