Lines Matching refs:dst_iter
91 struct ttm_kmap_iter *dst_iter, in ttm_move_memcpy() argument
94 const struct ttm_kmap_iter_ops *dst_ops = dst_iter->ops; in ttm_move_memcpy()
106 dst_ops->map_local(dst_iter, &dst_map, i); in ttm_move_memcpy()
112 dst_ops->unmap_local(dst_iter, &dst_map); in ttm_move_memcpy()
118 dst_ops->map_local(dst_iter, &dst_map, i); in ttm_move_memcpy()
126 dst_ops->unmap_local(dst_iter, &dst_map); in ttm_move_memcpy()
146 struct ttm_kmap_iter *dst_iter, *src_iter; in ttm_bo_move_memcpy() local
157 dst_iter = ttm_kmap_iter_linear_io_init(&_dst_iter.io, bdev, dst_mem); in ttm_bo_move_memcpy()
158 if (PTR_ERR(dst_iter) == -EINVAL && dst_man->use_tt) in ttm_bo_move_memcpy()
159 dst_iter = ttm_kmap_iter_tt_init(&_dst_iter.tt, bo->ttm); in ttm_bo_move_memcpy()
160 if (IS_ERR(dst_iter)) in ttm_bo_move_memcpy()
161 return PTR_ERR(dst_iter); in ttm_bo_move_memcpy()
173 ttm_move_memcpy(clear, dst_mem->num_pages, dst_iter, src_iter); in ttm_bo_move_memcpy()
180 if (!dst_iter->ops->maps_tt) in ttm_bo_move_memcpy()