Lines Matching refs:nvmet_ctrl

132 static void nvmet_async_events_free(struct nvmet_ctrl *ctrl)  in nvmet_async_events_free()
151 struct nvmet_ctrl *ctrl = in nvmet_async_event_work()
152 container_of(work, struct nvmet_ctrl, async_event_work); in nvmet_async_event_work()
176 void nvmet_add_async_event(struct nvmet_ctrl *ctrl, u8 event_type, in nvmet_add_async_event()
196 static void nvmet_add_to_changed_ns_log(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_add_to_changed_ns_log()
222 struct nvmet_ctrl *ctrl; in nvmet_ns_changed()
239 struct nvmet_ctrl *ctrl; in nvmet_send_ana_event()
288 struct nvmet_ctrl *ctrl; in nvmet_port_del_ctrls()
352 struct nvmet_ctrl *ctrl = container_of(to_delayed_work(work), in nvmet_keep_alive_timer()
353 struct nvmet_ctrl, ka_work); in nvmet_keep_alive_timer()
370 static void nvmet_start_keep_alive_timer(struct nvmet_ctrl *ctrl) in nvmet_start_keep_alive_timer()
379 static void nvmet_stop_keep_alive_timer(struct nvmet_ctrl *ctrl) in nvmet_stop_keep_alive_timer()
386 static struct nvmet_ns *__nvmet_find_namespace(struct nvmet_ctrl *ctrl, in __nvmet_find_namespace()
399 struct nvmet_ns *nvmet_find_namespace(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_find_namespace()
477 static void nvmet_p2pmem_ns_add_p2p(struct nvmet_ctrl *ctrl, in nvmet_p2pmem_ns_add_p2p()
516 struct nvmet_ctrl *ctrl; in nvmet_ns_enable()
585 struct nvmet_ctrl *ctrl; in nvmet_ns_disable()
676 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_set_error()
727 void nvmet_cq_setup(struct nvmet_ctrl *ctrl, struct nvmet_cq *cq, in nvmet_cq_setup()
736 void nvmet_sq_setup(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq, in nvmet_sq_setup()
1023 static void nvmet_start_ctrl(struct nvmet_ctrl *ctrl) in nvmet_start_ctrl()
1047 static void nvmet_clear_ctrl(struct nvmet_ctrl *ctrl) in nvmet_clear_ctrl()
1056 void nvmet_update_cc(struct nvmet_ctrl *ctrl, u32 new) in nvmet_update_cc()
1077 static void nvmet_init_cap(struct nvmet_ctrl *ctrl) in nvmet_init_cap()
1088 struct nvmet_req *req, struct nvmet_ctrl **ret) in nvmet_ctrl_find_get()
1091 struct nvmet_ctrl *ctrl; in nvmet_ctrl_find_get()
1167 static void nvmet_setup_p2p_ns_map(struct nvmet_ctrl *ctrl, in nvmet_setup_p2p_ns_map()
1184 static void nvmet_release_p2p_ns_map(struct nvmet_ctrl *ctrl) in nvmet_release_p2p_ns_map()
1197 struct nvmet_ctrl *ctrl = in nvmet_fatal_error_handler()
1198 container_of(work, struct nvmet_ctrl, fatal_err_work); in nvmet_fatal_error_handler()
1205 struct nvmet_req *req, u32 kato, struct nvmet_ctrl **ctrlp) in nvmet_alloc_ctrl()
1208 struct nvmet_ctrl *ctrl; in nvmet_alloc_ctrl()
1322 struct nvmet_ctrl *ctrl = container_of(ref, struct nvmet_ctrl, ref); in nvmet_ctrl_free()
1345 void nvmet_ctrl_put(struct nvmet_ctrl *ctrl) in nvmet_ctrl_put()
1350 void nvmet_ctrl_fatal_error(struct nvmet_ctrl *ctrl) in nvmet_ctrl_fatal_error()
1445 struct nvmet_ctrl *ctrl; in nvmet_subsys_del_ctrls()