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 | 2140 qrecord->old_roots = ctx.roots; in btrfs_qgroup_trace_extent_post() 2949 u64 num_bytes, struct ulist *old_roots, in btrfs_qgroup_account_extent() argument 2972 if (old_roots) { in btrfs_qgroup_account_extent() 2973 if (!maybe_fs_roots(old_roots)) in btrfs_qgroup_account_extent() 2975 nr_old_roots = old_roots->nnodes; in btrfs_qgroup_account_extent() 2999 qgroup_update_refcnt(fs_info, old_roots, &qgroups, seq, true); in btrfs_qgroup_account_extent() 3020 ulist_free(old_roots); in btrfs_qgroup_account_extent() 3068 if (!record->old_roots) { in btrfs_qgroup_account_extents() 3073 record->old_roots = ctx.roots; in btrfs_qgroup_account_extents() 3090 ulist_del(record->old_roots, qgroup_to_skip, in btrfs_qgroup_account_extents() [all …]
|