Searched refs:num_VFs (Results 1 – 3 of 3) sorted by relevance
251 if (iov->num_VFs) in sriov_enable()328 iov->num_VFs = nr_virtfn; in sriov_enable()357 if (!iov->num_VFs) in sriov_disable()360 for (i = 0; i < iov->num_VFs; i++) in sriov_disable()374 iov->num_VFs = 0; in sriov_disable()490 BUG_ON(dev->sriov->num_VFs); in sriov_release()513 pci_iov_set_numvfs(dev, iov->num_VFs); in sriov_restore_state()704 return dev->sriov->num_VFs; in pci_num_vf()
587 return sprintf(buf, "%u\n", pdev->sriov->num_VFs); in sriov_numvfs_show()614 if (num_vfs == pdev->sriov->num_VFs) in sriov_numvfs_store()631 if (pdev->sriov->num_VFs) { in sriov_numvfs_store()633 pdev->sriov->num_VFs, num_vfs); in sriov_numvfs_store()
264 u16 num_VFs; /* number of VFs available */ member