Home
last modified time | relevance | path

Searched refs:new_roots (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/fs/btrfs/tests/
Dqgroup-tests.c232 struct ulist *new_roots = NULL; in test_no_shared_qgroup() local
260 ret = btrfs_find_all_roots(&trans, fs_info, 4096, 0, &new_roots); in test_no_shared_qgroup()
263 ulist_free(new_roots); in test_no_shared_qgroup()
269 old_roots, new_roots); in test_no_shared_qgroup()
280 new_roots = NULL; in test_no_shared_qgroup()
293 ret = btrfs_find_all_roots(&trans, fs_info, 4096, 0, &new_roots); in test_no_shared_qgroup()
296 ulist_free(new_roots); in test_no_shared_qgroup()
302 old_roots, new_roots); in test_no_shared_qgroup()
326 struct ulist *new_roots = NULL; in test_multiple_refs() local
351 ret = btrfs_find_all_roots(&trans, fs_info, 4096, 0, &new_roots); in test_multiple_refs()
[all …]
/linux-4.4.14/fs/btrfs/
Dqgroup.c1668 struct ulist *old_roots, struct ulist *new_roots) in btrfs_qgroup_account_extent() argument
1677 if (new_roots) in btrfs_qgroup_account_extent()
1678 nr_new_roots = new_roots->nnodes; in btrfs_qgroup_account_extent()
1717 ret = qgroup_update_refcnt(fs_info, new_roots, tmp, qgroups, seq, in btrfs_qgroup_account_extent()
1735 ulist_free(new_roots); in btrfs_qgroup_account_extent()
1744 struct ulist *new_roots = NULL; in btrfs_qgroup_account_extents() local
1762 record->bytenr, (u64)-1, &new_roots); in btrfs_qgroup_account_extents()
1766 ulist_del(new_roots, qgroup_to_skip, 0); in btrfs_qgroup_account_extents()
1769 record->old_roots, new_roots); in btrfs_qgroup_account_extents()
1771 new_roots = NULL; in btrfs_qgroup_account_extents()
[all …]
Dqgroup.h73 struct ulist *old_roots, struct ulist *new_roots);