Searched refs:old_roots (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/fs/btrfs/tests/ |
D | qgroup-tests.c | 212 struct ulist *old_roots = NULL; in test_no_shared_qgroup() local 230 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots, in test_no_shared_qgroup() 233 ulist_free(old_roots); in test_no_shared_qgroup() 246 ulist_free(old_roots); in test_no_shared_qgroup() 252 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots, in test_no_shared_qgroup() 264 old_roots = NULL; in test_no_shared_qgroup() 267 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots, in test_no_shared_qgroup() 270 ulist_free(old_roots); in test_no_shared_qgroup() 282 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-v4.19/fs/btrfs/ |
D | qgroup.h | 48 struct ulist *old_roots; member 240 u64 num_bytes, struct ulist *old_roots,
|
D | qgroup.c | 1578 qrecord->old_roots = old_root; in btrfs_qgroup_trace_extent_post() 1600 record->old_roots = NULL; in btrfs_qgroup_trace_extent() 2041 u64 num_bytes, struct ulist *old_roots, in btrfs_qgroup_account_extent() argument 2060 if (old_roots) { in btrfs_qgroup_account_extent() 2061 if (!maybe_fs_roots(old_roots)) in btrfs_qgroup_account_extent() 2063 nr_old_roots = old_roots->nnodes; in btrfs_qgroup_account_extent() 2100 ret = qgroup_update_refcnt(fs_info, old_roots, tmp, qgroups, seq, in btrfs_qgroup_account_extent() 2123 ulist_free(old_roots); in btrfs_qgroup_account_extent() 2151 if (WARN_ON(!record->old_roots)) { in btrfs_qgroup_account_extents() 2155 &record->old_roots, false); in btrfs_qgroup_account_extents() [all …]
|
D | delayed-ref.c | 590 qrecord->old_roots = NULL; in init_delayed_ref_head()
|