Home
last modified time | relevance | path

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

/openbmc/qemu/net/
H A Dvhost-vdpa.c245 qemu_close(s->vhost_vdpa.shared->device_fd); in vhost_vdpa_cleanup()
444 static int64_t vhost_vdpa_get_vring_group(int device_fd, unsigned vq_index, in vhost_vdpa_get_vring_group() argument
450 int r = ioctl(device_fd, VHOST_VDPA_GET_VRING_GROUP, &state); in vhost_vdpa_get_vring_group()
473 r = ioctl(v->shared->device_fd, VHOST_VDPA_SET_GROUP_ASID, &asid); in vhost_vdpa_set_address_space_id()
571 cvq_group = vhost_vdpa_get_vring_group(v->shared->device_fd, in vhost_vdpa_net_cvq_start()
1593 static int vhost_vdpa_probe_cvq_isolation(int device_fd, uint64_t features, in vhost_vdpa_probe_cvq_isolation() argument
1603 r = ioctl(device_fd, VHOST_GET_BACKEND_FEATURES, &backend_features); in vhost_vdpa_probe_cvq_isolation()
1613 r = ioctl(device_fd, VHOST_VDPA_SET_STATUS, &status); in vhost_vdpa_probe_cvq_isolation()
1619 r = ioctl(device_fd, VHOST_SET_FEATURES, &features); in vhost_vdpa_probe_cvq_isolation()
1626 r = ioctl(device_fd, VHOST_VDPA_SET_STATUS, &status); in vhost_vdpa_probe_cvq_isolation()
[all …]
/openbmc/qemu/include/hw/virtio/
H A Dvhost-vdpa.h41 int device_fd; member
/openbmc/qemu/hw/virtio/
H A Dvhost-vdpa.c98 int fd = s->device_fd; in vhost_vdpa_dma_map()
130 int fd = s->device_fd; in vhost_vdpa_dma_unmap()
153 int fd = s->device_fd; in vhost_vdpa_listener_begin_batch()
180 int fd = s->device_fd; in vhost_vdpa_listener_commit()
502 int fd = v->shared->device_fd; in vhost_vdpa_call()
668 int fd = v->shared->device_fd; in vhost_vdpa_host_notifier_init()
1328 r = ioctl(v->shared->device_fd, VHOST_VDPA_SUSPEND); in vhost_vdpa_suspend()
H A Dvdpa-dev.c117 v->vdpa.shared->device_fd = v->vhostfd; in vhost_vdpa_device_realize()