Home
last modified time | relevance | path

Searched refs:iova_range (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/include/hw/virtio/
H A Dvhost-vdpa.h43 struct vhost_vdpa_iova_range iova_range; member
78 int vhost_vdpa_get_iova_range(int fd, struct vhost_vdpa_iova_range *iova_range);
/openbmc/qemu/hw/virtio/
H A Dvdpa-dev.c55 struct vhost_vdpa_iova_range iova_range; in vhost_vdpa_device_realize() local
110 ret = vhost_vdpa_get_iova_range(v->vhostfd, &iova_range); in vhost_vdpa_device_realize()
118 v->vdpa.shared->iova_range = iova_range; in vhost_vdpa_device_realize()
H A Dvhost-vdpa.c221 if (int128_gt(llend, int128_make64(s->iova_range.last))) { in vhost_vdpa_iommu_map_notify()
224 s->iova_range.last, int128_get64(llend)); in vhost_vdpa_iommu_map_notify()
326 if (vhost_vdpa_listener_skipped_section(section, s->iova_range.first, in vhost_vdpa_listener_region_add()
327 s->iova_range.last, page_mask)) { in vhost_vdpa_listener_region_add()
413 if (vhost_vdpa_listener_skipped_section(section, s->iova_range.first, in vhost_vdpa_listener_region_del()
414 s->iova_range.last, page_mask)) { in vhost_vdpa_listener_region_del()
545 int vhost_vdpa_get_iova_range(int fd, struct vhost_vdpa_iova_range *iova_range) in vhost_vdpa_get_iova_range() argument
547 int ret = ioctl(fd, VHOST_VDPA_GET_IOVA_RANGE, iova_range); in vhost_vdpa_get_iova_range()
/openbmc/qemu/net/
H A Dvhost-vdpa.c370 v->shared->iova_tree = vhost_iova_tree_new(v->shared->iova_range.first, in vhost_vdpa_net_data_start_first()
371 v->shared->iova_range.last); in vhost_vdpa_net_data_start_first()
611 v->shared->iova_tree = vhost_iova_tree_new(v->shared->iova_range.first, in vhost_vdpa_net_cvq_start()
612 v->shared->iova_range.last); in vhost_vdpa_net_cvq_start()
1684 struct vhost_vdpa_iova_range iova_range, in net_vhost_vdpa_init() argument
1721 s->vhost_vdpa.shared->iova_range = iova_range; in net_vhost_vdpa_init()
1799 struct vhost_vdpa_iova_range iova_range; in net_init_vhost_vdpa() local
1843 r = vhost_vdpa_get_iova_range(vdpa_device_fd, &iova_range); in net_init_vhost_vdpa()
1864 iova_range, features, shared, errp); in net_init_vhost_vdpa()
1875 opts->x_svq, iova_range, features, shared, in net_init_vhost_vdpa()