Lines Matching defs:src_path
2188 * 2) Mark the final tree blocks in @src_path and @dst_path qgroup dirty
2207 struct btrfs_path *src_path;
2218 src_path = btrfs_alloc_path();
2219 if (!src_path) {
2229 /* For src_path */
2231 src_path->nodes[root_level] = src_eb;
2232 src_path->slots[root_level] = dst_path->slots[root_level];
2233 src_path->locks[root_level] = 0;
2240 if (src_path->nodes[cur_level] == NULL) {
2244 eb = src_path->nodes[cur_level + 1];
2245 parent_slot = src_path->slots[cur_level + 1];
2253 src_path->nodes[cur_level] = eb;
2256 src_path->locks[cur_level] = BTRFS_READ_LOCK;
2259 src_path->slots[cur_level] = dst_path->slots[cur_level];
2263 btrfs_node_key_to_cpu(src_path->nodes[cur_level],
2264 &src_key, src_path->slots[cur_level]);
2268 btrfs_item_key_to_cpu(src_path->nodes[cur_level],
2269 &src_key, src_path->slots[cur_level]);
2280 * Now both @dst_path and @src_path have been populated, record the tree
2283 ret = btrfs_qgroup_trace_extent(trans, src_path->nodes[dst_level]->start,
2294 ret = btrfs_qgroup_trace_leaf_items(trans, src_path->nodes[0]);
2300 btrfs_free_path(src_path);