Lines Matching refs:trans
100 static int __btrfs_set_prop(struct btrfs_trans_handle *trans, in __btrfs_set_prop() argument
118 ret = __btrfs_setxattr(trans, inode, handler->xattr_name, in __btrfs_set_prop()
132 ret = __btrfs_setxattr(trans, inode, handler->xattr_name, in __btrfs_set_prop()
138 __btrfs_setxattr(trans, inode, handler->xattr_name, in __btrfs_set_prop()
298 static int inherit_props(struct btrfs_trans_handle *trans, in inherit_props() argument
323 ret = btrfs_block_rsv_add(root, trans->block_rsv, in inherit_props()
327 ret = __btrfs_set_prop(trans, inode, h->xattr_name, in inherit_props()
329 btrfs_block_rsv_release(root, trans->block_rsv, num_bytes); in inherit_props()
338 int btrfs_inode_inherit_props(struct btrfs_trans_handle *trans, in btrfs_inode_inherit_props() argument
345 return inherit_props(trans, inode, dir); in btrfs_inode_inherit_props()
348 int btrfs_subvol_inherit_props(struct btrfs_trans_handle *trans, in btrfs_subvol_inherit_props() argument
371 ret = inherit_props(trans, child_inode, parent_inode); in btrfs_subvol_inherit_props()