Lines Matching refs:dst_window
43 struct scif_window *dst_window; member
68 struct scif_window *dst_window; member
864 if (comp_cb->dst_window) in scif_rma_completion_cb()
866 comp_cb->dst_window, in scif_rma_completion_cb()
900 window = work->dst_window; in scif_rma_list_dma_copy_unaligned()
1114 struct scif_window *dst_window = work->dst_window; in _scif_rma_list_dma_copy_aligned() local
1124 scif_init_window_iter(dst_window, &dst_win_iter); in _scif_rma_list_dma_copy_aligned()
1127 end_dst_offset = dst_window->offset + in _scif_rma_list_dma_copy_aligned()
1128 (dst_window->nr_pages << PAGE_SHIFT); in _scif_rma_list_dma_copy_aligned()
1137 dst_window = list_next_entry(dst_window, list); in _scif_rma_list_dma_copy_aligned()
1138 end_dst_offset = dst_window->offset + in _scif_rma_list_dma_copy_aligned()
1139 (dst_window->nr_pages << PAGE_SHIFT); in _scif_rma_list_dma_copy_aligned()
1140 scif_init_window_iter(dst_window, &dst_win_iter); in _scif_rma_list_dma_copy_aligned()
1147 dst_dma_addr = scif_off_to_dma_addr(dst_window, dst_offset, in _scif_rma_list_dma_copy_aligned()
1234 struct scif_window *dst_window = work->dst_window; in scif_rma_list_dma_copy_aligned() local
1243 scif_init_window_iter(dst_window, &dst_win_iter); in scif_rma_list_dma_copy_aligned()
1251 dst_dma_addr = __scif_off_to_dma_addr(dst_window, dst_offset); in scif_rma_list_dma_copy_aligned()
1261 if (dst_window->type == SCIF_WINDOW_SELF) in scif_rma_list_dma_copy_aligned()
1262 dst_virt = _get_local_va(dst_offset, dst_window, in scif_rma_list_dma_copy_aligned()
1265 dst_virt = ioremap_remote(dst_offset, dst_window, in scif_rma_list_dma_copy_aligned()
1283 if (dst_window->type != SCIF_WINDOW_SELF) in scif_rma_list_dma_copy_aligned()
1292 end_dst_offset = dst_window->offset + in scif_rma_list_dma_copy_aligned()
1293 (dst_window->nr_pages << PAGE_SHIFT); in scif_rma_list_dma_copy_aligned()
1304 dst_window = list_next_entry(dst_window, list); in scif_rma_list_dma_copy_aligned()
1305 end_dst_offset = dst_window->offset + in scif_rma_list_dma_copy_aligned()
1306 (dst_window->nr_pages << PAGE_SHIFT); in scif_rma_list_dma_copy_aligned()
1307 scif_init_window_iter(dst_window, &dst_win_iter); in scif_rma_list_dma_copy_aligned()
1314 dst_dma_addr = scif_off_to_dma_addr(dst_window, dst_offset, in scif_rma_list_dma_copy_aligned()
1391 dst_window = list_next_entry(dst_window, list); in scif_rma_list_dma_copy_aligned()
1394 dst_dma_addr = __scif_off_to_dma_addr(dst_window, dst_offset); in scif_rma_list_dma_copy_aligned()
1417 if (dst_window->type == SCIF_WINDOW_SELF) in scif_rma_list_dma_copy_aligned()
1418 dst_virt = _get_local_va(dst_offset, dst_window, in scif_rma_list_dma_copy_aligned()
1421 dst_virt = ioremap_remote(dst_offset, dst_window, in scif_rma_list_dma_copy_aligned()
1439 if (dst_window->type != SCIF_WINDOW_SELF) in scif_rma_list_dma_copy_aligned()
1463 struct scif_window *dst_window = work->dst_window; in scif_rma_list_cpu_copy() local
1472 scif_init_window_iter(dst_window, &dst_win_iter); in scif_rma_list_cpu_copy()
1493 if (dst_window->type == SCIF_WINDOW_SELF) in scif_rma_list_cpu_copy()
1494 dst_virt = _get_local_va(dst_offset, dst_window, in scif_rma_list_cpu_copy()
1497 dst_virt = ioremap_remote(dst_offset, dst_window, in scif_rma_list_cpu_copy()
1522 if (dst_window->type == SCIF_WINDOW_PEER) in scif_rma_list_cpu_copy()
1531 end_dst_offset = dst_window->offset + in scif_rma_list_cpu_copy()
1532 (dst_window->nr_pages << PAGE_SHIFT); in scif_rma_list_cpu_copy()
1539 dst_window = list_next_entry(dst_window, list); in scif_rma_list_cpu_copy()
1540 scif_init_window_iter(dst_window, in scif_rma_list_cpu_copy()
1573 dst_dma_addr = __scif_off_to_dma_addr(work->dst_window, dst_offset); in scif_rma_list_dma_copy_wrapper()
1575 dst_local = work->dst_window->type == SCIF_WINDOW_SELF; in scif_rma_list_dma_copy_wrapper()
1611 comp_cb->dst_window = work->dst_window; in scif_rma_list_dma_copy_wrapper()
1797 copy_work.dst_window = remote_window; in scif_rma_copy()
1802 copy_work.dst_window = local_window; in scif_rma_copy()