Home
last modified time | relevance | path

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

/linux-6.15/drivers/nvme/host/
H A Dmultipath.c173 if (nvme_ctrl_state(ns->ctrl) == NVME_CTRL_LIVE) in nvme_kick_requeue_lists()
250 if (state != NVME_CTRL_LIVE && state != NVME_CTRL_DELETING) in nvme_path_is_disabled()
396 return nvme_ctrl_state(ns->ctrl) == NVME_CTRL_LIVE && in nvme_path_is_optimized()
437 case NVME_CTRL_LIVE: in nvme_available_path()
772 nvme_ctrl_state(ns->ctrl) == NVME_CTRL_LIVE) in nvme_update_ns_ana_state()
874 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_ana_work()
H A Dnvme.h253 NVME_CTRL_LIVE, enumerator
763 case NVME_CTRL_LIVE: in nvme_state_terminal()
852 if (likely(state == NVME_CTRL_LIVE)) in nvme_check_ready()
H A Dcore.c159 if (nvme_ctrl_state(ctrl) == NVME_CTRL_LIVE && ctrl->tagset) in nvme_queue_scan()
228 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_reset_ctrl_sync()
565 case NVME_CTRL_LIVE: in nvme_change_ctrl_state()
577 case NVME_CTRL_LIVE: in nvme_change_ctrl_state()
596 case NVME_CTRL_LIVE: in nvme_change_ctrl_state()
637 if (new_state == NVME_CTRL_LIVE) { in nvme_change_ctrl_state()
1342 if (state == NVME_CTRL_LIVE || state == NVME_CTRL_CONNECTING) in nvme_keep_alive_end_io()
2804 if (nvme_ctrl_state(ctrl) == NVME_CTRL_LIVE) in nvme_set_latency_tolerance()
3537 case NVME_CTRL_LIVE: in nvme_dev_open()
4448 if (nvme_ctrl_state(ctrl) == NVME_CTRL_LIVE) in nvme_async_event_work()
[all …]
H A Dapple.c813 if (state == NVME_CTRL_LIVE || in apple_nvme_disable()
886 if (nvme_ctrl_state(&anv->ctrl) != NVME_CTRL_LIVE) { in apple_nvme_timeout()
1163 if (!nvme_change_ctrl_state(&anv->ctrl, NVME_CTRL_LIVE)) { in apple_nvme_reset_work()
H A Drdma.c992 WARN_ON_ONCE(state == NVME_CTRL_NEW || state == NVME_CTRL_LIVE); in nvme_rdma_reconnect_or_remove()
1063 changed = nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_LIVE); in nvme_rdma_setup_ctrl()
1173 if (nvme_ctrl_state(&ctrl->ctrl) == NVME_CTRL_LIVE) in nvme_rdma_wr_error()
1966 if (nvme_ctrl_state(&ctrl->ctrl) != NVME_CTRL_LIVE) { in nvme_rdma_timeout()
H A Dpci.c1264 nvme_change_ctrl_state(ctrl, NVME_CTRL_LIVE); in nvme_pci_subsystem_reset()
2796 if (state == NVME_CTRL_LIVE || state == NVME_CTRL_RESETTING) { in nvme_dev_disable()
3000 if (!nvme_change_ctrl_state(&dev->ctrl, NVME_CTRL_LIVE)) { in nvme_reset_work()
3321 if (!nvme_change_ctrl_state(&dev->ctrl, NVME_CTRL_LIVE)) { in nvme_probe()
3474 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_suspend()
H A Dsysfs.c417 [NVME_CTRL_LIVE] = "live", in nvme_sysfs_show_state()
H A Dtcp.c2342 WARN_ON_ONCE(state == NVME_CTRL_NEW || state == NVME_CTRL_LIVE); in nvme_tcp_reconnect_or_remove()
2428 if (!nvme_change_ctrl_state(ctrl, NVME_CTRL_LIVE)) { in nvme_tcp_setup_ctrl()
2665 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) { in nvme_tcp_timeout()
H A Dauth.c1003 if (nvme_ctrl_state(ctrl) != NVME_CTRL_LIVE) in nvme_ctrl_auth_work()
H A Dfc.c2514 if (state != NVME_CTRL_LIVE) in nvme_fc_error_recovery()
3135 if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_LIVE)) { in nvme_fc_create_association()
/linux-6.15/drivers/nvme/target/
H A Dloop.c416 if (nvme_ctrl_state(&ctrl->ctrl) == NVME_CTRL_LIVE) in nvme_loop_shutdown_ctrl()
474 if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_LIVE)) in nvme_loop_reset_ctrl_work()
612 if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_LIVE)) in nvme_loop_create_ctrl()