Searched refs:left_size_in_dma_seg (Results 1 – 1 of 1) sorted by relevance
1539 left_size_in_dma_seg, device_address, bar_address, start_page; in alloc_sgt_from_device_pages() local1574 left_size_in_dma_seg = dma_max_seg_size; in alloc_sgt_from_device_pages()1578 size = min3(left_size_to_export, left_size_in_page, left_size_in_dma_seg); in alloc_sgt_from_device_pages()1581 left_size_in_dma_seg -= size; in alloc_sgt_from_device_pages()1595 if (!left_size_in_dma_seg) { in alloc_sgt_from_device_pages()1597 left_size_in_dma_seg = dma_max_seg_size; in alloc_sgt_from_device_pages()1615 left_size_in_dma_seg = dma_max_seg_size; in alloc_sgt_from_device_pages()1623 size = min3(left_size_to_export, left_size_in_page, left_size_in_dma_seg); in alloc_sgt_from_device_pages()1627 left_size_in_dma_seg -= size; in alloc_sgt_from_device_pages()1642 if (!left_size_in_dma_seg) { in alloc_sgt_from_device_pages()[all …]