Lines Matching refs:delayed_refs
1761 struct btrfs_delayed_ref_root *delayed_refs, in btrfs_qgroup_trace_extent_nolock() argument
1764 struct rb_node **p = &delayed_refs->dirty_extent_root.rb_node; in btrfs_qgroup_trace_extent_nolock()
1769 lockdep_assert_held(&delayed_refs->lock); in btrfs_qgroup_trace_extent_nolock()
1791 rb_insert_color(&record->node, &delayed_refs->dirty_extent_root); in btrfs_qgroup_trace_extent_nolock()
1853 struct btrfs_delayed_ref_root *delayed_refs; in btrfs_qgroup_trace_extent() local
1863 delayed_refs = &trans->transaction->delayed_refs; in btrfs_qgroup_trace_extent()
1868 spin_lock(&delayed_refs->lock); in btrfs_qgroup_trace_extent()
1869 ret = btrfs_qgroup_trace_extent_nolock(fs_info, delayed_refs, record); in btrfs_qgroup_trace_extent()
1870 spin_unlock(&delayed_refs->lock); in btrfs_qgroup_trace_extent()
2743 struct btrfs_delayed_ref_root *delayed_refs; in btrfs_qgroup_account_extents() local
2750 delayed_refs = &trans->transaction->delayed_refs; in btrfs_qgroup_account_extents()
2751 qgroup_to_skip = delayed_refs->qgroup_to_skip; in btrfs_qgroup_account_extents()
2752 while ((node = rb_first(&delayed_refs->dirty_extent_root))) { in btrfs_qgroup_account_extents()
2821 rb_erase(node, &delayed_refs->dirty_extent_root); in btrfs_qgroup_account_extents()
4420 root = &trans->delayed_refs.dirty_extent_root; in btrfs_qgroup_destroy_extent_records()