Searched refs:old_roots (Results 1 – 3 of 3) 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.h | 151 struct ulist *old_roots; member 369 u64 num_bytes, struct ulist *old_roots,
|
| H A D | qgroup.c | 2066 qrecord->old_roots = ctx.roots; in btrfs_qgroup_trace_extent_post() 2881 u64 num_bytes, struct ulist *old_roots, in btrfs_qgroup_account_extent() argument 2904 if (old_roots) { in btrfs_qgroup_account_extent() 2905 if (!maybe_fs_roots(old_roots)) in btrfs_qgroup_account_extent() 2907 nr_old_roots = old_roots->nnodes; in btrfs_qgroup_account_extent() 2931 qgroup_update_refcnt(fs_info, old_roots, &qgroups, seq, UPDATE_OLD); in btrfs_qgroup_account_extent() 2952 ulist_free(old_roots); in btrfs_qgroup_account_extent() 3000 if (!record->old_roots) { in btrfs_qgroup_account_extents() 3005 record->old_roots = ctx.roots; in btrfs_qgroup_account_extents() 3022 ulist_del(record->old_roots, qgroup_to_skip, in btrfs_qgroup_account_extents() [all …]
|