Home
last modified time | relevance | path

Searched refs:vhost_iotlb (Results 1 – 20 of 20) sorted by relevance

/linux/include/linux/
A Dvhost_iotlb.h25 struct vhost_iotlb { struct
33 int vhost_iotlb_add_range_ctx(struct vhost_iotlb *iotlb, u64 start, u64 last, argument
35 int vhost_iotlb_add_range(struct vhost_iotlb *iotlb, u64 start, u64 last,
37 void vhost_iotlb_del_range(struct vhost_iotlb *iotlb, u64 start, u64 last);
39 struct vhost_iotlb *vhost_iotlb_alloc(unsigned int limit, unsigned int flags);
40 void vhost_iotlb_free(struct vhost_iotlb *iotlb);
41 void vhost_iotlb_reset(struct vhost_iotlb *iotlb);
44 vhost_iotlb_itree_first(struct vhost_iotlb *iotlb, u64 start, u64 last);
48 void vhost_iotlb_map_free(struct vhost_iotlb *iotlb,
A Dvringh.h48 struct vhost_iotlb *iotlb;
278 void vringh_set_iotlb(struct vringh *vrh, struct vhost_iotlb *iotlb,
A Dvdpa.h299 int (*set_map)(struct vdpa_device *vdev, struct vhost_iotlb *iotlb);
/linux/drivers/vhost/
A Diotlb.c28 void vhost_iotlb_map_free(struct vhost_iotlb *iotlb, in vhost_iotlb_map_free()
50 int vhost_iotlb_add_range_ctx(struct vhost_iotlb *iotlb, in vhost_iotlb_add_range_ctx()
88 int vhost_iotlb_add_range(struct vhost_iotlb *iotlb, in vhost_iotlb_add_range()
103 void vhost_iotlb_del_range(struct vhost_iotlb *iotlb, u64 start, u64 last) in vhost_iotlb_del_range()
120 struct vhost_iotlb *vhost_iotlb_alloc(unsigned int limit, unsigned int flags) in vhost_iotlb_alloc()
122 struct vhost_iotlb *iotlb = kzalloc(sizeof(*iotlb), GFP_KERNEL); in vhost_iotlb_alloc()
141 void vhost_iotlb_reset(struct vhost_iotlb *iotlb) in vhost_iotlb_reset()
151 void vhost_iotlb_free(struct vhost_iotlb *iotlb) in vhost_iotlb_free()
167 vhost_iotlb_itree_first(struct vhost_iotlb *iotlb, u64 start, u64 last) in vhost_iotlb_itree_first()
A Dvhost.h116 struct vhost_iotlb *umem;
117 struct vhost_iotlb *iotlb;
153 struct vhost_iotlb *umem;
154 struct vhost_iotlb *iotlb;
177 struct vhost_iotlb *vhost_dev_reset_owner_prepare(void);
178 void vhost_dev_reset_owner(struct vhost_dev *dev, struct vhost_iotlb *iotlb);
227 void vhost_iotlb_map_free(struct vhost_iotlb *iotlb,
A DMakefile18 obj-$(CONFIG_VHOST_IOTLB) += vhost_iotlb.o
19 vhost_iotlb-y := iotlb.o
A Dvhost.c631 static struct vhost_iotlb *iotlb_alloc(void) in iotlb_alloc()
637 struct vhost_iotlb *vhost_dev_reset_owner_prepare(void) in vhost_dev_reset_owner_prepare()
644 void vhost_dev_reset_owner(struct vhost_dev *dev, struct vhost_iotlb *umem) in vhost_dev_reset_owner()
751 static bool vq_memory_access_ok(void __user *log_base, struct vhost_iotlb *umem, in vq_memory_access_ok()
790 static bool memory_access_ok(struct vhost_dev *d, struct vhost_iotlb *umem, in memory_access_ok()
1329 struct vhost_iotlb *umem = vq->iotlb; in iotlb_access_ok()
1423 struct vhost_iotlb *newumem, *oldumem; in vhost_set_memory()
1722 struct vhost_iotlb *niotlb, *oiotlb; in vhost_init_device_iotlb()
1870 struct vhost_iotlb *umem = vq->umem; in log_write_hva()
2042 struct vhost_iotlb *umem = dev->iotlb ? dev->iotlb : dev->umem; in translate_desc()
A Dvdpa.c509 struct vhost_iotlb *iotlb = dev->iotlb; in vhost_vdpa_pa_unmap()
531 struct vhost_iotlb *iotlb = dev->iotlb; in vhost_vdpa_va_unmap()
814 struct vhost_iotlb *iotlb = dev->iotlb; in vhost_vdpa_process_iotlb_update()
A Dtest.c228 struct vhost_iotlb *umem; in vhost_test_reset_owner()
A Dvringh.c1096 struct vhost_iotlb *iotlb = vrh->iotlb; in iotlb_translate()
1294 void vringh_set_iotlb(struct vringh *vrh, struct vhost_iotlb *iotlb, in vringh_set_iotlb()
A Dnet.c1602 struct vhost_iotlb *umem; in vhost_net_reset_owner()
/linux/drivers/vdpa/vdpa_user/
A Diova_domain.h34 struct vhost_iotlb *iotlb;
40 struct vhost_iotlb *iotlb);
43 struct vhost_iotlb *iotlb);
A Diova_domain.c60 struct vhost_iotlb *iotlb) in vduse_domain_set_map()
90 struct vhost_iotlb *iotlb) in vduse_domain_clear_map()
A Dvduse_dev.c689 struct vhost_iotlb *iotlb) in vduse_vdpa_set_map()
/linux/drivers/vdpa/mlx5/core/
A Dmlx5_vdpa.h52 struct vhost_iotlb *iotlb;
105 int mlx5_vdpa_handle_set_map(struct mlx5_vdpa_dev *mvdev, struct vhost_iotlb *iotlb,
107 int mlx5_vdpa_create_mr(struct mlx5_vdpa_dev *mvdev, struct vhost_iotlb *iotlb);
A Dmr.c224 struct vhost_iotlb *iotlb) in map_direct_mr()
305 struct vhost_iotlb *iotlb) in add_direct_chain()
359 static int create_user_mr(struct mlx5_vdpa_dev *mvdev, struct vhost_iotlb *iotlb) in create_user_mr()
455 static int dup_iotlb(struct mlx5_vdpa_dev *mvdev, struct vhost_iotlb *src) in dup_iotlb()
514 static int _mlx5_vdpa_create_mr(struct mlx5_vdpa_dev *mvdev, struct vhost_iotlb *iotlb) in _mlx5_vdpa_create_mr()
546 int mlx5_vdpa_create_mr(struct mlx5_vdpa_dev *mvdev, struct vhost_iotlb *iotlb) in mlx5_vdpa_create_mr()
556 int mlx5_vdpa_handle_set_map(struct mlx5_vdpa_dev *mvdev, struct vhost_iotlb *iotlb, in mlx5_vdpa_handle_set_map()
/linux/drivers/vdpa/vdpa_sim/
A Dvdpa_sim.h60 struct vhost_iotlb *iommu;
A Dvdpa_sim.c531 struct vhost_iotlb *iotlb) in vdpasim_set_map()
/linux/drivers/vdpa/mlx5/net/
A Dmlx5_vnet.c2091 static int mlx5_vdpa_change_map(struct mlx5_vdpa_dev *mvdev, struct vhost_iotlb *iotlb) in mlx5_vdpa_change_map()
2277 static int mlx5_vdpa_set_map(struct vdpa_device *vdev, struct vhost_iotlb *iotlb) in mlx5_vdpa_set_map()
/linux/
A DMAINTAINERS20215 F: include/linux/vhost_iotlb.h

Completed in 68 milliseconds