Searched refs:NVME_CTRL_LIVE (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/drivers/nvme/host/ |
H A D | multipath.c | 173 if (ctrl->state == NVME_CTRL_LIVE) in nvme_kick_requeue_lists() 248 if (ns->ctrl->state != NVME_CTRL_LIVE && in nvme_path_is_disabled() 395 return ns->ctrl->state == NVME_CTRL_LIVE && in nvme_path_is_optimized() 436 case NVME_CTRL_LIVE: in nvme_available_path() 770 ns->ctrl->state == NVME_CTRL_LIVE) in nvme_update_ns_ana_state() 853 if (ctrl->state != NVME_CTRL_LIVE) in nvme_ana_work()
|
H A D | nvme.h | 252 NVME_CTRL_LIVE, enumerator 766 case NVME_CTRL_LIVE: in nvme_state_terminal() 852 if (likely(ctrl->state == NVME_CTRL_LIVE)) in nvme_check_ready()
|
H A D | core.c | 134 if (nvme_ctrl_state(ctrl) == NVME_CTRL_LIVE && ctrl->tagset) in nvme_queue_scan() 203 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_reset_ctrl_sync() 504 case NVME_CTRL_LIVE: in nvme_change_ctrl_state() 516 case NVME_CTRL_LIVE: in nvme_change_ctrl_state() 535 case NVME_CTRL_LIVE: in nvme_change_ctrl_state() 576 if (new_state == NVME_CTRL_LIVE) { in nvme_change_ctrl_state() 1210 if (state == NVME_CTRL_LIVE || state == NVME_CTRL_CONNECTING) in nvme_keep_alive_end_io() 2530 if (nvme_ctrl_state(ctrl) == NVME_CTRL_LIVE) in nvme_set_latency_tolerance() 3239 case NVME_CTRL_LIVE: in nvme_dev_open() 3939 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE || !ctrl->tagset) in nvme_scan_work() [all …]
|
H A D | apple.c | 811 if (anv->ctrl.state == NVME_CTRL_LIVE || in apple_nvme_disable() 884 if (anv->ctrl.state != NVME_CTRL_LIVE) { in apple_nvme_timeout() 1149 if (!nvme_change_ctrl_state(&anv->ctrl, NVME_CTRL_LIVE)) { in apple_nvme_reset_work()
|
H A D | rdma.c | 991 WARN_ON_ONCE(state == NVME_CTRL_NEW || state == NVME_CTRL_LIVE); in nvme_rdma_reconnect_or_remove() 1056 changed = nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_LIVE); in nvme_rdma_setup_ctrl() 1169 if (nvme_ctrl_state(&ctrl->ctrl) == NVME_CTRL_LIVE) in nvme_rdma_wr_error() 1952 if (nvme_ctrl_state(&ctrl->ctrl) != NVME_CTRL_LIVE) { in nvme_rdma_timeout()
|
H A D | sysfs.c | 231 [NVME_CTRL_LIVE] = "live", in nvme_sysfs_show_state()
|
H A D | pci.c | 2605 if (state == NVME_CTRL_LIVE || state == NVME_CTRL_RESETTING) { in nvme_dev_disable() 2792 if (!nvme_change_ctrl_state(&dev->ctrl, NVME_CTRL_LIVE)) { in nvme_reset_work() 3108 if (!nvme_change_ctrl_state(&dev->ctrl, NVME_CTRL_LIVE)) { in nvme_probe() 3258 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_suspend()
|
H A D | tcp.c | 2043 WARN_ON_ONCE(state == NVME_CTRL_NEW || state == NVME_CTRL_LIVE); in nvme_tcp_reconnect_or_remove() 2097 if (!nvme_change_ctrl_state(ctrl, NVME_CTRL_LIVE)) { in nvme_tcp_setup_ctrl() 2327 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) { in nvme_tcp_timeout()
|
H A D | auth.c | 902 if (ctrl->state != NVME_CTRL_LIVE) in nvme_ctrl_auth_work()
|
H A D | fc.c | 2515 if (state != NVME_CTRL_LIVE) in nvme_fc_error_recovery() 3133 if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_LIVE)) { in nvme_fc_create_association()
|
/openbmc/linux/drivers/nvme/target/ |
H A D | loop.c | 416 if (ctrl->ctrl.state == NVME_CTRL_LIVE) in nvme_loop_shutdown_ctrl() 472 if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_LIVE)) in nvme_loop_reset_ctrl_work() 604 if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_LIVE)) in nvme_loop_create_ctrl()
|