Home
last modified time | relevance | path

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

/linux/drivers/nvme/host/
H A Dmultipath.c227 if (nvme_ctrl_state(ns->ctrl) == NVME_CTRL_LIVE) in nvme_kick_requeue_lists()
319 if (state != NVME_CTRL_LIVE && state != NVME_CTRL_DELETING) in nvme_path_is_disabled()
469 return nvme_ctrl_state(ns->ctrl) == NVME_CTRL_LIVE && in nvme_path_is_optimized()
512 case NVME_CTRL_LIVE: 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 Dnvme.h314 NVME_CTRL_LIVE, enumerator
864 case NVME_CTRL_LIVE: in nvme_state_terminal()
953 if (likely(state == NVME_CTRL_LIVE)) in nvme_check_ready()
H A Dcore.c168 if (nvme_ctrl_state(ctrl) == NVME_CTRL_LIVE && ctrl->tagset) in nvme_queue_scan()
237 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_reset_ctrl_sync()
590 case NVME_CTRL_LIVE: in nvme_change_ctrl_state()
602 case NVME_CTRL_LIVE: in nvme_change_ctrl_state()
622 case NVME_CTRL_LIVE: in nvme_change_ctrl_state()
663 if (new_state == NVME_CTRL_LIVE) { in nvme_change_ctrl_state()
1395 if (state == NVME_CTRL_LIVE || state == NVME_CTRL_CONNECTING) in nvme_keep_alive_end_io()
3066 if (nvme_ctrl_state(ctrl) == NVME_CTRL_LIVE) in nvme_set_latency_tolerance()
3835 case NVME_CTRL_LIVE: in nvme_dev_open()
4637 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE || !ctrl->tagset) in nvme_scan_work()
[all …]
H A Dapple.c866 if (state == NVME_CTRL_LIVE || in apple_nvme_disable()
939 if (nvme_ctrl_state(&anv->ctrl) != NVME_CTRL_LIVE) { in apple_nvme_timeout()
1210 if (!nvme_change_ctrl_state(&anv->ctrl, NVME_CTRL_LIVE)) { in apple_nvme_reset_work()
H A Drdma.c1025 WARN_ON_ONCE(state == NVME_CTRL_NEW || state == NVME_CTRL_LIVE); in nvme_rdma_reconnect_or_remove()
1096 changed = nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_LIVE); in nvme_rdma_setup_ctrl()
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 Dpci.c1738 !nvme_change_ctrl_state(ctrl, NVME_CTRL_LIVE)) in nvme_pci_subsystem_reset()
3321 if (state == NVME_CTRL_LIVE || state == NVME_CTRL_RESETTING) { in nvme_dev_disable()
3486 if (!nvme_change_ctrl_state(&dev->ctrl, NVME_CTRL_LIVE)) { in nvme_reset_work()
3836 if (!nvme_change_ctrl_state(&dev->ctrl, NVME_CTRL_LIVE)) { in nvme_probe()
3988 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_suspend()
H A Dtcp.c2413 WARN_ON_ONCE(state == NVME_CTRL_NEW || state == NVME_CTRL_LIVE); in nvme_tcp_reconnect_or_remove()
2499 if (!nvme_change_ctrl_state(ctrl, NVME_CTRL_LIVE)) { in nvme_tcp_setup_ctrl()
2740 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) { in nvme_tcp_timeout()
H A Dauth.c963 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_ctrl_auth_work()
H A Dsysfs.c523 [NVME_CTRL_LIVE] = "live", in nvme_sysfs_show_state()
H A Dfc.c2531 if (state != NVME_CTRL_LIVE) in nvme_fc_error_recovery()
3163 if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_LIVE)) { in nvme_fc_create_association()