Lines Matching refs:ioctl
80 r = ioctl(dev->control, VHOST_SET_FEATURES, &features); in vhost_vq_setup()
83 r = ioctl(dev->control, VHOST_SET_VRING_NUM, &state); in vhost_vq_setup()
86 r = ioctl(dev->control, VHOST_SET_VRING_BASE, &state); in vhost_vq_setup()
88 r = ioctl(dev->control, VHOST_SET_VRING_ADDR, &addr); in vhost_vq_setup()
91 r = ioctl(dev->control, VHOST_SET_VRING_KICK, &file); in vhost_vq_setup()
94 r = ioctl(dev->control, VHOST_SET_VRING_CALL, &file); in vhost_vq_setup()
138 r = ioctl(dev->control, VHOST_SET_OWNER, NULL); in vdev_info_init()
149 r = ioctl(dev->control, VHOST_SET_MEM_TABLE, dev->mem); in vdev_info_init()
179 r = ioctl(dev->control, VHOST_TEST_RUN, &test); in run_test()
221 r = ioctl(dev->control, VHOST_TEST_SET_BACKEND, in run_test()
237 r = ioctl(dev->control, VHOST_GET_VRING_BASE, in run_test()
242 r = ioctl(dev->control, VHOST_SET_VRING_BASE, in run_test()
246 r = ioctl(dev->control, VHOST_TEST_SET_BACKEND, in run_test()
270 r = ioctl(dev->control, VHOST_TEST_RUN, &test); in run_test()