Searched refs:scratch_leaf (Results 1 – 1 of 1) sorted by relevance
2703 struct extent_buffer *scratch_leaf = NULL; in qgroup_rescan_leaf() local2741 scratch_leaf = btrfs_clone_extent_buffer(path->nodes[0]); in qgroup_rescan_leaf()2742 if (!scratch_leaf) { in qgroup_rescan_leaf()2747 extent_buffer_get(scratch_leaf); in qgroup_rescan_leaf()2748 btrfs_tree_read_lock(scratch_leaf); in qgroup_rescan_leaf()2749 btrfs_set_lock_blocking_rw(scratch_leaf, BTRFS_READ_LOCK); in qgroup_rescan_leaf()2754 for (; slot < btrfs_header_nritems(scratch_leaf); ++slot) { in qgroup_rescan_leaf()2755 btrfs_item_key_to_cpu(scratch_leaf, &found, slot); in qgroup_rescan_leaf()2775 if (scratch_leaf) { in qgroup_rescan_leaf()2776 btrfs_tree_read_unlock_blocking(scratch_leaf); in qgroup_rescan_leaf()[all …]