Lines Matching full:trans
84 struct xfs_trans **trans, in xfs_attr3_leaf_inactive() argument
121 xfs_trans_brelse(*trans, bp); in xfs_attr3_leaf_inactive()
132 struct xfs_trans **trans, in xfs_attr3_node_inactive() argument
150 xfs_trans_brelse(*trans, bp); /* no locks for later trans */ in xfs_attr3_node_inactive()
158 xfs_trans_brelse(*trans, bp); in xfs_attr3_node_inactive()
162 xfs_trans_brelse(*trans, bp); /* no locks for later trans */ in xfs_attr3_node_inactive()
177 error = xfs_da3_node_read(*trans, dp, child_fsb, &child_bp, in xfs_attr3_node_inactive()
192 error = xfs_attr3_node_inactive(trans, dp, child_bp, in xfs_attr3_node_inactive()
197 error = xfs_attr3_leaf_inactive(trans, dp, child_bp); in xfs_attr3_node_inactive()
201 xfs_trans_brelse(*trans, child_bp); in xfs_attr3_node_inactive()
212 error = xfs_trans_get_buf(*trans, mp->m_ddev_targp, in xfs_attr3_node_inactive()
218 xfs_trans_binval(*trans, child_bp); in xfs_attr3_node_inactive()
228 error = xfs_da3_node_read_mapped(*trans, dp, in xfs_attr3_node_inactive()
235 xfs_trans_brelse(*trans, bp); in xfs_attr3_node_inactive()
241 error = xfs_trans_roll_inode(trans, dp); in xfs_attr3_node_inactive()
257 struct xfs_trans **trans, in xfs_attr3_root_inactive() argument
272 error = xfs_da3_node_read(*trans, dp, 0, &bp, XFS_ATTR_FORK); in xfs_attr3_root_inactive()
285 error = xfs_attr3_node_inactive(trans, dp, bp, 1); in xfs_attr3_root_inactive()
289 error = xfs_attr3_leaf_inactive(trans, dp, bp); in xfs_attr3_root_inactive()
295 xfs_trans_brelse(*trans, bp); in xfs_attr3_root_inactive()
304 error = xfs_trans_get_buf(*trans, mp->m_ddev_targp, blkno, in xfs_attr3_root_inactive()
308 xfs_trans_binval(*trans, bp); /* remove from cache */ in xfs_attr3_root_inactive()
312 error = xfs_trans_roll_inode(trans, dp); in xfs_attr3_root_inactive()
329 struct xfs_trans *trans; in xfs_attr_inactive() local
343 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_attrinval, 0, 0, 0, &trans); in xfs_attr_inactive()
357 xfs_trans_ijoin(trans, dp, 0); in xfs_attr_inactive()
366 error = xfs_attr3_root_inactive(&trans, dp); in xfs_attr_inactive()
370 error = xfs_itruncate_extents(&trans, dp, XFS_ATTR_FORK, 0); in xfs_attr_inactive()
376 xfs_attr_fork_remove(dp, trans); in xfs_attr_inactive()
378 error = xfs_trans_commit(trans); in xfs_attr_inactive()
383 xfs_trans_cancel(trans); in xfs_attr_inactive()