Home
last modified time | relevance | path

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

/linux/include/linux/
H A Ddma-mapping.h95 struct dma_iova_state { struct
105 static inline size_t dma_iova_size(struct dma_iova_state *state) in dma_iova_size() argument
337 static inline bool dma_use_iova(struct dma_iova_state *state) in dma_use_iova()
342 bool dma_iova_try_alloc(struct device *dev, struct dma_iova_state *state,
344 void dma_iova_free(struct device *dev, struct dma_iova_state *state);
345 void dma_iova_destroy(struct device *dev, struct dma_iova_state *state,
348 int dma_iova_sync(struct device *dev, struct dma_iova_state *state,
350 int dma_iova_link(struct device *dev, struct dma_iova_state *state,
353 void dma_iova_unlink(struct device *dev, struct dma_iova_state *state,
357 static inline bool dma_use_iova(struct dma_iova_state *state) in dma_use_iova()
[all …]
H A Dhmm-dma.h8 struct dma_iova_state;
20 struct dma_iova_state state;
/linux/block/
H A Dblk-mq-dma.c111 struct dma_iova_state *state, struct blk_dma_iter *iter, in blk_rq_dma_map_iova()
167 struct dma_iova_state *state, struct blk_dma_iter *iter, in blk_dma_map_iter_start()
229 struct dma_iova_state *state, struct blk_dma_iter *iter) in blk_rq_dma_map_iter_start()
256 struct dma_iova_state *state, struct blk_dma_iter *iter) in blk_rq_dma_map_iter_next()
343 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/drivers/iommu/
H A Ddma-iommu.c1762 bool dma_iova_try_alloc(struct device *dev, struct dma_iova_state *state, in dma_iova_try_alloc()
1819 void dma_iova_free(struct device *dev, struct dma_iova_state *state) in dma_iova_free()
1870 struct dma_iova_state *state, phys_addr_t phys, size_t offset, in iommu_dma_iova_link_swiotlb()
1936 int dma_iova_link(struct device *dev, struct dma_iova_state *state, in dma_iova_link()
1974 int dma_iova_sync(struct device *dev, struct dma_iova_state *state, in dma_iova_sync()
2022 struct dma_iova_state *state, size_t offset, size_t size, in __iommu_dma_iova_unlink()
2064 void dma_iova_unlink(struct device *dev, struct dma_iova_state *state, in dma_iova_unlink()
2084 void dma_iova_destroy(struct device *dev, struct dma_iova_state *state, in dma_iova_destroy()
/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.c294 struct dma_iova_state dma_state;
301 struct dma_iova_state meta_dma_state;