Lines Matching refs:argp
130 static long vhost_vdpa_get_device_id(struct vhost_vdpa *v, u8 __user *argp)
138 if (copy_to_user(argp, &device_id, sizeof(device_id)))
302 static long vhost_vdpa_get_vring_num(struct vhost_vdpa *v, u16 __user *argp)
310 if (copy_to_user(argp, &num, sizeof(num)))
324 static long vhost_vdpa_set_config_call(struct vhost_vdpa *v, u32 __user *argp)
332 if (copy_from_user(&fd, argp, sizeof(fd)))
353 static long vhost_vdpa_get_iova_range(struct vhost_vdpa *v, u32 __user *argp)
360 if (copy_to_user(argp, &range, sizeof(range)))
366 void __user *argp)
377 r = get_user(idx, (u32 __user *)argp);
389 if (copy_from_user(&s, argp, sizeof(s)))
402 r = vhost_vring_ioctl(&v->vdev, cmd, argp);
446 void __user *argp = (void __user *)arg;
447 u64 __user *featurep = argp;
464 r = vhost_vdpa_get_device_id(v, argp);
467 r = vhost_vdpa_get_status(v, argp);
470 r = vhost_vdpa_set_status(v, argp);
473 r = vhost_vdpa_get_config(v, argp);
476 r = vhost_vdpa_set_config(v, argp);
479 r = vhost_vdpa_get_features(v, argp);
482 r = vhost_vdpa_set_features(v, argp);
485 r = vhost_vdpa_get_vring_num(v, argp);
492 r = vhost_vdpa_set_config_call(v, argp);
500 r = vhost_vdpa_get_iova_range(v, argp);
503 r = vhost_dev_ioctl(&v->vdev, cmd, argp);
505 r = vhost_vdpa_vring_ioctl(v, cmd, argp);