Lines Matching defs:ctrl

134 static void nvmet_async_events_failall(struct nvmet_ctrl *ctrl)  in nvmet_async_events_failall()
148 static void nvmet_async_events_process(struct nvmet_ctrl *ctrl) in nvmet_async_events_process()
171 static void nvmet_async_events_free(struct nvmet_ctrl *ctrl) in nvmet_async_events_free()
185 struct nvmet_ctrl *ctrl = in nvmet_async_event_work() local
191 void nvmet_add_async_event(struct nvmet_ctrl *ctrl, u8 event_type, in nvmet_add_async_event()
211 static void nvmet_add_to_changed_ns_log(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_add_to_changed_ns_log()
237 struct nvmet_ctrl *ctrl; in nvmet_ns_changed() local
254 struct nvmet_ctrl *ctrl; in nvmet_send_ana_event() local
303 struct nvmet_ctrl *ctrl; in nvmet_port_del_ctrls() local
395 struct nvmet_ctrl *ctrl = container_of(to_delayed_work(work), in nvmet_keep_alive_timer() local
413 void nvmet_start_keep_alive_timer(struct nvmet_ctrl *ctrl) in nvmet_start_keep_alive_timer()
424 void nvmet_stop_keep_alive_timer(struct nvmet_ctrl *ctrl) in nvmet_stop_keep_alive_timer()
519 static void nvmet_p2pmem_ns_add_p2p(struct nvmet_ctrl *ctrl, in nvmet_p2pmem_ns_add_p2p()
570 struct nvmet_ctrl *ctrl; in nvmet_ns_enable() local
627 struct nvmet_ctrl *ctrl; in nvmet_ns_disable() local
748 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_set_error() local
826 void nvmet_cq_setup(struct nvmet_ctrl *ctrl, struct nvmet_cq *cq, in nvmet_cq_setup()
837 struct nvmet_ctrl *ctrl = cq->ctrl; in nvmet_cq_destroy() local
846 void nvmet_sq_setup(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq, in nvmet_sq_setup()
863 u16 nvmet_check_cqid(struct nvmet_ctrl *ctrl, u16 cqid, bool create) in nvmet_check_cqid()
877 u16 nvmet_check_io_cqid(struct nvmet_ctrl *ctrl, u16 cqid, bool create) in nvmet_check_io_cqid()
890 u16 nvmet_cq_create(struct nvmet_ctrl *ctrl, struct nvmet_cq *cq, in nvmet_cq_create()
910 u16 nvmet_check_sqid(struct nvmet_ctrl *ctrl, u16 sqid, in nvmet_check_sqid()
926 u16 nvmet_sq_create(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq, in nvmet_sq_create()
958 struct nvmet_ctrl *ctrl = sq->ctrl; in nvmet_sq_destroy() local
1373 static void nvmet_start_ctrl(struct nvmet_ctrl *ctrl) in nvmet_start_ctrl()
1409 static void nvmet_clear_ctrl(struct nvmet_ctrl *ctrl) in nvmet_clear_ctrl()
1418 void nvmet_update_cc(struct nvmet_ctrl *ctrl, u32 new) in nvmet_update_cc()
1440 static void nvmet_init_cap(struct nvmet_ctrl *ctrl) in nvmet_init_cap()
1463 struct nvmet_ctrl *ctrl = NULL; in nvmet_ctrl_find_get() local
1545 static void nvmet_setup_p2p_ns_map(struct nvmet_ctrl *ctrl, in nvmet_setup_p2p_ns_map()
1563 static void nvmet_release_p2p_ns_map(struct nvmet_ctrl *ctrl) in nvmet_release_p2p_ns_map()
1576 struct nvmet_ctrl *ctrl = in nvmet_fatal_error_handler() local
1586 struct nvmet_ctrl *ctrl; in nvmet_alloc_ctrl() local
1739 struct nvmet_ctrl *ctrl = container_of(ref, struct nvmet_ctrl, ref); in nvmet_ctrl_free() local
1768 void nvmet_ctrl_put(struct nvmet_ctrl *ctrl) in nvmet_ctrl_put()
1774 void nvmet_ctrl_fatal_error(struct nvmet_ctrl *ctrl) in nvmet_ctrl_fatal_error()
1785 ssize_t nvmet_ctrl_host_traddr(struct nvmet_ctrl *ctrl, in nvmet_ctrl_host_traddr()
1924 struct nvmet_ctrl *ctrl; in nvmet_subsys_del_ctrls() local