Lines Matching refs:argp
633 long vhost_vring_ioctl(struct vhost_dev *d, int ioctl, void __user *argp) in vhost_vring_ioctl() argument
638 u32 __user *idxp = argp; in vhost_vring_ioctl()
664 if (copy_from_user(&s, argp, sizeof s)) { in vhost_vring_ioctl()
681 if (copy_from_user(&s, argp, sizeof s)) { in vhost_vring_ioctl()
696 if (copy_to_user(argp, &s, sizeof s)) in vhost_vring_ioctl()
700 if (copy_from_user(&a, argp, sizeof a)) { in vhost_vring_ioctl()
756 if (copy_from_user(&f, argp, sizeof f)) { in vhost_vring_ioctl()
772 if (copy_from_user(&f, argp, sizeof f)) { in vhost_vring_ioctl()
791 if (copy_from_user(&f, argp, sizeof f)) { in vhost_vring_ioctl()
833 long vhost_dev_ioctl(struct vhost_dev *d, unsigned int ioctl, void __user *argp) in vhost_dev_ioctl() argument
854 r = vhost_set_memory(d, argp); in vhost_dev_ioctl()
857 if (copy_from_user(&p, argp, sizeof p)) { in vhost_dev_ioctl()
879 r = get_user(fd, (int __user *)argp); in vhost_dev_ioctl()