Home
last modified time | relevance | path

Searched refs:nvme_change_ctrl_state (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/nvme/host/
H A Dpci.c1719 if (!nvme_change_ctrl_state(ctrl, NVME_CTRL_RESETTING)) { in nvme_pci_subsystem_reset()
1726 if (!nvme_change_ctrl_state(ctrl, NVME_CTRL_CONNECTING) || in nvme_pci_subsystem_reset()
1727 !nvme_change_ctrl_state(ctrl, NVME_CTRL_LIVE)) in nvme_pci_subsystem_reset()
1895 nvme_change_ctrl_state(&dev->ctrl, NVME_CTRL_DELETING); in nvme_timeout()
1937 nvme_change_ctrl_state(&dev->ctrl, NVME_CTRL_DELETING); in nvme_timeout()
2003 if (!nvme_change_ctrl_state(&dev->ctrl, NVME_CTRL_RESETTING)) { in nvme_timeout()
3418 if (!nvme_change_ctrl_state(&dev->ctrl, NVME_CTRL_CONNECTING)) { in nvme_reset_work()
3470 if (!nvme_change_ctrl_state(&dev->ctrl, NVME_CTRL_LIVE)) { in nvme_reset_work()
3489 nvme_change_ctrl_state(&dev->ctrl, NVME_CTRL_DELETING); in nvme_reset_work()
3494 nvme_change_ctrl_state( in nvme_pci_reg_read32()
[all...]
H A Dapple.c1172 if (!nvme_change_ctrl_state(&anv->ctrl, NVME_CTRL_CONNECTING)) { in apple_nvme_reset_work()
1209 if (!nvme_change_ctrl_state(&anv->ctrl, NVME_CTRL_LIVE)) { in apple_nvme_reset_work()
1227 nvme_change_ctrl_state(&anv->ctrl, NVME_CTRL_DELETING); in apple_nvme_reset_work()
1638 nvme_change_ctrl_state(&anv->ctrl, NVME_CTRL_DELETING); in apple_nvme_remove()
H A Dcore.c217 if (!nvme_change_ctrl_state(ctrl, NVME_CTRL_RESETTING)) in nvme_reset_ctrl()
261 if (!nvme_change_ctrl_state(ctrl, NVME_CTRL_DELETING)) in nvme_delete_ctrl()
276 if (nvme_change_ctrl_state(ctrl, NVME_CTRL_DELETING)) in nvme_delete_ctrl_sync()
574 bool nvme_change_ctrl_state(struct nvme_ctrl *ctrl, in nvme_change_ctrl_state()
668 EXPORT_SYMBOL_GPL(nvme_change_ctrl_state);
677 nvme_change_ctrl_state(ctrl, NVME_CTRL_RESETTING) || in nvme_free_ns_head()
4653 nvme_change_ctrl_state(ctrl, NVME_CTRL_DELETING_NOIO); in nvme_class_uevent()
4804 if (!nvme_change_ctrl_state(ctrl, NVME_CTRL_CONNECTING) || in nvme_handle_aen_notice()
4805 !nvme_change_ctrl_state(ctrl, NVME_CTRL_LIVE)) in nvme_handle_aen_notice()
4841 if (nvme_change_ctrl_state(ctr in nvme_complete_async_event()
562 bool nvme_change_ctrl_state(struct nvme_ctrl *ctrl, nvme_change_ctrl_state() function
[all...]
H A Drdma.c1063 changed = nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_LIVE); in nvme_rdma_setup_ctrl()
1138 if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_CONNECTING)) { in nvme_rdma_error_recovery_work()
1152 if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_RESETTING)) in nvme_rdma_error_recovery()
2177 if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_CONNECTING)) { in nvme_rdma_reset_ctrl_work()
2336 changed = nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_CONNECTING); in nvme_rdma_create_ctrl()
H A Dtcp.c608 if (!nvme_change_ctrl_state(ctrl, NVME_CTRL_RESETTING)) in nvme_tcp_init_recv_ctx()
2435 if (!nvme_change_ctrl_state(ctrl, NVME_CTRL_LIVE)) { in nvme_tcp_setup_ctrl()
2514 if (!nvme_change_ctrl_state(ctrl, NVME_CTRL_CONNECTING)) { in nvme_tcp_error_recovery_work()
2550 if (!nvme_change_ctrl_state(ctrl, NVME_CTRL_CONNECTING)) { in nvme_reset_ctrl_work()
3008 if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_CONNECTING)) { in nvme_tcp_create_ctrl()
H A Dfc.c3146 if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_LIVE)) { in nvme_fc_create_association()
3339 if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_CONNECTING)) in nvme_fc_reset_ctrl_work()
3564 if (!nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_CONNECTING)) { in nvme_fc_init_ctrl()
3586 nvme_change_ctrl_state(&ctrl->ctrl, NVME_CTRL_DELETING); in nvme_fc_init_ctrl()
H A Dnvme.h881 bool nvme_change_ctrl_state(struct nvme_ctrl *ctrl,