Lines Matching refs:num_squeues
134 (ZERO_BASED((sc)->num_squeues) & 0xffff) | \
329 uint32_t num_squeues; member
480 sc->num_squeues = nsq; in pci_nvme_init_queues()
482 sc->submit_queues = calloc(sc->num_squeues + 1, in pci_nvme_init_queues()
486 sc->num_squeues = 0; in pci_nvme_init_queues()
490 for (i = 0; i < sc->num_squeues + 1; i++) in pci_nvme_init_queues()
1036 for (i = 0; i < sc->num_squeues + 1; i++) { in pci_nvme_reset_locked()
1222 if (qid == 0 || qid > sc->num_squeues || in nvme_opc_delete_io_sq()
1225 __func__, qid, sc->num_squeues); in nvme_opc_delete_io_sq()
1245 if ((qid == 0) || (qid > sc->num_squeues) || in nvme_opc_create_io_sq()
1248 __func__, qid, sc->num_squeues); in nvme_opc_create_io_sq()
1329 for (sqid = 1; sqid < sc->num_squeues + 1; sqid++) in nvme_opc_delete_io_cq()
1794 sc->num_squeues = ONE_BASED(nqr); in nvme_feature_num_queues()
1795 if (sc->num_squeues > sc->max_queues) { in nvme_feature_num_queues()
1796 DPRINTF("NSQR=%u is greater than max %u", sc->num_squeues, in nvme_feature_num_queues()
1798 sc->num_squeues = sc->max_queues; in nvme_feature_num_queues()
2821 if (idx > sc->num_squeues) { in pci_nvme_handle_doorbell()
2824 __func__, idx, sc->num_squeues); in pci_nvme_handle_doorbell()
2835 if (idx > sc->num_squeues) { in pci_nvme_handle_doorbell()
2838 __func__, idx, sc->num_squeues); in pci_nvme_handle_doorbell()
3135 sc->num_squeues = sc->max_queues; in pci_nvme_parse_config()