Searched refs:nvme_ctrl_state (Results 1 – 10 of 10) sorted by relevance
184 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvmf_ctlr_matches_baseopts()
163 if (nvme_ctrl_state(ctrl) == NVME_CTRL_LIVE && ctrl->tagset) in nvme_queue_scan() 175 if (nvme_ctrl_state(ctrl) != NVME_CTRL_RESETTING) in nvme_try_sched_reset() 188 if (nvme_ctrl_state(ctrl) != NVME_CTRL_CONNECTING) in nvme_failfast_work() 232 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_reset_ctrl_sync() 558 enum nvme_ctrl_state new_state) in nvme_change_ctrl_state() 560 enum nvme_ctrl_state old_state; in nvme_change_ctrl_state() 566 old_state = nvme_ctrl_state(ctrl); in nvme_change_ctrl_state() 661 return nvme_ctrl_state(ctrl) == NVME_CTRL_RESETTING; in nvme_wait_reset() 759 enum nvme_ctrl_state state = nvme_ctrl_state(ctr in nvme_fail_nonready_command() [all...]
988 enum nvme_ctrl_state state = nvme_ctrl_state(&ctrl->ctrl); in nvme_rdma_reconnect_or_remove() 1070 enum nvme_ctrl_state state = nvme_ctrl_state(&ctrl->ctrl); in nvme_rdma_setup_ctrl() 1138 enum nvme_ctrl_state state = nvme_ctrl_state(&ctrl->ctrl); in nvme_rdma_error_recovery_work() 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()
801 enum nvme_ctrl_state state = nvme_ctrl_state(&anv->ctrl); in apple_nvme_disable() 886 if (nvme_ctrl_state(&anv->ctrl) != NVME_CTRL_LIVE) { in apple_nvme_timeout() 990 enum nvme_ctrl_state state = nvme_ctrl_state(&anv->ctrl); in apple_nvme_reset_work()
2317 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_tcp_reconnect_or_remove() 2413 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_tcp_setup_ctrl() 2486 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_tcp_error_recovery_work() 2522 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_reset_ctrl_work() 2646 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) { in nvme_tcp_timeout()
1543 switch (nvme_ctrl_state(&dev->ctrl)) { in nvme_should_reset() 1646 switch (nvme_ctrl_state(&dev->ctrl)) { in nvme_timeout() 1923 if (nvme_ctrl_state(&dev->ctrl) != NVME_CTRL_CONNECTING) { in nvme_setup_io_queues_trylock() 2985 enum nvme_ctrl_state state = nvme_ctrl_state(&dev->ctrl); in nvme_dev_disable() 3089 if (nvme_ctrl_state(&dev->ctrl) != NVME_CTRL_RESETTING) { in nvme_reset_work() 3639 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_suspend()
552 switch (nvme_ctrl_state(&ctrl->ctrl)) { in nvme_fc_resume_controller() 2049 nvme_ctrl_state(&ctrl->ctrl) != NVME_CTRL_RESETTING) in nvme_fc_fcpio_done() 2503 enum nvme_ctrl_state state = nvme_ctrl_state(&ctrl->ctrl); in nvme_fc_error_recovery() 3273 if (nvme_ctrl_state(&ctrl->ctrl) != NVME_CTRL_CONNECTING) in nvme_fc_reconnect_or_delete()
421 unsigned state = (unsigned)nvme_ctrl_state(ctrl); in nvme_sysfs_show_state()
1007 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_ctrl_auth_work()
427 if (nvme_ctrl_state(&ctrl->ctrl) == NVME_CTRL_LIVE) in nvme_loop_shutdown_ctrl() 461 enum nvme_ctrl_state state = nvme_ctrl_state(&ctrl->ctrl); in nvme_loop_reset_ctrl_work()