Searched refs:old_roots (Results 1 – 2 of 2) sorted by relevance
| /linux/fs/btrfs/tests/ |
| H A D | qgroup-tests.c | 202 struct ulist *old_roots = NULL; in test_no_shared_qgroup() local 229 old_roots = ctx.roots; in test_no_shared_qgroup() 235 ulist_free(old_roots); in test_no_shared_qgroup() 241 ulist_free(old_roots); in test_no_shared_qgroup() 248 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots, in test_no_shared_qgroup() 256 old_roots = NULL; in test_no_shared_qgroup() 270 old_roots = ctx.roots; in test_no_shared_qgroup() 275 ulist_free(old_roots); in test_no_shared_qgroup() 281 ulist_free(old_roots); in test_no_shared_qgroup() 288 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots, in test_no_shared_qgroup() [all …]
|
| /linux/fs/btrfs/ |
| H A D | qgroup.c | 2122 qrecord->old_roots = ctx.roots; in btrfs_qgroup_trace_extent_post() 2931 u64 num_bytes, struct ulist *old_roots, in btrfs_qgroup_account_extent() argument 2954 if (old_roots) { in btrfs_qgroup_account_extent() 2955 if (!maybe_fs_roots(old_roots)) in btrfs_qgroup_account_extent() 2957 nr_old_roots = old_roots->nnodes; in btrfs_qgroup_account_extent() 2981 qgroup_update_refcnt(fs_info, old_roots, &qgroups, seq, true); in btrfs_qgroup_account_extent() 3002 ulist_free(old_roots); in btrfs_qgroup_account_extent() 3050 if (!record->old_roots) { in btrfs_qgroup_account_extents() 3055 record->old_roots = ctx.roots; in btrfs_qgroup_account_extents() 3072 ulist_del(record->old_roots, qgroup_to_skip, in btrfs_qgroup_account_extents() [all …]
|