Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_nvme.c335 uint32_t ioslots; member
3134 sc->ioslots = NVME_IOSLOTS; in pci_nvme_parse_config()
3161 sc->ioslots = atoi(value); in pci_nvme_parse_config()
3162 if (sc->ioslots <= 0) { in pci_nvme_parse_config()
3163 EPRINTLN("Invalid ioslots option %d", sc->ioslots); in pci_nvme_parse_config()
3284 sc->ioreqs = calloc(sc->ioslots, sizeof(struct pci_nvme_ioreq)); in pci_nvme_init()
3285 for (uint32_t i = 0; i < sc->ioslots; i++) { in pci_nvme_init()
3328 sem_init(&sc->iosemlock, 0, sc->ioslots); in pci_nvme_init()