Home
last modified time | relevance | path

Searched refs:NVME_CTRL_LIVE (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/nvme/host/
H A Dmultipath.c226 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 Dnvme.h307 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 Dcore.c163 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 Dapple.c850 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 Drdma.c992 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 Dpci.c1696 !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 Dtcp.c2328 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 Dsysfs.c424 [NVME_CTRL_LIVE] = "live", in nvme_sysfs_show_state()
H A Dauth.c1012 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_ctrl_auth_work()
H A Dfc.c2519 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 Dloop.c427 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()