Lines Matching defs:src_path
1985 * 2) Mark the final tree blocks in @src_path and @dst_path qgroup dirty
2004 struct btrfs_path *src_path;
2015 src_path = btrfs_alloc_path();
2016 if (!src_path) {
2026 /* For src_path */
2028 src_path->nodes[root_level] = src_eb;
2029 src_path->slots[root_level] = dst_path->slots[root_level];
2030 src_path->locks[root_level] = 0;
2037 if (src_path->nodes[cur_level] == NULL) {
2044 eb = src_path->nodes[cur_level + 1];
2045 parent_slot = src_path->slots[cur_level + 1];
2061 src_path->nodes[cur_level] = eb;
2065 src_path->locks[cur_level] = BTRFS_READ_LOCK_BLOCKING;
2068 src_path->slots[cur_level] = dst_path->slots[cur_level];
2072 btrfs_node_key_to_cpu(src_path->nodes[cur_level],
2073 &src_key, src_path->slots[cur_level]);
2077 btrfs_item_key_to_cpu(src_path->nodes[cur_level],
2078 &src_key, src_path->slots[cur_level]);
2089 * Now both @dst_path and @src_path have been populated, record the tree
2092 ret = btrfs_qgroup_trace_extent(trans, src_path->nodes[dst_level]->start,
2104 ret = btrfs_qgroup_trace_leaf_items(trans, src_path->nodes[0]);
2110 btrfs_free_path(src_path);