Searched refs:cur_iova (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/iommu/iommufd/ |
H A D | device.c | 935 area, iopt_area_iova_to_index(area, iter.cur_iova), in iommufd_access_unpin_pages() 947 if (iopt_area_start_byte(iter->area, iter->cur_iova) % PAGE_SIZE) in iopt_area_contig_is_aligned() 1015 iopt_area_iova_to_index(area, iter.cur_iova); in iommufd_access_pin_pages() 1044 if (iova < iter.cur_iova) { in iommufd_access_pin_pages() 1045 last_iova = iter.cur_iova - 1; in iommufd_access_pin_pages() 1049 iopt_area_iova_to_index(area, iter.cur_iova), in iommufd_access_pin_pages() 1096 unsigned long bytes = (last - iter.cur_iova) + 1; in iommufd_access_rw() 1109 area->pages, iopt_area_start_byte(area, iter.cur_iova), in iommufd_access_rw()
|
H A D | io_pagetable.c | 37 iter->cur_iova = iova; in iopt_area_contig_init() 59 iter->cur_iova = last_iova + 1; in iopt_area_contig_next() 60 iter->area = iopt_area_iter_next(iter->area, iter->cur_iova, in iopt_area_contig_next() 64 if (iter->cur_iova != iopt_area_iova(iter->area) || in iopt_area_contig_next() 458 elm->start_byte = iopt_area_start_byte(area, iter.cur_iova); in iopt_get_pages() 460 elm->length = (last - iter.cur_iova) + 1; in iopt_get_pages()
|
H A D | io_pagetable.h | 148 unsigned long cur_iova; member
|
/openbmc/linux/drivers/gpu/drm/i915/gvt/ |
H A D | kvmgt.c | 149 dma_addr_t cur_iova = (gfn + npage) << PAGE_SHIFT; in gvt_pin_guest_page() local 152 ret = vfio_pin_pages(&vgpu->vfio_device, cur_iova, 1, in gvt_pin_guest_page() 156 &cur_iova, ret); in gvt_pin_guest_page()
|