Lines Matching refs:qgroupid

90 		qgroup->qgroupid, qgroup_rsv_type_str(type),  in qgroup_rsv_release()
173 u64 qgroupid) in find_qgroup_rb() argument
180 if (qgroup->qgroupid < qgroupid) in find_qgroup_rb()
182 else if (qgroup->qgroupid > qgroupid) in find_qgroup_rb()
192 u64 qgroupid) in add_qgroup_rb() argument
202 if (qgroup->qgroupid < qgroupid) in add_qgroup_rb()
204 else if (qgroup->qgroupid > qgroupid) in add_qgroup_rb()
214 qgroup->qgroupid = qgroupid; in add_qgroup_rb()
249 static int del_qgroup_rb(struct btrfs_fs_info *fs_info, u64 qgroupid) in del_qgroup_rb() argument
251 struct btrfs_qgroup *qgroup = find_qgroup_rb(fs_info, qgroupid); in del_qgroup_rb()
311 int btrfs_verify_qgroup_counts(struct btrfs_fs_info *fs_info, u64 qgroupid, in btrfs_verify_qgroup_counts() argument
316 qgroup = find_qgroup_rb(fs_info, qgroupid); in btrfs_verify_qgroup_counts()
547 btrfs_qgroup_level(qgroup->qgroupid), in btrfs_check_quota_leak()
548 btrfs_qgroup_subvolid(qgroup->qgroupid), in btrfs_check_quota_leak()
640 struct btrfs_root *quota_root, u64 qgroupid) in add_qgroup_item() argument
658 key.offset = qgroupid; in add_qgroup_item()
707 static int del_qgroup_item(struct btrfs_trans_handle *trans, u64 qgroupid) in del_qgroup_item() argument
720 key.offset = qgroupid; in del_qgroup_item()
766 key.offset = qgroup->qgroupid; in update_qgroup_limit_item()
812 key.offset = qgroup->qgroupid; in update_qgroup_info_item()
1289 ret = ulist_add(tmp, glist->group->qgroupid, in __qgroup_excl_accounting()
1312 ret = ulist_add(tmp, glist->group->qgroupid, in __qgroup_excl_accounting()
1505 int btrfs_create_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid) in btrfs_create_qgroup() argument
1518 qgroup = find_qgroup_rb(fs_info, qgroupid); in btrfs_create_qgroup()
1524 ret = add_qgroup_item(trans, quota_root, qgroupid); in btrfs_create_qgroup()
1529 qgroup = add_qgroup_rb(fs_info, qgroupid); in btrfs_create_qgroup()
1542 int btrfs_remove_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid) in btrfs_remove_qgroup() argument
1555 qgroup = find_qgroup_rb(fs_info, qgroupid); in btrfs_remove_qgroup()
1567 ret = del_qgroup_item(trans, qgroupid); in btrfs_remove_qgroup()
1574 ret = __del_qgroup_relation(trans, qgroupid, in btrfs_remove_qgroup()
1575 list->group->qgroupid); in btrfs_remove_qgroup()
1581 del_qgroup_rb(fs_info, qgroupid); in btrfs_remove_qgroup()
1596 int btrfs_limit_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid, in btrfs_limit_qgroup() argument
1614 qgroup = find_qgroup_rb(fs_info, qgroupid); in btrfs_limit_qgroup()
1665 qgroupid); in btrfs_limit_qgroup()
2347 ret = ulist_add(qgroups, qg->qgroupid, qgroup_to_aux(qg), in qgroup_update_refcnt()
2351 ret = ulist_add(tmp, qg->qgroupid, qgroup_to_aux(qg), GFP_ATOMIC); in qgroup_update_refcnt()
2364 ret = ulist_add(qgroups, glist->group->qgroupid, in qgroup_update_refcnt()
2369 ret = ulist_add(tmp, glist->group->qgroupid, in qgroup_update_refcnt()
2801 ((srcgroup->qgroupid >> 48) <= (objectid >> 48))) in btrfs_qgroup_inherit()
2856 dstgroup->qgroupid); in btrfs_qgroup_inherit()
3009 ret = ulist_add(fs_info->qgroup_ulist, qgroup->qgroupid, in qgroup_reserve()
3027 glist->group->qgroupid, in qgroup_reserve()
3096 ret = ulist_add(fs_info->qgroup_ulist, qgroup->qgroupid, in btrfs_qgroup_free_refroot()
3111 glist->group->qgroupid, in btrfs_qgroup_free_refroot()
3948 ret = ulist_add(fs_info->qgroup_ulist, qgroup->qgroupid, in qgroup_convert_meta()
3965 glist->group->qgroupid, in qgroup_convert_meta()