Searched refs:nvme_ctrl_state (Results 1 – 6 of 6) sorted by relevance
243 enum nvme_ctrl_state { enum275 enum nvme_ctrl_state state;406 static inline enum nvme_ctrl_state nvme_ctrl_state(struct nvme_ctrl *ctrl) in nvme_ctrl_state() function755 switch (nvme_ctrl_state(ctrl)) { in nvme_state_terminal()792 enum nvme_ctrl_state new_state);
146 if (nvme_ctrl_state(ctrl) != NVME_CTRL_RESETTING) in nvme_try_sched_reset()203 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_reset_ctrl_sync()494 enum nvme_ctrl_state new_state) in nvme_change_ctrl_state()496 enum nvme_ctrl_state old_state; in nvme_change_ctrl_state()502 old_state = nvme_ctrl_state(ctrl); in nvme_change_ctrl_state()686 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_fail_nonready_command()720 switch (nvme_ctrl_state(ctrl)) { in __nvme_check_ready()2529 if (nvme_ctrl_state(ctrl) == NVME_CTRL_LIVE) in nvme_set_latency_tolerance()3215 switch (nvme_ctrl_state(ctrl)) { in nvme_dev_open()3986 if (nvme_ctrl_state(ctrl) == NVME_CTRL_DEAD) in nvme_remove_namespaces()[all …]
1996 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_tcp_reconnect_or_remove()2060 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_tcp_setup_ctrl()2130 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_tcp_error_recovery_work()2163 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_reset_ctrl_work()2284 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) { in nvme_tcp_timeout()
987 enum nvme_ctrl_state state = nvme_ctrl_state(&ctrl->ctrl); in nvme_rdma_reconnect_or_remove()1063 enum nvme_ctrl_state state = nvme_ctrl_state(&ctrl->ctrl); in nvme_rdma_setup_ctrl()1134 enum nvme_ctrl_state state = nvme_ctrl_state(&ctrl->ctrl); in nvme_rdma_error_recovery_work()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()
1239 switch (nvme_ctrl_state(&dev->ctrl)) { in nvme_should_reset()1330 switch (nvme_ctrl_state(&dev->ctrl)) { in nvme_timeout()1605 if (nvme_ctrl_state(&dev->ctrl) != NVME_CTRL_CONNECTING) { in nvme_setup_io_queues_trylock()2602 enum nvme_ctrl_state state = nvme_ctrl_state(&dev->ctrl); in nvme_dev_disable()2719 if (nvme_ctrl_state(&dev->ctrl) != NVME_CTRL_RESETTING) { in nvme_reset_work()3254 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_suspend()
553 switch (nvme_ctrl_state(&ctrl->ctrl)) { in nvme_fc_resume_controller()789 switch (nvme_ctrl_state(&ctrl->ctrl)) { in nvme_fc_ctrl_connectivity_loss()3301 if (nvme_ctrl_state(&ctrl->ctrl) != NVME_CTRL_CONNECTING) in nvme_fc_reconnect_or_delete()