Lines Matching refs:udata
51 static long privcmd_ioctl_hypercall(void __user *udata) in privcmd_ioctl_hypercall() argument
56 if (copy_from_user(&hypercall, udata, sizeof(hypercall))) in privcmd_ioctl_hypercall()
232 static long privcmd_ioctl_mmap(void __user *udata) in privcmd_ioctl_mmap() argument
245 if (copy_from_user(&mmapcmd, udata, sizeof(mmapcmd))) in privcmd_ioctl_mmap()
419 static long privcmd_ioctl_mmap_batch(void __user *udata, int version) in privcmd_ioctl_mmap_batch() argument
431 if (copy_from_user(&m, udata, sizeof(struct privcmd_mmapbatch))) in privcmd_ioctl_mmap_batch()
439 if (copy_from_user(&m, udata, sizeof(struct privcmd_mmapbatch_v2))) in privcmd_ioctl_mmap_batch()
555 void __user *udata = (void __user *) data; in privcmd_ioctl() local
559 ret = privcmd_ioctl_hypercall(udata); in privcmd_ioctl()
563 ret = privcmd_ioctl_mmap(udata); in privcmd_ioctl()
567 ret = privcmd_ioctl_mmap_batch(udata, 1); in privcmd_ioctl()
571 ret = privcmd_ioctl_mmap_batch(udata, 2); in privcmd_ioctl()