Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/nvme/
H A Dnvme.c2138 nvme->n_ns[nsid - 1].ns_devid = kmem_asprintf("%4X-%s-%s-%X", in nvme_prepare_devid()
2145 nvme_namespace_t *ns = &nvme->n_ns[nsid - 1]; in nvme_init_ns()
2533 nvme->n_ns = kmem_zalloc(sizeof (nvme_namespace_t) * in nvme_init()
2537 mutex_init(&nvme->n_ns[i].ns_minor.nm_mutex, NULL, MUTEX_DRIVER, in nvme_init()
2950 if (ddi_create_minor_node(nvme->n_dip, nvme->n_ns[i].ns_name, in nvme_attach()
2958 if (nvme->n_ns[i].ns_ignore) in nvme_attach()
2961 nvme->n_ns[i].ns_bd_hdl = bd_alloc_handle(&nvme->n_ns[i], in nvme_attach()
2964 if (nvme->n_ns[i].ns_bd_hdl == NULL) { in nvme_attach()
2970 if (bd_attach_handle(dip, nvme->n_ns[i].ns_bd_hdl) in nvme_attach()
3018 if (nvme->n_ns) { in nvme_detach()
[all …]
H A Dnvme_var.h173 nvme_namespace_t *n_ns; member