Lines Matching defs:src_path
2061 * 2) Mark the final tree blocks in @src_path and @dst_path qgroup dirty
2080 struct btrfs_path *src_path;
2091 src_path = btrfs_alloc_path();
2092 if (!src_path) {
2102 /* For src_path */
2104 src_path->nodes[root_level] = src_eb;
2105 src_path->slots[root_level] = dst_path->slots[root_level];
2106 src_path->locks[root_level] = 0;
2113 if (src_path->nodes[cur_level] == NULL) {
2117 eb = src_path->nodes[cur_level + 1];
2118 parent_slot = src_path->slots[cur_level + 1];
2126 src_path->nodes[cur_level] = eb;
2129 src_path->locks[cur_level] = BTRFS_READ_LOCK;
2132 src_path->slots[cur_level] = dst_path->slots[cur_level];
2136 btrfs_node_key_to_cpu(src_path->nodes[cur_level],
2137 &src_key, src_path->slots[cur_level]);
2141 btrfs_item_key_to_cpu(src_path->nodes[cur_level],
2142 &src_key, src_path->slots[cur_level]);
2153 * Now both @dst_path and @src_path have been populated, record the tree
2156 ret = btrfs_qgroup_trace_extent(trans, src_path->nodes[dst_level]->start,
2167 ret = btrfs_qgroup_trace_leaf_items(trans, src_path->nodes[0]);
2173 btrfs_free_path(src_path);