Home
last modified time | relevance | path

Searched refs:phys_vec (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/dma-buf/
H A Ddma-buf-mapping.c36 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 Dvfio_pci_core.h64 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
261 struct phys_vec *phys);
H A Dtypes.h175 struct phys_vec { struct
/linux/block/
H A Dblk-mq-dma.c28 struct phys_vec *vec) in blk_map_iter_next()
80 static bool blk_dma_map_bus(struct blk_dma_iter *iter, struct phys_vec *vec) in blk_dma_map_bus()
88 struct blk_dma_iter *iter, struct phys_vec *vec) in blk_dma_map_direct()
107 struct phys_vec *vec) in blk_rq_dma_map_iova()
168 struct phys_vec vec; in blk_dma_map_iter_start()
255 struct phys_vec vec; in blk_rq_dma_map_iter_next()
291 struct phys_vec vec; in __blk_rq_map_sg()
381 struct phys_vec vec; in blk_rq_integrity_dma_map_iter_next()
408 struct phys_vec vec; in blk_rq_map_integrity_sg()
/linux/drivers/infiniband/core/
H A Duverbs_std_types_dmabuf.c37 &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()
/linux/drivers/iommu/iommufd/
H A Dpages.c1081 struct phys_vec phys;
1464 struct phys_vec *phys) in sym_vfio_pci_dma_buf_iommufd_map()