Searched refs:device_fd (Results 1 – 3 of 3) sorted by relevance
| /openbmc/qemu/net/ |
| H A D | vhost-vdpa.c | 242 qemu_close(s->vhost_vdpa.shared->device_fd); in vhost_vdpa_cleanup() 260 int fd = s->vhost_vdpa.shared->device_fd; in vhost_vdpa_get_vnet_hash_supported_types() 463 static int64_t vhost_vdpa_get_vring_group(int device_fd, unsigned vq_index, in vhost_vdpa_get_vring_group() argument 469 int r = ioctl(device_fd, VHOST_VDPA_GET_VRING_GROUP, &state); in vhost_vdpa_get_vring_group() 492 r = ioctl(v->shared->device_fd, VHOST_VDPA_SET_GROUP_ASID, &asid); in vhost_vdpa_set_address_space_id() 596 cvq_group = vhost_vdpa_get_vring_group(v->shared->device_fd, in vhost_vdpa_net_cvq_start() 1601 static int vhost_vdpa_probe_cvq_isolation(int device_fd, uint64_t features, in vhost_vdpa_probe_cvq_isolation() argument 1611 r = ioctl(device_fd, VHOST_GET_BACKEND_FEATURES, &backend_features); in vhost_vdpa_probe_cvq_isolation() 1621 r = ioctl(device_fd, VHOST_VDPA_SET_STATUS, &status); in vhost_vdpa_probe_cvq_isolation() 1627 r = ioctl(device_fd, VHOST_SET_FEATURES, &features); in vhost_vdpa_probe_cvq_isolation() [all …]
|
| /openbmc/qemu/include/hw/virtio/ |
| H A D | vhost-vdpa.h | 41 int device_fd; member
|
| /openbmc/qemu/hw/virtio/ |
| H A D | vhost-vdpa.c | 98 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() 508 int fd = v->shared->device_fd; in vhost_vdpa_call() 710 int fd = v->shared->device_fd; in vhost_vdpa_host_notifier_init() 1353 r = ioctl(v->shared->device_fd, VHOST_VDPA_SUSPEND); in vhost_vdpa_suspend()
|