Home
last modified time | relevance | path

Searched refs:kdata (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/drivers/xen/
Dprivcmd.c627 struct privcmd_dm_op kdata; in privcmd_ioctl_dm_op() local
635 if (copy_from_user(&kdata, udata, sizeof(kdata))) in privcmd_ioctl_dm_op()
639 if (data->domid != DOMID_INVALID && data->domid != kdata.dom) in privcmd_ioctl_dm_op()
642 if (kdata.num == 0) in privcmd_ioctl_dm_op()
645 if (kdata.num > privcmd_dm_op_max_num) in privcmd_ioctl_dm_op()
648 kbufs = kcalloc(kdata.num, sizeof(*kbufs), GFP_KERNEL); in privcmd_ioctl_dm_op()
652 if (copy_from_user(kbufs, kdata.ubufs, in privcmd_ioctl_dm_op()
653 sizeof(*kbufs) * kdata.num)) { in privcmd_ioctl_dm_op()
658 for (i = 0; i < kdata.num; i++) { in privcmd_ioctl_dm_op()
681 xbufs = kcalloc(kdata.num, sizeof(*xbufs), GFP_KERNEL); in privcmd_ioctl_dm_op()
[all …]