Lines Matching refs:namespaces
374 return RB_FIND(nvme_ns_tree, &nvme_ctrlr->namespaces, &ns);
380 return RB_MIN(nvme_ns_tree, &nvme_ctrlr->namespaces);
390 return RB_NEXT(nvme_ns_tree, &nvme_ctrlr->namespaces, ns);
635 RB_FOREACH_SAFE(ns, nvme_ns_tree, &nvme_ctrlr->namespaces, tmp_ns) {
636 RB_REMOVE(nvme_ns_tree, &nvme_ctrlr->namespaces, ns);
4840 RB_REMOVE(nvme_ns_tree, &nvme_ctrlr->namespaces, nvme_ns);
4991 RB_REMOVE(nvme_ns_tree, &nvme_ctrlr->namespaces, nvme_ns);
5081 /* First loop over our existing namespaces and see if they have been
5121 /* Loop through all of the namespaces at the nvme level and see if any of them are new */
5146 RB_INSERT(nvme_ns_tree, &nvme_ctrlr->namespaces, nvme_ns);
5174 RB_FOREACH_SAFE(nvme_ns, nvme_ns_tree, &nvme_ctrlr->namespaces, tmp) {
5714 /* Set buffer size enough to include maximum number of allowed namespaces. */
5742 /* Then, set the read size only to include the current active namespaces. */
5872 RB_INIT(&nvme_ctrlr->namespaces);
6397 "Maximum number of namespaces supported per NVMe controller is %du. "
6517 * namespaces as the primary path, it is disconnected until failover occurs.
6612 /* The namespaces for the attached controller were all