Lines Matching refs:dstgroup
2249 struct btrfs_qgroup *dstgroup; in btrfs_qgroup_inherit() local
2311 dstgroup = add_qgroup_rb(fs_info, objectid); in btrfs_qgroup_inherit()
2312 if (IS_ERR(dstgroup)) { in btrfs_qgroup_inherit()
2313 ret = PTR_ERR(dstgroup); in btrfs_qgroup_inherit()
2318 dstgroup->lim_flags = inherit->lim.flags; in btrfs_qgroup_inherit()
2319 dstgroup->max_rfer = inherit->lim.max_rfer; in btrfs_qgroup_inherit()
2320 dstgroup->max_excl = inherit->lim.max_excl; in btrfs_qgroup_inherit()
2321 dstgroup->rsv_rfer = inherit->lim.rsv_rfer; in btrfs_qgroup_inherit()
2322 dstgroup->rsv_excl = inherit->lim.rsv_excl; in btrfs_qgroup_inherit()
2324 ret = update_qgroup_limit_item(trans, dstgroup); in btrfs_qgroup_inherit()
2329 dstgroup->qgroupid); in btrfs_qgroup_inherit()
2345 dstgroup->rfer = srcgroup->rfer; in btrfs_qgroup_inherit()
2346 dstgroup->rfer_cmpr = srcgroup->rfer_cmpr; in btrfs_qgroup_inherit()
2347 dstgroup->excl = level_size; in btrfs_qgroup_inherit()
2348 dstgroup->excl_cmpr = level_size; in btrfs_qgroup_inherit()
2353 dstgroup->lim_flags = srcgroup->lim_flags; in btrfs_qgroup_inherit()
2354 dstgroup->max_rfer = srcgroup->max_rfer; in btrfs_qgroup_inherit()
2355 dstgroup->max_excl = srcgroup->max_excl; in btrfs_qgroup_inherit()
2356 dstgroup->rsv_rfer = srcgroup->rsv_rfer; in btrfs_qgroup_inherit()
2357 dstgroup->rsv_excl = srcgroup->rsv_excl; in btrfs_qgroup_inherit()
2359 qgroup_dirty(fs_info, dstgroup); in btrfs_qgroup_inherit()