Lines Matching refs:trans
102 static int __btrfs_set_prop(struct btrfs_trans_handle *trans, in __btrfs_set_prop() argument
120 ret = __btrfs_setxattr(trans, inode, handler->xattr_name, in __btrfs_set_prop()
134 ret = __btrfs_setxattr(trans, inode, handler->xattr_name, in __btrfs_set_prop()
140 __btrfs_setxattr(trans, inode, handler->xattr_name, in __btrfs_set_prop()
300 static int inherit_props(struct btrfs_trans_handle *trans, in inherit_props() argument
324 ret = btrfs_block_rsv_add(root, trans->block_rsv, in inherit_props()
328 ret = __btrfs_set_prop(trans, inode, h->xattr_name, in inherit_props()
330 btrfs_block_rsv_release(root, trans->block_rsv, num_bytes); in inherit_props()
339 int btrfs_inode_inherit_props(struct btrfs_trans_handle *trans, in btrfs_inode_inherit_props() argument
346 return inherit_props(trans, inode, dir); in btrfs_inode_inherit_props()
349 int btrfs_subvol_inherit_props(struct btrfs_trans_handle *trans, in btrfs_subvol_inherit_props() argument
372 ret = inherit_props(trans, child_inode, parent_inode); in btrfs_subvol_inherit_props()