Home
last modified time | relevance | path

Searched refs:nvme_ctrl_state (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/nvme/host/
H A Dnvme.h312 enum nvme_ctrl_state { enum
346 enum nvme_ctrl_state state;
485 static inline enum nvme_ctrl_state nvme_ctrl_state(struct nvme_ctrl *ctrl) in nvme_ctrl_state() function
863 switch (nvme_ctrl_state(ctrl)) { in nvme_state_terminal()
900 enum nvme_ctrl_state new_state);
947 bool queue_live, enum nvme_ctrl_state state);
952 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_check_ready()
H A Dmultipath.c227 if (nvme_ctrl_state(ns->ctrl) == NVME_CTRL_LIVE) in nvme_kick_requeue_lists()
312 enum nvme_ctrl_state state = nvme_ctrl_state(ns->ctrl); in nvme_path_is_disabled()
469 return nvme_ctrl_state(ns->ctrl) == NVME_CTRL_LIVE && in nvme_path_is_optimized()
511 switch (nvme_ctrl_state(ns->ctrl)) { in nvme_available_path()
895 nvme_ctrl_state(ns->ctrl) == NVME_CTRL_LIVE) in nvme_update_ns_ana_state()
997 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_ana_work()
H A Dcore.c168 if (nvme_ctrl_state(ctrl) == NVME_CTRL_LIVE && ctrl->tagset) in nvme_queue_scan()
180 if (nvme_ctrl_state(ctrl) != NVME_CTRL_RESETTING) in nvme_try_sched_reset()
193 if (nvme_ctrl_state(ctrl) != NVME_CTRL_CONNECTING) in nvme_failfast_work()
237 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_reset_ctrl_sync()
580 enum nvme_ctrl_state new_state) in nvme_change_ctrl_state()
582 enum nvme_ctrl_state old_state; in nvme_change_ctrl_state()
588 old_state = nvme_ctrl_state(ctrl); in nvme_change_ctrl_state()
684 return nvme_ctrl_state(ctrl) == NVME_CTRL_RESETTING; in nvme_wait_reset()
785 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_fail_nonready_command()
802 bool queue_live, enum nvme_ctrl_state state) in __nvme_check_ready()
[all …]
H A Drdma.c1021 enum nvme_ctrl_state state = nvme_ctrl_state(&ctrl->ctrl); in nvme_rdma_reconnect_or_remove()
1103 enum nvme_ctrl_state state = nvme_ctrl_state(&ctrl->ctrl); in nvme_rdma_setup_ctrl()
1173 enum nvme_ctrl_state state = nvme_ctrl_state(&ctrl->ctrl); in nvme_rdma_error_recovery_work()
1208 if (nvme_ctrl_state(&ctrl->ctrl) == NVME_CTRL_LIVE) in nvme_rdma_wr_error()
2001 if (nvme_ctrl_state(&ctrl->ctrl) != NVME_CTRL_LIVE) { in nvme_rdma_timeout()
H A Dtcp.c2396 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_tcp_reconnect_or_remove()
2492 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_tcp_setup_ctrl()
2567 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_tcp_error_recovery_work()
2603 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_reset_ctrl_work()
2727 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) { in nvme_tcp_timeout()
H A Dapple.c854 enum nvme_ctrl_state state = nvme_ctrl_state(&anv->ctrl); in apple_nvme_disable()
939 if (nvme_ctrl_state(&anv->ctrl) != NVME_CTRL_LIVE) { in apple_nvme_timeout()
1045 enum nvme_ctrl_state state = nvme_ctrl_state(&anv->ctrl); in apple_nvme_reset_work()
H A Dpci.c1843 switch (nvme_ctrl_state(&dev->ctrl)) { in nvme_should_reset()
1946 switch (nvme_ctrl_state(&dev->ctrl)) { in nvme_timeout()
2227 if (nvme_ctrl_state(&dev->ctrl) != NVME_CTRL_CONNECTING) { in nvme_setup_io_queues_trylock()
3315 enum nvme_ctrl_state state = nvme_ctrl_state(&dev->ctrl); in nvme_dev_disable()
3408 if (nvme_ctrl_state(&dev->ctrl) != NVME_CTRL_RESETTING) { in nvme_reset_work()
3988 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_suspend()
H A Dfc.c554 switch (nvme_ctrl_state(&ctrl->ctrl)) { in nvme_fc_resume_controller()
2053 nvme_ctrl_state(&ctrl->ctrl) != NVME_CTRL_RESETTING) in nvme_fc_fcpio_done()
2513 enum nvme_ctrl_state state = nvme_ctrl_state(&ctrl->ctrl); in nvme_fc_error_recovery()
3303 if (nvme_ctrl_state(&ctrl->ctrl) != NVME_CTRL_CONNECTING) in nvme_fc_reconnect_or_delete()
H A Dauth.c963 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_ctrl_auth_work()
H A Dsysfs.c520 unsigned state = (unsigned)nvme_ctrl_state(ctrl); in nvme_sysfs_show_state()