Lines Matching refs:old_roots
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()
2171 ulist_del(record->old_roots, qgroup_to_skip, in btrfs_qgroup_account_extents()
2176 record->old_roots, in btrfs_qgroup_account_extents()
2178 record->old_roots = NULL; in btrfs_qgroup_account_extents()
2182 ulist_free(record->old_roots); in btrfs_qgroup_account_extents()