Searched refs:current_vfs (Results 1 – 2 of 2) sorted by relevance
493 int current_vfs = pci_num_vf(pdev); in fm10k_iov_configure() local496 if (current_vfs && pci_vfs_assigned(pdev)) { in fm10k_iov_configure()499 num_vfs = current_vfs; in fm10k_iov_configure()511 if (num_vfs && num_vfs != current_vfs) { in fm10k_iov_configure()
6261 int current_vfs = pci_num_vf(pdev); in cxgb4_iov_configure() local6274 if (current_vfs && pci_vfs_assigned(pdev)) { in cxgb4_iov_configure()6277 return current_vfs; in cxgb4_iov_configure()6283 if (num_vfs != 0 && current_vfs != 0) in cxgb4_iov_configure()6287 if (num_vfs == current_vfs) in cxgb4_iov_configure()6305 if (!current_vfs) { in cxgb4_iov_configure()6387 if (!current_vfs) { in cxgb4_iov_configure()