Lines Matching refs:nvme_loop_ctrl
29 struct nvme_loop_ctrl { struct
42 static inline struct nvme_loop_ctrl *to_loop_ctrl(struct nvme_ctrl *ctrl) in to_loop_ctrl() argument
44 return container_of(ctrl, struct nvme_loop_ctrl, ctrl); in to_loop_ctrl()
54 struct nvme_loop_ctrl *ctrl;
175 struct nvme_loop_ctrl *ctrl = to_loop_ctrl(arg); in nvme_loop_submit_async_event()
193 static int nvme_loop_init_iod(struct nvme_loop_ctrl *ctrl, in nvme_loop_init_iod()
207 struct nvme_loop_ctrl *ctrl = to_loop_ctrl(set->driver_data); in nvme_loop_init_request()
221 struct nvme_loop_ctrl *ctrl = to_loop_ctrl(data); in nvme_loop_init_hctx()
241 struct nvme_loop_ctrl *ctrl = to_loop_ctrl(data); in nvme_loop_init_admin_hctx()
264 static void nvme_loop_destroy_admin_queue(struct nvme_loop_ctrl *ctrl) in nvme_loop_destroy_admin_queue()
281 struct nvme_loop_ctrl *ctrl = to_loop_ctrl(nctrl); in nvme_loop_free_ctrl()
298 static void nvme_loop_destroy_io_queues(struct nvme_loop_ctrl *ctrl) in nvme_loop_destroy_io_queues()
315 static int nvme_loop_init_io_queues(struct nvme_loop_ctrl *ctrl) in nvme_loop_init_io_queues()
344 static int nvme_loop_connect_io_queues(struct nvme_loop_ctrl *ctrl) in nvme_loop_connect_io_queues()
358 static int nvme_loop_configure_admin_queue(struct nvme_loop_ctrl *ctrl) in nvme_loop_configure_admin_queue()
407 static void nvme_loop_shutdown_ctrl(struct nvme_loop_ctrl *ctrl) in nvme_loop_shutdown_ctrl()
430 struct nvme_loop_ctrl *ctrl; in nvme_loop_delete_ctrl()
442 struct nvme_loop_ctrl *ctrl = in nvme_loop_reset_ctrl_work()
443 container_of(work, struct nvme_loop_ctrl, ctrl.reset_work); in nvme_loop_reset_ctrl_work()
501 static int nvme_loop_create_io_queues(struct nvme_loop_ctrl *ctrl) in nvme_loop_create_io_queues()
549 struct nvme_loop_ctrl *ctrl; in nvme_loop_create_ctrl()
684 struct nvme_loop_ctrl *ctrl, *next; in nvme_loop_cleanup_module()