Searched refs:num_vfs (Results 1 – 3 of 3) sorted by relevance
59 int cntlid, num_rsvd, num_vfs = n->params.sriov_max_vfs; in nvme_subsys_register_ctrl() local64 n->sec_ctrl_list = g_new0(NvmeSecCtrlEntry, num_vfs); in nvme_subsys_register_ctrl()77 num_rsvd = nvme_subsys_reserve_cntlids(n, cntlid + 1, num_vfs); in nvme_subsys_register_ctrl()78 if (num_rsvd != num_vfs) { in nvme_subsys_register_ctrl()
37 uint16_t num_vfs; in register_vfs() local42 num_vfs = pci_get_word(dev->config + sriov_cap + PCI_SRIOV_NUM_VF); in register_vfs()45 PCI_FUNC(dev->devfn), num_vfs); in register_vfs()46 for (i = 0; i < num_vfs; i++) { in register_vfs()75 uint16_t num_vfs = pci_get_word(cfg + PCI_SRIOV_NUM_VF); in consume_config() local80 if (num_vfs <= pci_get_word(cfg + PCI_SRIOV_TOTAL_VF)) { in consume_config()
22 sriov_register_vfs(const char *name, int slot, int function, int num_vfs) "%s %02x:%x: creating %d …