Lines Matching defs:vhost_test
36 struct vhost_test {
43 static void handle_vq(struct vhost_test *n)
100 struct vhost_test *n = container_of(vq->dev, struct vhost_test, dev);
107 struct vhost_test *n = kmalloc(sizeof *n, GFP_KERNEL);
130 static void *vhost_test_stop_vq(struct vhost_test *n,
142 static void vhost_test_stop(struct vhost_test *n, void **privatep)
147 static void vhost_test_flush_vq(struct vhost_test *n, int index)
152 static void vhost_test_flush(struct vhost_test *n)
159 struct vhost_test *n = f->private_data;
173 static long vhost_test_run(struct vhost_test *n, int test)
224 static long vhost_test_reset_owner(struct vhost_test *n)
248 static int vhost_test_set_features(struct vhost_test *n, u64 features)
266 static long vhost_test_set_backend(struct vhost_test *n, unsigned index, int fd)
322 struct vhost_test *n = f->private_data;