Lines Matching refs:dstgroup
2869 struct btrfs_qgroup *dstgroup; in btrfs_qgroup_inherit() local
2951 dstgroup = add_qgroup_rb(fs_info, objectid); in btrfs_qgroup_inherit()
2952 if (IS_ERR(dstgroup)) { in btrfs_qgroup_inherit()
2953 ret = PTR_ERR(dstgroup); in btrfs_qgroup_inherit()
2958 dstgroup->lim_flags = inherit->lim.flags; in btrfs_qgroup_inherit()
2959 dstgroup->max_rfer = inherit->lim.max_rfer; in btrfs_qgroup_inherit()
2960 dstgroup->max_excl = inherit->lim.max_excl; in btrfs_qgroup_inherit()
2961 dstgroup->rsv_rfer = inherit->lim.rsv_rfer; in btrfs_qgroup_inherit()
2962 dstgroup->rsv_excl = inherit->lim.rsv_excl; in btrfs_qgroup_inherit()
2964 qgroup_dirty(fs_info, dstgroup); in btrfs_qgroup_inherit()
2978 dstgroup->rfer = srcgroup->rfer; in btrfs_qgroup_inherit()
2979 dstgroup->rfer_cmpr = srcgroup->rfer_cmpr; in btrfs_qgroup_inherit()
2980 dstgroup->excl = level_size; in btrfs_qgroup_inherit()
2981 dstgroup->excl_cmpr = level_size; in btrfs_qgroup_inherit()
2986 dstgroup->lim_flags = srcgroup->lim_flags; in btrfs_qgroup_inherit()
2987 dstgroup->max_rfer = srcgroup->max_rfer; in btrfs_qgroup_inherit()
2988 dstgroup->max_excl = srcgroup->max_excl; in btrfs_qgroup_inherit()
2989 dstgroup->rsv_rfer = srcgroup->rsv_rfer; in btrfs_qgroup_inherit()
2990 dstgroup->rsv_excl = srcgroup->rsv_excl; in btrfs_qgroup_inherit()
2992 qgroup_dirty(fs_info, dstgroup); in btrfs_qgroup_inherit()
3060 ret = btrfs_sysfs_add_one_qgroup(fs_info, dstgroup); in btrfs_qgroup_inherit()