Lines Matching refs:nvme_ctrl
167 struct nvme_ctrl ctrl;
182 static inline struct nvme_tcp_ctrl *to_tcp_ctrl(struct nvme_ctrl *ctrl) in to_tcp_ctrl()
536 static void nvme_tcp_error_recovery(struct nvme_ctrl *ctrl) in nvme_tcp_error_recovery()
1321 static void nvme_tcp_free_queue(struct nvme_ctrl *nctrl, int qid) in nvme_tcp_free_queue()
1510 static int nvme_tcp_alloc_queue(struct nvme_ctrl *nctrl, int qid) in nvme_tcp_alloc_queue()
1670 static void nvme_tcp_stop_queue(struct nvme_ctrl *nctrl, int qid) in nvme_tcp_stop_queue()
1700 static int nvme_tcp_start_queue(struct nvme_ctrl *nctrl, int idx) in nvme_tcp_start_queue()
1726 static void nvme_tcp_free_admin_queue(struct nvme_ctrl *ctrl) in nvme_tcp_free_admin_queue()
1737 static void nvme_tcp_free_io_queues(struct nvme_ctrl *ctrl) in nvme_tcp_free_io_queues()
1745 static void nvme_tcp_stop_io_queues(struct nvme_ctrl *ctrl) in nvme_tcp_stop_io_queues()
1753 static int nvme_tcp_start_io_queues(struct nvme_ctrl *ctrl, in nvme_tcp_start_io_queues()
1772 static int nvme_tcp_alloc_admin_queue(struct nvme_ctrl *ctrl) in nvme_tcp_alloc_admin_queue()
1791 static int __nvme_tcp_alloc_io_queues(struct nvme_ctrl *ctrl) in __nvme_tcp_alloc_io_queues()
1810 static int nvme_tcp_alloc_io_queues(struct nvme_ctrl *ctrl) in nvme_tcp_alloc_io_queues()
1835 static void nvme_tcp_destroy_io_queues(struct nvme_ctrl *ctrl, bool remove) in nvme_tcp_destroy_io_queues()
1843 static int nvme_tcp_configure_io_queues(struct nvme_ctrl *ctrl, bool new) in nvme_tcp_configure_io_queues()
1912 static void nvme_tcp_destroy_admin_queue(struct nvme_ctrl *ctrl, bool remove) in nvme_tcp_destroy_admin_queue()
1920 static int nvme_tcp_configure_admin_queue(struct nvme_ctrl *ctrl, bool new) in nvme_tcp_configure_admin_queue()
1967 static void nvme_tcp_teardown_admin_queue(struct nvme_ctrl *ctrl, in nvme_tcp_teardown_admin_queue()
1979 static void nvme_tcp_teardown_io_queues(struct nvme_ctrl *ctrl, in nvme_tcp_teardown_io_queues()
1994 static void nvme_tcp_reconnect_or_remove(struct nvme_ctrl *ctrl) in nvme_tcp_reconnect_or_remove()
2015 static int nvme_tcp_setup_ctrl(struct nvme_ctrl *ctrl, bool new) in nvme_tcp_setup_ctrl()
2093 struct nvme_ctrl *ctrl = &tcp_ctrl->ctrl; in nvme_tcp_reconnect_ctrl_work()
2117 struct nvme_ctrl *ctrl = &tcp_ctrl->ctrl; in nvme_tcp_error_recovery_work()
2140 static void nvme_tcp_teardown_ctrl(struct nvme_ctrl *ctrl, bool shutdown) in nvme_tcp_teardown_ctrl()
2148 static void nvme_tcp_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_tcp_delete_ctrl()
2155 struct nvme_ctrl *ctrl = in nvme_reset_ctrl_work()
2156 container_of(work, struct nvme_ctrl, reset_work); in nvme_reset_ctrl_work()
2180 static void nvme_tcp_stop_ctrl(struct nvme_ctrl *ctrl) in nvme_tcp_stop_ctrl()
2186 static void nvme_tcp_free_ctrl(struct nvme_ctrl *nctrl) in nvme_tcp_free_ctrl()
2234 static void nvme_tcp_submit_async_event(struct nvme_ctrl *arg) in nvme_tcp_submit_async_event()
2265 struct nvme_ctrl *ctrl = &req->queue->ctrl->ctrl; in nvme_tcp_complete_timed_out()
2274 struct nvme_ctrl *ctrl = &req->queue->ctrl->ctrl; in nvme_tcp_timeout()
2439 static int nvme_tcp_get_address(struct nvme_ctrl *ctrl, char *buf, int size) in nvme_tcp_get_address()
2516 static struct nvme_ctrl *nvme_tcp_create_ctrl(struct device *dev, in nvme_tcp_create_ctrl()