Home
last modified time | relevance | path

Searched refs:old_roots (Results 1 – 4 of 4) sorted by relevance

/linux/fs/btrfs/tests/
H A Dqgroup-tests.c202 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 Dqgroup.h151 struct ulist *old_roots; member
369 u64 num_bytes, struct ulist *old_roots,
H A Dqgroup.c2122 qrecord->old_roots = ctx.roots; in btrfs_qgroup_trace_extent_post()
2933 u64 num_bytes, struct ulist *old_roots, in btrfs_qgroup_account_extent() argument
2956 if (old_roots) { in btrfs_qgroup_account_extent()
2957 if (!maybe_fs_roots(old_roots)) in btrfs_qgroup_account_extent()
2959 nr_old_roots = old_roots->nnodes; in btrfs_qgroup_account_extent()
2983 qgroup_update_refcnt(fs_info, old_roots, &qgroups, seq, UPDATE_OLD); in btrfs_qgroup_account_extent()
3004 ulist_free(old_roots); in btrfs_qgroup_account_extent()
3052 if (!record->old_roots) { in btrfs_qgroup_account_extents()
3057 record->old_roots = ctx.roots; in btrfs_qgroup_account_extents()
3074 ulist_del(record->old_roots, qgroup_to_skip, in btrfs_qgroup_account_extents()
[all …]
H A Ddelayed-ref.c796 qrecord->old_roots = NULL; in init_delayed_ref_head()