Lines Matching refs:mlx5_vdpa_direct_mr
35 static void populate_mtts(struct mlx5_vdpa_direct_mr *mr, __be64 *mtt)
52 static int create_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr)
89 static void destroy_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr)
94 static u64 map_start(struct vhost_iotlb_map *map, struct mlx5_vdpa_direct_mr *mr)
99 static u64 map_end(struct vhost_iotlb_map *map, struct mlx5_vdpa_direct_mr *mr)
104 static u64 maplen(struct vhost_iotlb_map *map, struct mlx5_vdpa_direct_mr *mr)
114 struct mlx5_vdpa_direct_mr *s;
116 s = list_first_entry_or_null(&mkey->head, struct mlx5_vdpa_direct_mr, list);
125 struct mlx5_vdpa_direct_mr *s;
126 struct mlx5_vdpa_direct_mr *e;
128 s = list_first_entry_or_null(&mkey->head, struct mlx5_vdpa_direct_mr, list);
132 e = list_last_entry(&mkey->head, struct mlx5_vdpa_direct_mr, list);
147 struct mlx5_vdpa_direct_mr *dmr;
223 static int map_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr,
295 static void unmap_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr)
311 struct mlx5_vdpa_direct_mr *dmr;
312 struct mlx5_vdpa_direct_mr *n;
364 struct mlx5_vdpa_direct_mr *dmr;
365 struct mlx5_vdpa_direct_mr *n;
488 struct mlx5_vdpa_direct_mr *dmr;
489 struct mlx5_vdpa_direct_mr *n;