Lines Matching refs:namespaces
1350 list_for_each_entry(ns, &ctrl->namespaces, list) in nvme_update_formats()
2928 if (list_empty(&ctrl->namespaces)) { in nvme_dev_user_cmd()
2933 ns = list_first_entry(&ctrl->namespaces, struct nvme_ns, list); in nvme_dev_user_cmd()
2934 if (ns != list_last_entry(&ctrl->namespaces, struct nvme_ns, list)) { in nvme_dev_user_cmd()
3429 list_for_each_entry(ns, &ctrl->namespaces, list) { in nvme_find_get_ns()
3543 list_add_tail(&ns->list, &ctrl->namespaces); in nvme_alloc_ns()
3622 list_for_each_entry_safe(ns, next, &ctrl->namespaces, list) { in nvme_remove_invalid_namespaces()
3740 list_sort(NULL, &ctrl->namespaces, ns_cmp); in nvme_scan_work()
3774 list_splice_init(&ctrl->namespaces, &ns_list); in nvme_remove_namespaces()
4026 INIT_LIST_HEAD(&ctrl->namespaces); in nvme_init_ctrl()
4111 list_for_each_entry(ns, &ctrl->namespaces, list) in nvme_kill_queues()
4123 list_for_each_entry(ns, &ctrl->namespaces, list) in nvme_unfreeze()
4134 list_for_each_entry(ns, &ctrl->namespaces, list) { in nvme_wait_freeze_timeout()
4148 list_for_each_entry(ns, &ctrl->namespaces, list) in nvme_wait_freeze()
4159 list_for_each_entry(ns, &ctrl->namespaces, list) in nvme_start_freeze()
4170 list_for_each_entry(ns, &ctrl->namespaces, list) in nvme_stop_queues()
4181 list_for_each_entry(ns, &ctrl->namespaces, list) in nvme_start_queues()
4193 list_for_each_entry(ns, &ctrl->namespaces, list) in nvme_sync_queues()