Searched refs:scratch_leaf (Results 1 – 1 of 1) sorted by relevance
2197 struct extent_buffer *scratch_leaf = NULL; in qgroup_rescan_leaf() local2234 scratch_leaf = btrfs_clone_extent_buffer(path->nodes[0]); in qgroup_rescan_leaf()2235 if (!scratch_leaf) { in qgroup_rescan_leaf()2240 extent_buffer_get(scratch_leaf); in qgroup_rescan_leaf()2241 btrfs_tree_read_lock(scratch_leaf); in qgroup_rescan_leaf()2242 btrfs_set_lock_blocking_rw(scratch_leaf, BTRFS_READ_LOCK); in qgroup_rescan_leaf()2247 for (; slot < btrfs_header_nritems(scratch_leaf); ++slot) { in qgroup_rescan_leaf()2248 btrfs_item_key_to_cpu(scratch_leaf, &found, slot); in qgroup_rescan_leaf()2268 if (scratch_leaf) { in qgroup_rescan_leaf()2269 btrfs_tree_read_unlock_blocking(scratch_leaf); in qgroup_rescan_leaf()[all …]