Lines Matching defs:tp

144 	xfs_trans_t	*tp;
155 tp = *tpp;
156 ASSERT(tp->t_flags & XFS_TRANS_PERM_LOG_RES);
173 code = xfs_ialloc(tp, dp, mode, nlink, rdev, credp, prid, okalloc,
205 xfs_trans_bhold(tp, ialloc_context);
210 log_res = xfs_trans_get_log_res(tp);
211 log_count = xfs_trans_get_log_count(tp);
220 if (tp->t_dqinfo) {
221 dqinfo = (void *)tp->t_dqinfo;
222 tp->t_dqinfo = NULL;
223 tflags = tp->t_flags & XFS_TRANS_DQ_DIRTY;
224 tp->t_flags &= ~(XFS_TRANS_DQ_DIRTY);
227 ntp = xfs_trans_dup(tp);
228 code = xfs_trans_commit(tp, 0, NULL);
229 tp = ntp;
241 tp->t_dqinfo = dqinfo;
242 XFS_TRANS_FREE_DQINFO(tp->t_mountp, tp);
248 code = xfs_trans_reserve(tp, 0, log_res, 0,
254 tp->t_dqinfo = dqinfo;
255 tp->t_flags |= tflags;
264 xfs_trans_bjoin(tp, ialloc_context);
271 code = xfs_ialloc(tp, dp, mode, nlink, rdev, credp, prid,
279 *tpp = tp;
292 *tpp = tp;
304 xfs_trans_t *tp,
313 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
323 error = xfs_iunlink(tp, ip);
337 xfs_trans_t *tp,
349 mp = tp->t_mountp;
355 xfs_mod_sb(tp, XFS_SB_VERSIONNUM);
368 xfs_trans_t *tp,
387 xfs_bump_ino_vers2(tp, ip);
390 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
404 xfs_trans_t *tp;
428 tp = xfs_trans_alloc(mp, XFS_TRANS_TRUNCATE_FILE);
429 if ((error = xfs_trans_reserve(tp, 0, XFS_ITRUNCATE_LOG_RES(mp), 0,
432 xfs_trans_cancel(tp, 0);
443 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL);
444 xfs_trans_ihold(tp, ip);
456 error = xfs_itruncate_finish(&tp, ip, (xfs_fsize_t)0,
462 xfs_trans_cancel(tp, XFS_TRANS_RELEASE_LOG_RES |
466 error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES,