PCI_VFS_ASSIGNED(9) Hardware Interfaces PCI_VFS_ASSIGNED(9)NAMEpci_vfs_assigned - returns number of VFs are assigned to a guest
SYNOPSIS
int pci_vfs_assigned(struct pci_dev * dev);
ARGUMENTS
dev
the PCI device
DESCRIPTION
Returns number of VFs belonging to this device that are assigned to a
guest. If device is not a physical function returns -ENODEV.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 PCI_VFS_ASSIGNED(9)