Home
last modified time | relevance | path

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

/linux/drivers/vfio/pci/
H A Dvfio_pci_core.c1330 int32_t *group_fds; in vfio_pci_ioctl_pci_hot_reset_groups() local
1348 group_fds = kcalloc(array_count, sizeof(*group_fds), GFP_KERNEL); in vfio_pci_ioctl_pci_hot_reset_groups()
1350 if (!group_fds || !files) { in vfio_pci_ioctl_pci_hot_reset_groups()
1351 kfree(group_fds); in vfio_pci_ioctl_pci_hot_reset_groups()
1356 if (copy_from_user(group_fds, arg->group_fds, in vfio_pci_ioctl_pci_hot_reset_groups()
1357 array_count * sizeof(*group_fds))) { in vfio_pci_ioctl_pci_hot_reset_groups()
1358 kfree(group_fds); in vfio_pci_ioctl_pci_hot_reset_groups()
1368 struct file *file = fget(group_fds[file_idx]); in vfio_pci_ioctl_pci_hot_reset_groups()
1385 kfree(group_fds); in vfio_pci_ioctl_pci_hot_reset_groups()
/linux/include/uapi/linux/
H A Dvfio.h779 __s32 group_fds[]; member