Home
last modified time | relevance | path

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

/linux/include/linux/
H A Diova_bitmap.h12 struct iova_bitmap;
14 typedef int (*iova_bitmap_fn_t)(struct iova_bitmap *bitmap,
19 struct iova_bitmap *iova_bitmap_alloc(unsigned long iova, size_t length,
22 void iova_bitmap_free(struct iova_bitmap *bitmap);
23 int iova_bitmap_for_each(struct iova_bitmap *bitmap, void *opaque,
25 void iova_bitmap_set(struct iova_bitmap *bitmap,
28 static inline struct iova_bitmap *iova_bitmap_alloc(unsigned long iova, in iova_bitmap_alloc()
36 static inline void iova_bitmap_free(struct iova_bitmap *bitmap) in iova_bitmap_free()
40 static inline int iova_bitmap_for_each(struct iova_bitmap *bitmap, void *opaque, in iova_bitmap_for_each()
46 static inline void iova_bitmap_set(struct iova_bitmap *bitmap, in iova_bitmap_set()
H A Dvfio.h18 #include <linux/iova_bitmap.h>
233 struct iova_bitmap *dirty);
/linux/drivers/iommu/iommufd/
H A Diova_bitmap.c101 struct iova_bitmap { struct
130 static unsigned long iova_bitmap_offset_to_index(struct iova_bitmap *bitmap, in iova_bitmap_offset_to_index() argument
141 static unsigned long iova_bitmap_index_to_offset(struct iova_bitmap *bitmap, in iova_bitmap_index_to_offset()
152 static unsigned long iova_bitmap_mapped_iova(struct iova_bitmap *bitmap) in iova_bitmap_mapped_iova()
159 static unsigned long iova_bitmap_mapped_length(struct iova_bitmap *bitmap);
166 static int iova_bitmap_get(struct iova_bitmap *bitmap) in iova_bitmap_get()
220 static void iova_bitmap_put(struct iova_bitmap *bitmap) in iova_bitmap_put()
244 struct iova_bitmap *iova_bitmap_alloc(unsigned long iova, size_t length, in iova_bitmap_alloc()
248 struct iova_bitmap *bitmap; in iova_bitmap_alloc()
284 void iova_bitmap_free(struct iova_bitmap *bitmap) in iova_bitmap_free()
[all …]
H A Dio_pagetable.c490 static int __iommu_read_and_clear_dirty(struct iova_bitmap *bitmap, in __iommu_read_and_clear_dirty()
528 struct iova_bitmap *iter; in iommu_read_and_clear_dirty()
/linux/drivers/vfio/pci/pds/
H A Ddirty.h36 struct iova_bitmap *dirty);
/linux/drivers/vfio/pci/mlx5/
H A Dcmd.h239 unsigned long length, struct iova_bitmap *dirty);
H A Dcmd.c1629 struct iova_bitmap *dirty) in set_report_output()
1672 struct iova_bitmap *dirty, int *tracker_status) in mlx5vf_rq_cqe()
1713 struct iova_bitmap *dirty, int *tracker_status) in mlx5vf_cq_poll_one()
1740 struct iova_bitmap *dirty) in mlx5vf_tracker_read_and_clear()
/linux/drivers/vfio/
H A Dvfio_main.c1148 static int vfio_device_log_read_and_clear(struct iova_bitmap *iter, in vfio_device_log_read_and_clear()
1166 struct iova_bitmap *iter; in vfio_ioctl_device_feature_logging_report()
/linux/samples/vfio-mdev/
H A Dmtty.c1301 struct iova_bitmap *dirty) in mtty_log_read_and_clear()