Home
last modified time | relevance | path

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

/linux/drivers/nvme/host/
H A Dnvme.h251 enum nvme_ctrl_state { enum
284 enum nvme_ctrl_state state;
415 static inline enum nvme_ctrl_state nvme_ctrl_state(struct nvme_ctrl *ctrl) in nvme_ctrl_state() function
759 switch (nvme_ctrl_state(ctrl)) { in nvme_state_terminal()
796 enum nvme_ctrl_state new_state);
843 bool queue_live, enum nvme_ctrl_state state);
848 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_check_ready()
H A Dfabrics.h181 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvmf_ctlr_matches_baseopts()
H A Drdma.c988 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()
1967 if (nvme_ctrl_state(&ctrl->ctrl) != NVME_CTRL_LIVE) { in nvme_rdma_timeout()
H A Dtcp.c2293 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_tcp_reconnect_or_remove()
2358 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_tcp_setup_ctrl()
2429 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_tcp_error_recovery_work()
2463 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_reset_ctrl_work()
2585 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) { in nvme_tcp_timeout()
H A Dpci.c1365 switch (nvme_ctrl_state(&dev->ctrl)) { in nvme_should_reset()
1468 switch (nvme_ctrl_state(&dev->ctrl)) { in nvme_timeout()
1745 if (nvme_ctrl_state(&dev->ctrl) != NVME_CTRL_CONNECTING) { in nvme_setup_io_queues_trylock()
2788 enum nvme_ctrl_state state = nvme_ctrl_state(&dev->ctrl); in nvme_dev_disable()
2922 if (nvme_ctrl_state(&dev->ctrl) != NVME_CTRL_RESETTING) { in nvme_reset_work()
3472 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_suspend()
H A Dfc.c552 switch (nvme_ctrl_state(&ctrl->ctrl)) { in nvme_fc_resume_controller()
2042 nvme_ctrl_state(&ctrl->ctrl) != NVME_CTRL_RESETTING) in nvme_fc_fcpio_done()
2496 enum nvme_ctrl_state state = nvme_ctrl_state(&ctrl->ctrl); in nvme_fc_error_recovery()
3266 if (nvme_ctrl_state(&ctrl->ctrl) != NVME_CTRL_CONNECTING) in nvme_fc_reconnect_or_delete()
H A Dsysfs.c366 unsigned state = (unsigned)nvme_ctrl_state(ctrl); in nvme_sysfs_show_state()
H A Dauth.c899 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_ctrl_auth_work()
/linux/drivers/nvme/target/
H A Dloop.c416 if (nvme_ctrl_state(&ctrl->ctrl) == NVME_CTRL_LIVE) in nvme_loop_shutdown_ctrl()
450 enum nvme_ctrl_state state = nvme_ctrl_state(&ctrl->ctrl); in nvme_loop_reset_ctrl_work()