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.h312 enum nvme_ctrl_state { enum
345 enum nvme_ctrl_state state;
485 static inline enum nvme_ctrl_state nvme_ctrl_state(struct nvme_ctrl *ctrl) in nvme_ctrl_state() function
860 switch (nvme_ctrl_state(ctrl)) { in nvme_state_terminal()
897 enum nvme_ctrl_state new_state);
944 bool queue_live, enum nvme_ctrl_state state);
949 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()
898 nvme_ctrl_state(ns->ctrl) == NVME_CTRL_LIVE) in nvme_update_ns_ana_state()
1000 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_ana_work()
H A Dcore.c170 if (nvme_ctrl_state(ctrl) == NVME_CTRL_LIVE && ctrl->tagset) in nvme_queue_scan()
182 if (nvme_ctrl_state(ctrl) != NVME_CTRL_RESETTING) in nvme_try_sched_reset()
195 if (nvme_ctrl_state(ctrl) != NVME_CTRL_CONNECTING) in nvme_failfast_work()
239 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_reset_ctrl_sync()
582 enum nvme_ctrl_state new_state) in nvme_change_ctrl_state()
584 enum nvme_ctrl_state old_state; in nvme_change_ctrl_state()
590 old_state = nvme_ctrl_state(ctrl); in nvme_change_ctrl_state()
686 return nvme_ctrl_state(ctrl) == NVME_CTRL_RESETTING; in nvme_wait_reset()
787 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_fail_nonready_command()
804 bool queue_live, enum nvme_ctrl_state state) in __nvme_check_ready()
[all …]
H A Dtcp.c2397 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_tcp_reconnect_or_remove()
2493 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_tcp_setup_ctrl()
2568 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_tcp_error_recovery_work()
2604 enum nvme_ctrl_state state = nvme_ctrl_state(ctrl); in nvme_reset_ctrl_work()
2728 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()
2507 enum nvme_ctrl_state state = nvme_ctrl_state(&ctrl->ctrl); in nvme_fc_error_recovery()
3297 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()