Lines Matching refs:tp
91 struct xfs_trans *tp = NULL;
142 pdqp, resblks, &tp);
160 error = xfs_dialloc(&tp, dp->i_ino, S_IFLNK, &ino);
162 error = xfs_init_new_inode(idmap, tp, dp, ino,
175 xfs_trans_ijoin(tp, dp, XFS_ILOCK_EXCL);
181 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp);
184 error = xfs_symlink_write_target(tp, ip, target_path, pathlen,
194 error = xfs_dir_createname(tp, dp, link_name, ip->i_ino, resblks);
197 xfs_trans_ichgtime(tp, dp, XFS_ICHGTIME_MOD | XFS_ICHGTIME_CHG);
198 xfs_trans_log_inode(tp, dp, XFS_ILOG_CORE);
207 xfs_trans_set_sync(tp);
209 error = xfs_trans_commit(tp);
221 xfs_trans_cancel(tp);
263 xfs_trans_t *tp;
276 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp);
281 xfs_trans_ijoin(tp, ip, 0);
292 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
306 error = xfs_trans_get_buf(tp, mp->m_ddev_targp,
312 xfs_trans_binval(tp, bp);
317 error = xfs_bunmapi(tp, ip, 0, size, 0, nmaps, &done);
326 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
327 error = xfs_trans_commit(tp);
344 xfs_trans_cancel(tp);