Lines Matching refs:dstgroup
2307 struct btrfs_qgroup *dstgroup; in btrfs_qgroup_inherit() local
2385 dstgroup = add_qgroup_rb(fs_info, objectid); in btrfs_qgroup_inherit()
2386 if (IS_ERR(dstgroup)) { in btrfs_qgroup_inherit()
2387 ret = PTR_ERR(dstgroup); in btrfs_qgroup_inherit()
2392 dstgroup->lim_flags = inherit->lim.flags; in btrfs_qgroup_inherit()
2393 dstgroup->max_rfer = inherit->lim.max_rfer; in btrfs_qgroup_inherit()
2394 dstgroup->max_excl = inherit->lim.max_excl; in btrfs_qgroup_inherit()
2395 dstgroup->rsv_rfer = inherit->lim.rsv_rfer; in btrfs_qgroup_inherit()
2396 dstgroup->rsv_excl = inherit->lim.rsv_excl; in btrfs_qgroup_inherit()
2398 ret = update_qgroup_limit_item(trans, quota_root, dstgroup); in btrfs_qgroup_inherit()
2402 dstgroup->qgroupid); in btrfs_qgroup_inherit()
2417 dstgroup->rfer = srcgroup->rfer; in btrfs_qgroup_inherit()
2418 dstgroup->rfer_cmpr = srcgroup->rfer_cmpr; in btrfs_qgroup_inherit()
2419 dstgroup->excl = level_size; in btrfs_qgroup_inherit()
2420 dstgroup->excl_cmpr = level_size; in btrfs_qgroup_inherit()
2425 dstgroup->lim_flags = srcgroup->lim_flags; in btrfs_qgroup_inherit()
2426 dstgroup->max_rfer = srcgroup->max_rfer; in btrfs_qgroup_inherit()
2427 dstgroup->max_excl = srcgroup->max_excl; in btrfs_qgroup_inherit()
2428 dstgroup->rsv_rfer = srcgroup->rsv_rfer; in btrfs_qgroup_inherit()
2429 dstgroup->rsv_excl = srcgroup->rsv_excl; in btrfs_qgroup_inherit()
2431 qgroup_dirty(fs_info, dstgroup); in btrfs_qgroup_inherit()