Home
last modified time | relevance | path

Searched refs:dma_iova_state (Results 1 – 13 of 13) sorted by relevance

/linux/include/linux/
H A Ddma-mapping.h110 struct dma_iova_state { struct
120 static inline size_t dma_iova_size(struct dma_iova_state *state) in dma_iova_size() argument
352 static inline bool dma_use_iova(struct dma_iova_state *state) in dma_use_iova()
357 bool dma_iova_try_alloc(struct device *dev, struct dma_iova_state *state,
359 void dma_iova_free(struct device *dev, struct dma_iova_state *state);
360 void dma_iova_destroy(struct device *dev, struct dma_iova_state *state,
363 int dma_iova_sync(struct device *dev, struct dma_iova_state *state,
365 int dma_iova_link(struct device *dev, struct dma_iova_state *state,
368 void dma_iova_unlink(struct device *dev, struct dma_iova_state *state,
372 static inline bool dma_use_iova(struct dma_iova_state *state) in dma_use_iova()
[all …]
H A Dblk-mq-dma.h29 struct dma_iova_state *state, struct blk_dma_iter *iter);
40 static inline bool blk_rq_dma_map_coalesce(struct dma_iova_state *state) in blk_rq_dma_map_coalesce()
57 struct dma_iova_state *state, size_t mapped_len, in blk_rq_dma_unmap()
H A Dhmm-dma.h8 struct dma_iova_state;
20 struct dma_iova_state state;
H A Dblk-integrity.h38 struct device *dma_dev, struct dma_iova_state *state,
127 struct device *dma_dev, struct dma_iova_state *state, in blk_rq_integrity_dma_map_iter_start()
/linux/block/
H A Dblk-mq-dma.c106 struct dma_iova_state *state, struct blk_dma_iter *iter, in blk_rq_dma_map_iova()
165 struct dma_iova_state *state, struct blk_dma_iter *iter, in blk_dma_map_iter_start()
227 struct dma_iova_state *state, struct blk_dma_iter *iter) in blk_rq_dma_map_iter_start()
342 struct device *dma_dev, struct dma_iova_state *state, in blk_rq_integrity_dma_map_iter_start()
/linux/drivers/vfio/pci/mlx5/
H A Dcmd.h57 struct dma_iova_state state;
133 struct dma_iova_state state;
H A Dcmd.c358 u32 *mkey_in, struct dma_iova_state *state, in unregister_dma_pages()
380 struct dma_iova_state *state, in register_dma_pages()
/linux/drivers/dma-buf/
H A Ddma-buf-mapping.c35 static unsigned int calc_sg_nents(struct dma_iova_state *state, in calc_sg_nents()
65 struct dma_iova_state *state;
/linux/include/rdma/
H A Drw.h37 struct dma_iova_state state;
/linux/drivers/iommu/
H A Ddma-iommu.c1774 bool dma_iova_try_alloc(struct device *dev, struct dma_iova_state *state, in dma_iova_try_alloc()
1831 void dma_iova_free(struct device *dev, struct dma_iova_state *state) in dma_iova_free()
1882 struct dma_iova_state *state, phys_addr_t phys, size_t offset, in iommu_dma_iova_link_swiotlb()
1948 int dma_iova_link(struct device *dev, struct dma_iova_state *state, in dma_iova_link()
1998 int dma_iova_sync(struct device *dev, struct dma_iova_state *state, in dma_iova_sync()
2046 struct dma_iova_state *state, size_t offset, size_t size, in __iommu_dma_iova_unlink()
2088 void dma_iova_unlink(struct device *dev, struct dma_iova_state *state, in dma_iova_unlink()
2108 void dma_iova_destroy(struct device *dev, struct dma_iova_state *state, in dma_iova_destroy()
/linux/Documentation/core-api/
H A Ddma-api.rst488 bool dma_iova_try_alloc(struct device *dev, struct dma_iova_state *state,
493 DMA mapping API should be used. The ``struct dma_iova_state`` is allocated
498 static inline bool dma_use_iova(struct dma_iova_state *state)
505 int dma_iova_link(struct device *dev, struct dma_iova_state *state,
517 int dma_iova_sync(struct device *dev, struct dma_iova_state *state,
528 void dma_iova_destroy(struct device *dev, struct dma_iova_state *state,
537 void dma_iova_unlink(struct device *dev, struct dma_iova_state *state,
545 void dma_iova_free(struct device *dev, struct dma_iova_state *state);
/linux/mm/
H A Dhmm.c775 struct dma_iova_state *state = &map->state; in hmm_dma_map_pfn()
871 struct dma_iova_state *state = &map->state; in hmm_dma_unmap_pfn()
/linux/drivers/nvme/host/
H A Dpci.c438 struct dma_iova_state dma_state;
445 struct dma_iova_state meta_dma_state;