Lines Matching refs:namespaces
1188 list_for_each_entry(ns, &ctrl->namespaces, list) in nvme_update_formats()
2527 if (list_empty(&ctrl->namespaces)) { in nvme_dev_user_cmd()
2532 ns = list_first_entry(&ctrl->namespaces, struct nvme_ns, list); in nvme_dev_user_cmd()
2533 if (ns != list_last_entry(&ctrl->namespaces, struct nvme_ns, list)) { in nvme_dev_user_cmd()
2999 list_for_each_entry(ns, &ctrl->namespaces, list) { in nvme_find_get_ns()
3097 list_add_tail(&ns->list, &ctrl->namespaces); in nvme_alloc_ns()
3179 list_for_each_entry_safe(ns, next, &ctrl->namespaces, list) { in nvme_remove_invalid_namespaces()
3295 list_sort(NULL, &ctrl->namespaces, ns_cmp); in nvme_scan_work()
3319 list_splice_init(&ctrl->namespaces, &ns_list); in nvme_remove_namespaces()
3526 INIT_LIST_HEAD(&ctrl->namespaces); in nvme_init_ctrl()
3598 list_for_each_entry(ns, &ctrl->namespaces, list) in nvme_kill_queues()
3610 list_for_each_entry(ns, &ctrl->namespaces, list) in nvme_unfreeze()
3621 list_for_each_entry(ns, &ctrl->namespaces, list) { in nvme_wait_freeze_timeout()
3635 list_for_each_entry(ns, &ctrl->namespaces, list) in nvme_wait_freeze()
3646 list_for_each_entry(ns, &ctrl->namespaces, list) in nvme_start_freeze()
3657 list_for_each_entry(ns, &ctrl->namespaces, list) in nvme_stop_queues()
3668 list_for_each_entry(ns, &ctrl->namespaces, list) in nvme_start_queues()