Lines Matching refs:namespaces
1334 if (list_empty(&ctrl->namespaces)) { in nvme_dev_user_cmd()
1339 ns = list_first_entry(&ctrl->namespaces, struct nvme_ns, list); in nvme_dev_user_cmd()
1340 if (ns != list_last_entry(&ctrl->namespaces, struct nvme_ns, list)) { in nvme_dev_user_cmd()
1621 list_for_each_entry(ns, &ctrl->namespaces, list) { in nvme_find_get_ns()
1693 list_add_tail(&ns->list, &ctrl->namespaces); in nvme_alloc_ns()
1758 list_for_each_entry_safe(ns, next, &ctrl->namespaces, list) { in nvme_remove_invalid_namespaces()
1836 list_sort(NULL, &ctrl->namespaces, ns_cmp); in nvme_scan_work()
1870 list_for_each_entry_safe(ns, next, &ctrl->namespaces, list) in nvme_remove_namespaces()
1995 INIT_LIST_HEAD(&ctrl->namespaces); in nvme_init_ctrl()
2047 list_for_each_entry(ns, &ctrl->namespaces, list) { in nvme_kill_queues()
2076 list_for_each_entry(ns, &ctrl->namespaces, list) { in nvme_stop_queues()
2093 list_for_each_entry(ns, &ctrl->namespaces, list) { in nvme_start_queues()