Lines Matching refs:srcgroup
3336 struct btrfs_qgroup *srcgroup; in btrfs_qgroup_inherit() local
3389 srcgroup = find_qgroup_rb(fs_info, *i_qgroups); in btrfs_qgroup_inherit()
3395 if (!srcgroup || in btrfs_qgroup_inherit()
3396 ((srcgroup->qgroupid >> 48) <= (objectid >> 48))) in btrfs_qgroup_inherit()
3462 srcgroup = find_qgroup_rb(fs_info, srcid); in btrfs_qgroup_inherit()
3463 if (!srcgroup) in btrfs_qgroup_inherit()
3472 dstgroup->rfer = srcgroup->rfer; in btrfs_qgroup_inherit()
3473 dstgroup->rfer_cmpr = srcgroup->rfer_cmpr; in btrfs_qgroup_inherit()
3476 srcgroup->excl = level_size; in btrfs_qgroup_inherit()
3477 srcgroup->excl_cmpr = level_size; in btrfs_qgroup_inherit()
3480 dstgroup->lim_flags = srcgroup->lim_flags; in btrfs_qgroup_inherit()
3481 dstgroup->max_rfer = srcgroup->max_rfer; in btrfs_qgroup_inherit()
3482 dstgroup->max_excl = srcgroup->max_excl; in btrfs_qgroup_inherit()
3483 dstgroup->rsv_rfer = srcgroup->rsv_rfer; in btrfs_qgroup_inherit()
3484 dstgroup->rsv_excl = srcgroup->rsv_excl; in btrfs_qgroup_inherit()
3487 qgroup_dirty(fs_info, srcgroup); in btrfs_qgroup_inherit()
3493 if (!inherit && !list_empty(&srcgroup->groups)) in btrfs_qgroup_inherit()