Lines Matching refs:srcgroup
2868 struct btrfs_qgroup *srcgroup; in btrfs_qgroup_inherit() local
2907 srcgroup = find_qgroup_rb(fs_info, *i_qgroups); in btrfs_qgroup_inherit()
2913 if (!srcgroup || in btrfs_qgroup_inherit()
2914 ((srcgroup->qgroupid >> 48) <= (objectid >> 48))) in btrfs_qgroup_inherit()
2968 srcgroup = find_qgroup_rb(fs_info, srcid); in btrfs_qgroup_inherit()
2969 if (!srcgroup) in btrfs_qgroup_inherit()
2978 dstgroup->rfer = srcgroup->rfer; in btrfs_qgroup_inherit()
2979 dstgroup->rfer_cmpr = srcgroup->rfer_cmpr; in btrfs_qgroup_inherit()
2982 srcgroup->excl = level_size; in btrfs_qgroup_inherit()
2983 srcgroup->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()
2993 qgroup_dirty(fs_info, srcgroup); in btrfs_qgroup_inherit()