/kernel/linux/linux-5.10/fs/btrfs/tests/ |
H A 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() 240 ulist_free(old_roots); in test_no_shared_qgroup() 247 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() 260 old_roots = NULL; in test_no_shared_qgroup() 269 ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots, in test_no_shared_qgroup() 278 ulist_free(old_roots); in test_no_shared_qgroup() 285 ulist_free(old_roots); in test_no_shared_qgroup() 290 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots, in test_no_shared_qgroup() 315 struct ulist *old_roots = NULL; test_multiple_refs() local [all...] |
/kernel/linux/linux-6.6/fs/btrfs/tests/ |
H A D | qgroup-tests.c | 211 struct ulist *old_roots = NULL; in test_no_shared_qgroup() local 238 old_roots = ctx.roots; in test_no_shared_qgroup() 244 ulist_free(old_roots); in test_no_shared_qgroup() 250 ulist_free(old_roots); in test_no_shared_qgroup() 257 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots, in test_no_shared_qgroup() 265 old_roots = NULL; in test_no_shared_qgroup() 279 old_roots = ctx.roots; in test_no_shared_qgroup() 284 ulist_free(old_roots); in test_no_shared_qgroup() 290 ulist_free(old_roots); in test_no_shared_qgroup() 297 ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots, in test_no_shared_qgroup() 323 struct ulist *old_roots = NULL; test_multiple_refs() local [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | qgroup.h | 122 struct ulist *old_roots; member 289 * However for old_roots there is no need to do backref walk at that time, 342 u64 num_bytes, struct ulist *old_roots,
|
H A D | qgroup.c | 1812 * So modifying qrecord->old_roots is safe here in btrfs_qgroup_trace_extent_post() 1814 qrecord->old_roots = old_root; in btrfs_qgroup_trace_extent_post() 1836 record->old_roots = NULL; in btrfs_qgroup_trace_extent() 2628 u64 num_bytes, struct ulist *old_roots, in btrfs_qgroup_account_extent() 2651 if (old_roots) { in btrfs_qgroup_account_extent() 2652 if (!maybe_fs_roots(old_roots)) in btrfs_qgroup_account_extent() 2654 nr_old_roots = old_roots->nnodes; in btrfs_qgroup_account_extent() 2690 /* Update old refcnts using old_roots */ in btrfs_qgroup_account_extent() 2691 ret = qgroup_update_refcnt(fs_info, old_roots, tmp, qgroups, seq, in btrfs_qgroup_account_extent() 2714 ulist_free(old_roots); in btrfs_qgroup_account_extent() 2627 btrfs_qgroup_account_extent(struct btrfs_trans_handle *trans, u64 bytenr, u64 num_bytes, struct ulist *old_roots, struct ulist *new_roots) btrfs_qgroup_account_extent() argument [all...] |
H A D | delayed-ref.c | 807 qrecord->old_roots = NULL; in init_delayed_ref_head()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | qgroup.h | 126 struct ulist *old_roots; member 304 * However for old_roots there is no need to do backref walk at that time, 357 u64 num_bytes, struct ulist *old_roots,
|
H A D | qgroup.c | 1889 * So modifying qrecord->old_roots is safe here in btrfs_qgroup_trace_extent_post() 1891 qrecord->old_roots = ctx.roots; in btrfs_qgroup_trace_extent_post() 1913 record->old_roots = NULL; in btrfs_qgroup_trace_extent() 2694 u64 num_bytes, struct ulist *old_roots, in btrfs_qgroup_account_extent() 2718 if (old_roots) { in btrfs_qgroup_account_extent() 2719 if (!maybe_fs_roots(old_roots)) in btrfs_qgroup_account_extent() 2721 nr_old_roots = old_roots->nnodes; in btrfs_qgroup_account_extent() 2757 /* Update old refcnts using old_roots */ in btrfs_qgroup_account_extent() 2758 ret = qgroup_update_refcnt(fs_info, old_roots, tmp, qgroups, seq, in btrfs_qgroup_account_extent() 2781 ulist_free(old_roots); in btrfs_qgroup_account_extent() 2693 btrfs_qgroup_account_extent(struct btrfs_trans_handle *trans, u64 bytenr, u64 num_bytes, struct ulist *old_roots, struct ulist *new_roots) btrfs_qgroup_account_extent() argument [all...] |
H A D | delayed-ref.c | 779 qrecord->old_roots = NULL; in init_delayed_ref_head()
|