Lines Matching defs:config
153 const struct vdpa_config_ops *ops = v->vdpa->config;
183 const struct vdpa_config_ops *ops = v->vdpa->config;
225 const struct vdpa_config_ops *ops = vdpa->config;
236 const struct vdpa_config_ops *ops = vdpa->config;
247 const struct vdpa_config_ops *ops = vdpa->config;
261 const struct vdpa_config_ops *ops = vdpa->config;
275 const struct vdpa_config_ops *ops = vdpa->config;
315 size_t size = vdpa->config->get_config_size(vdpa);
330 struct vhost_vdpa_config config;
334 if (copy_from_user(&config, c, size))
336 if (vhost_vdpa_config_validate(v, &config))
338 buf = kvzalloc(config.len, GFP_KERNEL);
342 vdpa_get_config(vdpa, config.off, buf, config.len);
344 if (copy_to_user(c->buf, buf, config.len)) {
357 struct vhost_vdpa_config config;
361 if (copy_from_user(&config, c, size))
363 if (vhost_vdpa_config_validate(v, &config))
366 buf = vmemdup_user(c->buf, config.len);
370 vdpa_set_config(vdpa, config.off, buf, config.len);
379 const struct vdpa_config_ops *ops = vdpa->config;
387 const struct vdpa_config_ops *ops = vdpa->config;
395 const struct vdpa_config_ops *ops = vdpa->config;
409 const struct vdpa_config_ops *ops = vdpa->config;
420 const struct vdpa_config_ops *ops = vdpa->config;
455 const struct vdpa_config_ops *ops = vdpa->config;
498 v->vdpa->config->set_config_cb(v->vdpa, &cb);
518 const struct vdpa_config_ops *ops = vdpa->config;
540 * virtqueue descriptors. The device can answer to read or writes of config
547 const struct vdpa_config_ops *ops = vdpa->config;
562 const struct vdpa_config_ops *ops = vdpa->config;
574 const struct vdpa_config_ops *ops = vdpa->config;
800 const struct vdpa_config_ops *ops = vdpa->config;
885 const struct vdpa_config_ops *ops = vdpa->config;
919 const struct vdpa_config_ops *ops = vdpa->config;
1135 const struct vdpa_config_ops *ops = vdpa->config;
1209 const struct vdpa_config_ops *ops = vdpa->config;
1261 const struct vdpa_config_ops *ops = vdpa->config;
1374 const struct vdpa_config_ops *ops = vdpa->config;
1398 const struct vdpa_config_ops *ops = vdpa->config;
1453 const struct vdpa_config_ops *ops = vdpa->config;