Lines Matching refs:udata
70 static long privcmd_ioctl_hypercall(struct file *file, void __user *udata) in privcmd_ioctl_hypercall() argument
80 if (copy_from_user(&hypercall, udata, sizeof(hypercall))) in privcmd_ioctl_hypercall()
253 static long privcmd_ioctl_mmap(struct file *file, void __user *udata) in privcmd_ioctl_mmap() argument
267 if (copy_from_user(&mmapcmd, udata, sizeof(mmapcmd))) in privcmd_ioctl_mmap()
446 struct file *file, void __user *udata, int version) in privcmd_ioctl_mmap_batch() argument
459 if (copy_from_user(&m, udata, sizeof(struct privcmd_mmapbatch))) in privcmd_ioctl_mmap_batch()
467 if (copy_from_user(&m, udata, sizeof(struct privcmd_mmapbatch_v2))) in privcmd_ioctl_mmap_batch()
625 static long privcmd_ioctl_dm_op(struct file *file, void __user *udata) in privcmd_ioctl_dm_op() argument
636 if (copy_from_user(&kdata, udata, sizeof(kdata))) in privcmd_ioctl_dm_op()
710 static long privcmd_ioctl_restrict(struct file *file, void __user *udata) in privcmd_ioctl_restrict() argument
715 if (copy_from_user(&dom, udata, sizeof(dom))) in privcmd_ioctl_restrict()
727 static long privcmd_ioctl_mmap_resource(struct file *file, void __user *udata) in privcmd_ioctl_mmap_resource() argument
737 if (copy_from_user(&kdata, udata, sizeof(kdata))) in privcmd_ioctl_mmap_resource()
833 void __user *udata = (void __user *) data; in privcmd_ioctl() local
837 ret = privcmd_ioctl_hypercall(file, udata); in privcmd_ioctl()
841 ret = privcmd_ioctl_mmap(file, udata); in privcmd_ioctl()
845 ret = privcmd_ioctl_mmap_batch(file, udata, 1); in privcmd_ioctl()
849 ret = privcmd_ioctl_mmap_batch(file, udata, 2); in privcmd_ioctl()
853 ret = privcmd_ioctl_dm_op(file, udata); in privcmd_ioctl()
857 ret = privcmd_ioctl_restrict(file, udata); in privcmd_ioctl()
861 ret = privcmd_ioctl_mmap_resource(file, udata); in privcmd_ioctl()