Searched refs:phys_vec (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/vfio/pci/ |
| H A D | vfio_pci_dmabuf.c | 17 struct phys_vec *phys_vec; member 63 priv->phys_vec, priv->nr_ranges, in vfio_pci_dma_buf_map() 98 kfree(priv->phys_vec); in vfio_pci_dma_buf_release() 121 struct phys_vec *phys) in vfio_pci_dma_buf_iommufd_map() 138 *phys = priv->phys_vec[0]; in vfio_pci_dma_buf_iommufd_map() 143 int vfio_pci_core_fill_phys_vec(struct phys_vec *phys_vec, in vfio_pci_core_fill_phys_vec() argument 159 &phys_vec[i].paddr) || in vfio_pci_core_fill_phys_vec() 160 check_add_overflow(phys_vec[i].paddr, in vfio_pci_core_fill_phys_vec() 166 phys_vec[i].len = dma_ranges[i].length; in vfio_pci_core_fill_phys_vec() 175 struct phys_vec *phys_vec, in vfio_pci_core_get_dmabuf_phys() argument [all …]
|
| /linux/drivers/dma-buf/ |
| H A D | dma-buf-mapping.c | 36 struct phys_vec *phys_vec, size_t nr_ranges, in calc_sg_nents() argument 44 nents += DIV_ROUND_UP(phys_vec[i].len, UINT_MAX); in calc_sg_nents() 94 struct phys_vec *phys_vec, in dma_buf_phys_vec_to_sgt() argument 135 nents = calc_sg_nents(dma->state, phys_vec, nr_ranges, size); in dma_buf_phys_vec_to_sgt() 145 phys_vec[i].paddr); in dma_buf_phys_vec_to_sgt() 148 phys_vec[i].paddr, 0, in dma_buf_phys_vec_to_sgt() 149 phys_vec[i].len, dir, in dma_buf_phys_vec_to_sgt() 154 mapped_len += phys_vec[i].len; in dma_buf_phys_vec_to_sgt() 156 addr = dma_map_phys(attach->dev, phys_vec[i].paddr, in dma_buf_phys_vec_to_sgt() 157 phys_vec[i].len, dir, in dma_buf_phys_vec_to_sgt() [all …]
|
| /linux/include/linux/ |
| H A D | vfio_pci_core.h | 64 struct phys_vec *phys_vec, 70 int vfio_pci_core_fill_phys_vec(struct phys_vec *phys_vec, 77 struct phys_vec *phys_vec, 82 vfio_pci_core_fill_phys_vec(struct phys_vec *phys_vec, in vfio_pci_core_fill_phys_vec() argument 91 unsigned int region_index, struct phys_vec *phys_vec, in vfio_pci_core_get_dmabuf_phys() argument 238 struct phys_vec *phys);
|
| /linux/drivers/infiniband/core/ |
| H A D | uverbs_std_types_dmabuf.c | 37 &priv->phys_vec, 1, priv->phys_vec.len, in uverbs_dmabuf_map() 110 ret = ib_dev->ops.mmap_get_pfns(mmap_entry, &uverbs_dmabuf->phys_vec, in UVERBS_HANDLER() 116 exp_info.size = uverbs_dmabuf->phys_vec.len; in UVERBS_HANDLER()
|
| H A D | uverbs.h | 141 struct phys_vec phys_vec; member
|
| /linux/drivers/vfio/pci/nvgrace-gpu/ |
| H A D | main.c | 892 struct phys_vec *phys_vec, in nvgrace_get_dmabuf_phys() argument 919 return vfio_pci_core_fill_phys_vec(phys_vec, dma_ranges, in nvgrace_get_dmabuf_phys() 926 phys_vec, dma_ranges, nr_ranges); in nvgrace_get_dmabuf_phys()
|