Lines Matching refs:trans

83 	struct xfs_trans		**trans,  in xfs_attr3_leaf_inactive()  argument
120 xfs_trans_brelse(*trans, bp); in xfs_attr3_leaf_inactive()
131 struct xfs_trans **trans, in xfs_attr3_node_inactive() argument
149 xfs_trans_brelse(*trans, bp); /* no locks for later trans */ in xfs_attr3_node_inactive()
156 xfs_trans_brelse(*trans, bp); in xfs_attr3_node_inactive()
160 xfs_trans_brelse(*trans, bp); /* no locks for later trans */ in xfs_attr3_node_inactive()
175 error = xfs_da3_node_read(*trans, dp, child_fsb, &child_bp, in xfs_attr3_node_inactive()
190 error = xfs_attr3_node_inactive(trans, dp, child_bp, in xfs_attr3_node_inactive()
195 error = xfs_attr3_leaf_inactive(trans, dp, child_bp); in xfs_attr3_node_inactive()
199 xfs_trans_brelse(*trans, child_bp); in xfs_attr3_node_inactive()
209 error = xfs_trans_get_buf(*trans, mp->m_ddev_targp, in xfs_attr3_node_inactive()
215 xfs_trans_binval(*trans, child_bp); in xfs_attr3_node_inactive()
225 error = xfs_da3_node_read_mapped(*trans, dp, in xfs_attr3_node_inactive()
232 xfs_trans_brelse(*trans, bp); in xfs_attr3_node_inactive()
238 error = xfs_trans_roll_inode(trans, dp); in xfs_attr3_node_inactive()
254 struct xfs_trans **trans, in xfs_attr3_root_inactive() argument
269 error = xfs_da3_node_read(*trans, dp, 0, &bp, XFS_ATTR_FORK); in xfs_attr3_root_inactive()
282 error = xfs_attr3_node_inactive(trans, dp, bp, 1); in xfs_attr3_root_inactive()
286 error = xfs_attr3_leaf_inactive(trans, dp, bp); in xfs_attr3_root_inactive()
291 xfs_trans_brelse(*trans, bp); in xfs_attr3_root_inactive()
300 error = xfs_trans_get_buf(*trans, mp->m_ddev_targp, blkno, in xfs_attr3_root_inactive()
306 xfs_trans_brelse(*trans, bp); in xfs_attr3_root_inactive()
309 xfs_trans_binval(*trans, bp); /* remove from cache */ in xfs_attr3_root_inactive()
313 error = xfs_trans_roll_inode(trans, dp); in xfs_attr3_root_inactive()
330 struct xfs_trans *trans; in xfs_attr_inactive() local
345 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_attrinval, 0, 0, 0, &trans); in xfs_attr_inactive()
359 xfs_trans_ijoin(trans, dp, 0); in xfs_attr_inactive()
368 error = xfs_attr3_root_inactive(&trans, dp); in xfs_attr_inactive()
372 error = xfs_itruncate_extents(&trans, dp, XFS_ATTR_FORK, 0); in xfs_attr_inactive()
378 xfs_attr_fork_remove(dp, trans); in xfs_attr_inactive()
380 error = xfs_trans_commit(trans); in xfs_attr_inactive()
385 xfs_trans_cancel(trans); in xfs_attr_inactive()