Searched refs:NVME_MAX_NAMESPACES (Results 1 – 4 of 4) sorted by relevance
158 for (ns_idx = 0; ns_idx < min(ctrlr->cdata.nn, NVME_MAX_NAMESPACES); ns_idx++) { in nvme_notify()253 KASSERT(nsid <= NVME_MAX_NAMESPACES, in nvme_notify_ns()
78 #define NVME_MAX_NAMESPACES (16) macro288 struct nvme_namespace ns[NVME_MAX_NAMESPACES];
589 for (i = 0; i < min(ctrlr->cdata.nn, NVME_MAX_NAMESPACES); i++) { in nvme_ctrlr_construct_namespaces()751 if (nsl->ns[i] > NVME_MAX_NAMESPACES) in nvme_ctrlr_async_event_log_page_cb()1641 for (i = 0; i < NVME_MAX_NAMESPACES; i++) in nvme_ctrlr_destruct()
613 unit = device_get_unit(ctrlr->dev) * NVME_MAX_NAMESPACES + ns->id - 1; in nvme_ns_construct()