Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/tests/
Dqgroup-tests.c208 struct ulist *old_roots = NULL; in test_no_shared_qgroup() local
226 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots, false); 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()
246 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots, in test_no_shared_qgroup()
254 old_roots = NULL; in test_no_shared_qgroup()
263 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots, false); in test_no_shared_qgroup()
271 ulist_free(old_roots); in test_no_shared_qgroup()
277 ulist_free(old_roots); in test_no_shared_qgroup()
282 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots, in test_no_shared_qgroup()
[all …]
/linux-6.1.9/fs/btrfs/
Dqgroup.h125 struct ulist *old_roots; member
345 u64 num_bytes, struct ulist *old_roots,
Dqgroup.c1838 qrecord->old_roots = old_root; in btrfs_qgroup_trace_extent_post()
1860 record->old_roots = NULL; in btrfs_qgroup_trace_extent()
2638 u64 num_bytes, struct ulist *old_roots, in btrfs_qgroup_account_extent() argument
2662 if (old_roots) { in btrfs_qgroup_account_extent()
2663 if (!maybe_fs_roots(old_roots)) in btrfs_qgroup_account_extent()
2665 nr_old_roots = old_roots->nnodes; in btrfs_qgroup_account_extent()
2702 ret = qgroup_update_refcnt(fs_info, old_roots, tmp, qgroups, seq, in btrfs_qgroup_account_extent()
2725 ulist_free(old_roots); in btrfs_qgroup_account_extent()
2766 if (!record->old_roots) { in btrfs_qgroup_account_extents()
2770 &record->old_roots, false); in btrfs_qgroup_account_extents()
[all …]
Ddelayed-ref.c795 qrecord->old_roots = NULL; in init_delayed_ref_head()