Lines Matching refs:qgroupid

88 		qgroup->qgroupid, qgroup_rsv_type_str(type),  in qgroup_rsv_release()
171 u64 qgroupid) in find_qgroup_rb() argument
178 if (qgroup->qgroupid < qgroupid) in find_qgroup_rb()
180 else if (qgroup->qgroupid > qgroupid) in find_qgroup_rb()
190 u64 qgroupid) in add_qgroup_rb() argument
200 if (qgroup->qgroupid < qgroupid) in add_qgroup_rb()
202 else if (qgroup->qgroupid > qgroupid) in add_qgroup_rb()
212 qgroup->qgroupid = qgroupid; in add_qgroup_rb()
247 static int del_qgroup_rb(struct btrfs_fs_info *fs_info, u64 qgroupid) in del_qgroup_rb() argument
249 struct btrfs_qgroup *qgroup = find_qgroup_rb(fs_info, qgroupid); in del_qgroup_rb()
309 int btrfs_verify_qgroup_counts(struct btrfs_fs_info *fs_info, u64 qgroupid, in btrfs_verify_qgroup_counts() argument
314 qgroup = find_qgroup_rb(fs_info, qgroupid); in btrfs_verify_qgroup_counts()
589 struct btrfs_root *quota_root, u64 qgroupid) in add_qgroup_item() argument
607 key.offset = qgroupid; in add_qgroup_item()
656 static int del_qgroup_item(struct btrfs_trans_handle *trans, u64 qgroupid) in del_qgroup_item() argument
669 key.offset = qgroupid; in del_qgroup_item()
715 key.offset = qgroup->qgroupid; in update_qgroup_limit_item()
761 key.offset = qgroup->qgroupid; in update_qgroup_info_item()
1190 ret = ulist_add(tmp, glist->group->qgroupid, in __qgroup_excl_accounting()
1213 ret = ulist_add(tmp, glist->group->qgroupid, in __qgroup_excl_accounting()
1390 int btrfs_create_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid) in btrfs_create_qgroup() argument
1403 qgroup = find_qgroup_rb(fs_info, qgroupid); in btrfs_create_qgroup()
1409 ret = add_qgroup_item(trans, quota_root, qgroupid); in btrfs_create_qgroup()
1414 qgroup = add_qgroup_rb(fs_info, qgroupid); in btrfs_create_qgroup()
1424 int btrfs_remove_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid) in btrfs_remove_qgroup() argument
1439 qgroup = find_qgroup_rb(fs_info, qgroupid); in btrfs_remove_qgroup()
1450 ret = del_qgroup_item(trans, qgroupid); in btrfs_remove_qgroup()
1457 ret = __del_qgroup_relation(trans, qgroupid, in btrfs_remove_qgroup()
1458 list->group->qgroupid); in btrfs_remove_qgroup()
1464 del_qgroup_rb(fs_info, qgroupid); in btrfs_remove_qgroup()
1471 int btrfs_limit_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid, in btrfs_limit_qgroup() argument
1491 qgroup = find_qgroup_rb(fs_info, qgroupid); in btrfs_limit_qgroup()
1542 qgroupid); in btrfs_limit_qgroup()
1877 ret = ulist_add(qgroups, qg->qgroupid, qgroup_to_aux(qg), in qgroup_update_refcnt()
1881 ret = ulist_add(tmp, qg->qgroupid, qgroup_to_aux(qg), GFP_ATOMIC); in qgroup_update_refcnt()
1894 ret = ulist_add(qgroups, glist->group->qgroupid, in qgroup_update_refcnt()
1899 ret = ulist_add(tmp, glist->group->qgroupid, in qgroup_update_refcnt()
2323 ((srcgroup->qgroupid >> 48) <= (objectid >> 48))) in btrfs_qgroup_inherit()
2562 ret = ulist_add(fs_info->qgroup_ulist, qgroup->qgroupid, in qgroup_reserve()
2580 glist->group->qgroupid, in qgroup_reserve()
2652 ret = ulist_add(fs_info->qgroup_ulist, qgroup->qgroupid, in btrfs_qgroup_free_refroot()
2668 glist->group->qgroupid, in btrfs_qgroup_free_refroot()
3374 ret = ulist_add(fs_info->qgroup_ulist, qgroup->qgroupid, in qgroup_convert_meta()
3391 glist->group->qgroupid, in qgroup_convert_meta()