Lines Matching refs:nvme_rdma_ctrl
89 struct nvme_rdma_ctrl *ctrl;
103 struct nvme_rdma_ctrl { struct
130 static inline struct nvme_rdma_ctrl *to_rdma_ctrl(struct nvme_ctrl *ctrl) in to_rdma_ctrl() argument
132 return container_of(ctrl, struct nvme_rdma_ctrl, ctrl); in to_rdma_ctrl()
297 struct nvme_rdma_ctrl *ctrl = to_rdma_ctrl(set->driver_data); in nvme_rdma_init_request()
322 struct nvme_rdma_ctrl *ctrl = to_rdma_ctrl(data); in nvme_rdma_init_hctx()
334 struct nvme_rdma_ctrl *ctrl = to_rdma_ctrl(data); in nvme_rdma_init_admin_hctx()
569 static int nvme_rdma_alloc_queue(struct nvme_rdma_ctrl *ctrl, in nvme_rdma_alloc_queue()
660 static void nvme_rdma_free_io_queues(struct nvme_rdma_ctrl *ctrl) in nvme_rdma_free_io_queues()
668 static void nvme_rdma_stop_io_queues(struct nvme_rdma_ctrl *ctrl) in nvme_rdma_stop_io_queues()
676 static int nvme_rdma_start_queue(struct nvme_rdma_ctrl *ctrl, int idx) in nvme_rdma_start_queue()
697 static int nvme_rdma_start_io_queues(struct nvme_rdma_ctrl *ctrl, in nvme_rdma_start_io_queues()
716 static int nvme_rdma_alloc_io_queues(struct nvme_rdma_ctrl *ctrl) in nvme_rdma_alloc_io_queues()
769 static void nvme_rdma_destroy_admin_queue(struct nvme_rdma_ctrl *ctrl) in nvme_rdma_destroy_admin_queue()
780 static int nvme_rdma_configure_admin_queue(struct nvme_rdma_ctrl *ctrl, in nvme_rdma_configure_admin_queue()
864 static int nvme_rdma_configure_io_queues(struct nvme_rdma_ctrl *ctrl, bool new) in nvme_rdma_configure_io_queues()
930 static void nvme_rdma_teardown_admin_queue(struct nvme_rdma_ctrl *ctrl, in nvme_rdma_teardown_admin_queue()
944 static void nvme_rdma_teardown_io_queues(struct nvme_rdma_ctrl *ctrl, in nvme_rdma_teardown_io_queues()
962 struct nvme_rdma_ctrl *ctrl = to_rdma_ctrl(nctrl); in nvme_rdma_stop_ctrl()
970 struct nvme_rdma_ctrl *ctrl = to_rdma_ctrl(nctrl); in nvme_rdma_free_ctrl()
985 static void nvme_rdma_reconnect_or_remove(struct nvme_rdma_ctrl *ctrl, in nvme_rdma_reconnect_or_remove()
1006 static int nvme_rdma_setup_ctrl(struct nvme_rdma_ctrl *ctrl, bool new) in nvme_rdma_setup_ctrl()
1100 struct nvme_rdma_ctrl *ctrl = container_of(to_delayed_work(work), in nvme_rdma_reconnect_ctrl_work()
1101 struct nvme_rdma_ctrl, reconnect_work); in nvme_rdma_reconnect_ctrl_work()
1125 struct nvme_rdma_ctrl *ctrl = container_of(work, in nvme_rdma_error_recovery_work()
1126 struct nvme_rdma_ctrl, err_work); in nvme_rdma_error_recovery_work()
1148 static void nvme_rdma_error_recovery(struct nvme_rdma_ctrl *ctrl) in nvme_rdma_error_recovery()
1171 struct nvme_rdma_ctrl *ctrl = queue->ctrl; in nvme_rdma_wr_error()
1665 struct nvme_rdma_ctrl *ctrl = to_rdma_ctrl(arg); in nvme_rdma_submit_async_event()
1840 struct nvme_rdma_ctrl *ctrl = queue->ctrl; in nvme_rdma_route_resolved()
1957 struct nvme_rdma_ctrl *ctrl = queue->ctrl; in nvme_rdma_timeout()
2128 struct nvme_rdma_ctrl *ctrl = to_rdma_ctrl(set->driver_data); in nvme_rdma_map_queues()
2153 static void nvme_rdma_shutdown_ctrl(struct nvme_rdma_ctrl *ctrl, bool shutdown) in nvme_rdma_shutdown_ctrl()
2168 struct nvme_rdma_ctrl *ctrl = in nvme_rdma_reset_ctrl_work()
2169 container_of(work, struct nvme_rdma_ctrl, ctrl.reset_work); in nvme_rdma_reset_ctrl_work()
2222 struct nvme_rdma_ctrl *ctrl; in nvme_rdma_existing_controller()
2236 static struct nvme_rdma_ctrl *nvme_rdma_alloc_ctrl(struct device *dev, in nvme_rdma_alloc_ctrl()
2239 struct nvme_rdma_ctrl *ctrl; in nvme_rdma_alloc_ctrl()
2314 struct nvme_rdma_ctrl *ctrl; in nvme_rdma_create_ctrl()
2364 struct nvme_rdma_ctrl *ctrl; in nvme_rdma_remove_one()
2418 struct nvme_rdma_ctrl *ctrl; in nvme_rdma_cleanup_module()