Lines Matching refs:vhost_test
36 struct vhost_test { struct
43 static void handle_vq(struct vhost_test *n) in handle_vq() argument
100 struct vhost_test *n = container_of(vq->dev, struct vhost_test, dev); in handle_vq_kick()
107 struct vhost_test *n = kmalloc(sizeof *n, GFP_KERNEL); in vhost_test_open()
130 static void *vhost_test_stop_vq(struct vhost_test *n, in vhost_test_stop_vq()
142 static void vhost_test_stop(struct vhost_test *n, void **privatep) in vhost_test_stop()
147 static void vhost_test_flush(struct vhost_test *n) in vhost_test_flush()
154 struct vhost_test *n = f->private_data; in vhost_test_release()
166 static long vhost_test_run(struct vhost_test *n, int test) in vhost_test_run()
217 static long vhost_test_reset_owner(struct vhost_test *n) in vhost_test_reset_owner()
241 static int vhost_test_set_features(struct vhost_test *n, u64 features) in vhost_test_set_features()
259 static long vhost_test_set_backend(struct vhost_test *n, unsigned index, int fd) in vhost_test_set_backend()
315 struct vhost_test *n = f->private_data; in vhost_test_ioctl()