Lines Matching refs:namespaces
126 nvmet_for_each_enabled_ns(&subsys->namespaces, idx, cur)
452 req->ns = xa_load(&subsys->namespaces, nsid);
499 pr_err("peer-to-peer DMA is not supported by non-block device namespaces\n");
594 pr_info("cannot enable both passthru and regular namespaces for a single subsystem");
631 xa_set_mark(&subsys->namespaces, ns->nsid, NVMET_NS_ENABLED);
659 xa_clear_mark(&subsys->namespaces, ns->nsid, NVMET_NS_ENABLED);
668 * Now that we removed the namespaces from the lookup list, we
672 * use call_rcu here as we need to ensure the namespaces have
698 xa_erase(&subsys->namespaces, ns->nsid);
734 if (xa_insert(&subsys->namespaces, ns->nsid, ns, GFP_KERNEL))
1581 nvmet_for_each_enabled_ns(&ctrl->subsys->namespaces, idx, ns)
1907 xa_init(&subsys->namespaces);
1935 WARN_ON_ONCE(!xa_empty(&subsys->namespaces));
1939 xa_destroy(&subsys->namespaces);