Lines Matching refs:vdev

30 vhost_vsock_set_running(struct vhost_dev *vdev, int start)  in vhost_vsock_set_running()  argument
32 return vhost_kernel_ioctl(vdev, VHOST_VSOCK_SET_RUNNING, &start); in vhost_vsock_set_running()
36 vhost_vsock_set_guest_cid(struct vhost_dev *vdev, in vhost_vsock_set_guest_cid() argument
39 return vhost_kernel_ioctl(vdev, in vhost_vsock_set_guest_cid()
53 rc = vhost_dev_start(&vhost_vsock->vdev); in vhost_vsock_start()
59 rc = vhost_vsock_set_running(&vhost_vsock->vdev, 1); in vhost_vsock_start()
61 vhost_dev_stop(&vhost_vsock->vdev); in vhost_vsock_start()
80 rc = vhost_vsock_set_running(&vhost_vsock->vdev, 0); in vhost_vsock_stop()
86 rc = vhost_dev_stop(&vhost_vsock->vdev); in vhost_vsock_stop()
97 virtio_vsock_set_status(void *vdev, uint64_t status) in virtio_vsock_set_status() argument
99 struct virtio_vsock *vsock = vdev; in virtio_vsock_set_status()
125 virtio_vsock_apply_feature(void *vdev, uint64_t negotiated_features) in virtio_vsock_apply_feature() argument
127 struct virtio_vsock *vsock = vdev; in virtio_vsock_apply_feature()
133 virtio_vsock_read_cfg(void *vdev, int offset, int size, uint32_t *retval) in virtio_vsock_read_cfg() argument
135 struct virtio_vsock *vsock = vdev; in virtio_vsock_read_cfg()
145 virtio_vsock_reset(void *vdev) in virtio_vsock_reset() argument
147 struct virtio_vsock *vsock = vdev; in virtio_vsock_reset()
180 vhost_vsock->vdev.nvqs = 2; in vhost_vsock_init()
181 vhost_vsock->vdev.vqs = vhost_vsock->vqs; in vhost_vsock_init()
197 rc = vhost_dev_init(&vhost_vsock->vdev, base, vhost_vsock->vhost_fd, vq_idx, in vhost_vsock_init()
220 rc = vhost_dev_deinit(&vhost_vsock->vdev); in vhost_vsock_deinit()
229 vhost_vsock_handle_output(void *vdev, struct virtio_vq_info *vq) { in vhost_vsock_handle_output() argument
306 vhost_vsock_set_guest_cid(&vsock->vhost_vsock->vdev, vsock->config.guest_cid); in virtio_vhost_vsock_init()