Searched refs:NVME_CTRL_LIVE (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/nvme/host/ |
| H A D | multipath.c | 226 if (nvme_ctrl_state(ns->ctrl) == NVME_CTRL_LIVE) in nvme_kick_requeue_lists() 303 if (state != NVME_CTRL_LIVE && state != NVME_CTRL_DELETING) in nvme_path_is_disabled() 449 return nvme_ctrl_state(ns->ctrl) == NVME_CTRL_LIVE && in nvme_path_is_optimized() 490 case NVME_CTRL_LIVE: in nvme_available_path() 881 nvme_ctrl_state(ns->ctrl) == NVME_CTRL_LIVE) in nvme_update_ns_ana_state() 983 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_ana_work()
|
| H A D | nvme.h | 307 NVME_CTRL_LIVE, enumerator 830 case NVME_CTRL_LIVE: in nvme_state_terminal() 919 if (likely(state == NVME_CTRL_LIVE)) in nvme_check_ready()
|
| H A D | core.c | 163 if (nvme_ctrl_state(ctrl) == NVME_CTRL_LIVE && ctrl->tagset) in nvme_queue_scan() 232 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_reset_ctrl_sync() 568 case NVME_CTRL_LIVE: in nvme_change_ctrl_state() 580 case NVME_CTRL_LIVE: in nvme_change_ctrl_state() 599 case NVME_CTRL_LIVE: in nvme_change_ctrl_state() 640 if (new_state == NVME_CTRL_LIVE) { in nvme_change_ctrl_state() 1367 if (state == NVME_CTRL_LIVE || state == NVME_CTRL_CONNECTING) in nvme_keep_alive_end_io() 2971 if (nvme_ctrl_state(ctrl) == NVME_CTRL_LIVE) in nvme_set_latency_tolerance() 3733 case NVME_CTRL_LIVE: in nvme_dev_open() 4495 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE || !ctrl->tagset) in nvme_scan_work() [all …]
|
| H A D | apple.c | 850 if (state == NVME_CTRL_LIVE || in apple_nvme_disable() 923 if (nvme_ctrl_state(&anv->ctrl) != NVME_CTRL_LIVE) { in apple_nvme_timeout() 1208 if (!nvme_change_ctrl_state(&anv->ctrl, NVME_CTRL_LIVE)) { in apple_nvme_reset_work()
|
| H A D | rdma.c | 992 WARN_ON_ONCE(state == NVME_CTRL_NEW || state == NVME_CTRL_LIVE); in nvme_rdma_reconnect_or_remove() 1063 changed = nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_LIVE); in nvme_rdma_setup_ctrl() 1173 if (nvme_ctrl_state(&ctrl->ctrl) == NVME_CTRL_LIVE) in nvme_rdma_wr_error() 1966 if (nvme_ctrl_state(&ctrl->ctrl) != NVME_CTRL_LIVE) { in nvme_rdma_timeout()
|
| H A D | pci.c | 1696 !nvme_change_ctrl_state(ctrl, NVME_CTRL_LIVE)) in nvme_pci_subsystem_reset() 3270 if (state == NVME_CTRL_LIVE || state == NVME_CTRL_RESETTING) { in nvme_dev_disable() 3435 if (!nvme_change_ctrl_state(&dev->ctrl, NVME_CTRL_LIVE)) { in nvme_reset_work() 3785 if (!nvme_change_ctrl_state(&dev->ctrl, NVME_CTRL_LIVE)) { in nvme_probe() 3935 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_suspend()
|
| H A D | tcp.c | 2328 WARN_ON_ONCE(state == NVME_CTRL_NEW || state == NVME_CTRL_LIVE); in nvme_tcp_reconnect_or_remove() 2414 if (!nvme_change_ctrl_state(ctrl, NVME_CTRL_LIVE)) { in nvme_tcp_setup_ctrl() 2653 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) { in nvme_tcp_timeout()
|
| H A D | sysfs.c | 424 [NVME_CTRL_LIVE] = "live", in nvme_sysfs_show_state()
|
| H A D | auth.c | 1012 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_ctrl_auth_work()
|
| H A D | fc.c | 2519 if (state != NVME_CTRL_LIVE) in nvme_fc_error_recovery() 3146 if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_LIVE)) { in nvme_fc_create_association()
|
| /linux/drivers/nvme/target/ |
| H A D | loop.c | 427 if (nvme_ctrl_state(&ctrl->ctrl) == NVME_CTRL_LIVE) in nvme_loop_shutdown_ctrl() 485 if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_LIVE)) in nvme_loop_reset_ctrl_work() 623 if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_LIVE)) in nvme_loop_create_ctrl()
|