• Home
  • Raw
  • Download

Lines Matching refs:tp

71 	xfs_trans_t	*tp;  in xfs_dir_ialloc()  local
82 tp = *tpp; in xfs_dir_ialloc()
83 ASSERT(tp->t_flags & XFS_TRANS_PERM_LOG_RES); in xfs_dir_ialloc()
100 code = xfs_ialloc(tp, dp, mode, nlink, rdev, credp, prid, okalloc, in xfs_dir_ialloc()
132 xfs_trans_bhold(tp, ialloc_context); in xfs_dir_ialloc()
137 log_res = xfs_trans_get_log_res(tp); in xfs_dir_ialloc()
138 log_count = xfs_trans_get_log_count(tp); in xfs_dir_ialloc()
147 if (tp->t_dqinfo) { in xfs_dir_ialloc()
148 dqinfo = (void *)tp->t_dqinfo; in xfs_dir_ialloc()
149 tp->t_dqinfo = NULL; in xfs_dir_ialloc()
150 tflags = tp->t_flags & XFS_TRANS_DQ_DIRTY; in xfs_dir_ialloc()
151 tp->t_flags &= ~(XFS_TRANS_DQ_DIRTY); in xfs_dir_ialloc()
154 ntp = xfs_trans_dup(tp); in xfs_dir_ialloc()
155 code = xfs_trans_commit(tp, 0); in xfs_dir_ialloc()
156 tp = ntp; in xfs_dir_ialloc()
168 tp->t_dqinfo = dqinfo; in xfs_dir_ialloc()
169 XFS_TRANS_FREE_DQINFO(tp->t_mountp, tp); in xfs_dir_ialloc()
180 xfs_log_ticket_put(tp->t_ticket); in xfs_dir_ialloc()
181 code = xfs_trans_reserve(tp, 0, log_res, 0, in xfs_dir_ialloc()
187 tp->t_dqinfo = dqinfo; in xfs_dir_ialloc()
188 tp->t_flags |= tflags; in xfs_dir_ialloc()
197 xfs_trans_bjoin(tp, ialloc_context); in xfs_dir_ialloc()
204 code = xfs_ialloc(tp, dp, mode, nlink, rdev, credp, prid, in xfs_dir_ialloc()
212 *tpp = tp; in xfs_dir_ialloc()
225 *tpp = tp; in xfs_dir_ialloc()
237 xfs_trans_t *tp, in xfs_droplink() argument
247 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); in xfs_droplink()
257 error = xfs_iunlink(tp, ip); in xfs_droplink()
271 xfs_trans_t *tp, in xfs_bump_ino_vers2() argument
282 mp = tp->t_mountp; in xfs_bump_ino_vers2()
288 xfs_mod_sb(tp, XFS_SB_VERSIONNUM); in xfs_bump_ino_vers2()
301 xfs_trans_t *tp, in xfs_bumplink() argument
321 xfs_bump_ino_vers2(tp, ip); in xfs_bumplink()
324 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); in xfs_bumplink()
338 xfs_trans_t *tp; in xfs_truncate_file() local
366 tp = xfs_trans_alloc(mp, XFS_TRANS_TRUNCATE_FILE); in xfs_truncate_file()
367 if ((error = xfs_trans_reserve(tp, 0, XFS_ITRUNCATE_LOG_RES(mp), 0, in xfs_truncate_file()
370 xfs_trans_cancel(tp, 0); in xfs_truncate_file()
381 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL); in xfs_truncate_file()
382 xfs_trans_ihold(tp, ip); in xfs_truncate_file()
394 error = xfs_itruncate_finish(&tp, ip, (xfs_fsize_t)0, in xfs_truncate_file()
400 xfs_trans_cancel(tp, XFS_TRANS_RELEASE_LOG_RES | in xfs_truncate_file()
404 error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES); in xfs_truncate_file()