Searched refs:phys_vec (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/dma-buf/ |
| H A D | dma-buf-mapping.c | 40 struct phys_vec *phys_vec, size_t nr_ranges, in calc_sg_nents() argument 48 unsigned int added = DIV_ROUND_UP(phys_vec[i].len, MAX_SG_ENT_SZ); in calc_sg_nents() 83 * @phys_vec: [in] array of physical vectors 84 * @nr_ranges: [in] number of entries in phys_vec array 85 * @size: [in] total size of phys_vec 102 struct phys_vec *phys_vec, in dma_buf_phys_vec_to_sgt() argument 144 nents = calc_sg_nents(dma->state, phys_vec, nr_ranges, size); in dma_buf_phys_vec_to_sgt() 156 phys_vec[ in dma_buf_phys_vec_to_sgt() [all...] |
| /linux/include/linux/ |
| H A D | vfio_pci_core.h | 66 struct phys_vec *phys_vec, 72 int vfio_pci_core_fill_phys_vec(struct phys_vec *phys_vec, 79 struct phys_vec *phys_vec, 84 vfio_pci_core_fill_phys_vec(struct phys_vec *phys_vec, in vfio_pci_core_fill_phys_vec() 93 unsigned int region_index, struct phys_vec *phys_vec, in vfio_pci_core_get_dmabuf_phys() 82 vfio_pci_core_fill_phys_vec(struct phys_vec * phys_vec,struct vfio_region_dma_range * dma_ranges,size_t nr_ranges,phys_addr_t start,phys_addr_t len) vfio_pci_core_fill_phys_vec() argument 91 vfio_pci_core_get_dmabuf_phys(struct vfio_pci_core_device * vdev,struct p2pdma_provider ** provider,unsigned int region_index,struct phys_vec * phys_vec,struct vfio_region_dma_range * dma_ranges,size_t nr_ranges) vfio_pci_core_get_dmabuf_phys() argument [all...] |
| H A D | types.h | 175 struct phys_vec { struct
|
| /linux/block/ |
| H A D | blk-mq-dma.c | 28 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() 257 struct phys_vec vec; in blk_rq_dma_map_iter_next() 293 struct phys_vec vec; in __blk_rq_map_sg() 382 struct phys_vec vec; in blk_rq_integrity_dma_map_iter_next() 409 struct phys_vec vec; in blk_rq_map_integrity_sg()
|
| /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() 131 ret = ib_dev->ops.mmap_get_pfns(mmap_entry, &uverbs_dmabuf->phys_vec, in UVERBS_HANDLER() 137 exp_info.size = uverbs_dmabuf->phys_vec.len; in UVERBS_HANDLER()
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | main.c | 2502 struct phys_vec *phys_vec, in mlx5_ib_mmap_get_pfns() argument 2509 phys_vec->paddr = mentry->address; in mlx5_ib_mmap_get_pfns() 2510 phys_vec->len = entry->npages * PAGE_SIZE; in mlx5_ib_mmap_get_pfns() 2512 bar = phys_addr_to_bar(pdev, phys_vec->paddr); in mlx5_ib_mmap_get_pfns()
|
| /linux/drivers/iommu/iommufd/ |
| H A D | pages.c | 1088 struct phys_vec phys; in pfn_reader_dmabuf_init() 1476 struct phys_vec *phys) in sym_vfio_pci_dma_buf_iommufd_map()
|