Lines Matching refs:dstgroup
2848 struct btrfs_qgroup *dstgroup; in btrfs_qgroup_inherit() local
2930 dstgroup = add_qgroup_rb(fs_info, objectid); in btrfs_qgroup_inherit()
2931 if (IS_ERR(dstgroup)) { in btrfs_qgroup_inherit()
2932 ret = PTR_ERR(dstgroup); in btrfs_qgroup_inherit()
2937 dstgroup->lim_flags = inherit->lim.flags; in btrfs_qgroup_inherit()
2938 dstgroup->max_rfer = inherit->lim.max_rfer; in btrfs_qgroup_inherit()
2939 dstgroup->max_excl = inherit->lim.max_excl; in btrfs_qgroup_inherit()
2940 dstgroup->rsv_rfer = inherit->lim.rsv_rfer; in btrfs_qgroup_inherit()
2941 dstgroup->rsv_excl = inherit->lim.rsv_excl; in btrfs_qgroup_inherit()
2943 qgroup_dirty(fs_info, dstgroup); in btrfs_qgroup_inherit()
2957 dstgroup->rfer = srcgroup->rfer; in btrfs_qgroup_inherit()
2958 dstgroup->rfer_cmpr = srcgroup->rfer_cmpr; in btrfs_qgroup_inherit()
2959 dstgroup->excl = level_size; in btrfs_qgroup_inherit()
2960 dstgroup->excl_cmpr = level_size; in btrfs_qgroup_inherit()
2965 dstgroup->lim_flags = srcgroup->lim_flags; in btrfs_qgroup_inherit()
2966 dstgroup->max_rfer = srcgroup->max_rfer; in btrfs_qgroup_inherit()
2967 dstgroup->max_excl = srcgroup->max_excl; in btrfs_qgroup_inherit()
2968 dstgroup->rsv_rfer = srcgroup->rsv_rfer; in btrfs_qgroup_inherit()
2969 dstgroup->rsv_excl = srcgroup->rsv_excl; in btrfs_qgroup_inherit()
2971 qgroup_dirty(fs_info, dstgroup); in btrfs_qgroup_inherit()
3039 ret = btrfs_sysfs_add_one_qgroup(fs_info, dstgroup); in btrfs_qgroup_inherit()