Lines Matching refs:nvmet_ctrl
88 static void nvmet_async_events_free(struct nvmet_ctrl *ctrl) in nvmet_async_events_free()
107 struct nvmet_ctrl *ctrl = in nvmet_async_event_work()
108 container_of(work, struct nvmet_ctrl, async_event_work); in nvmet_async_event_work()
132 static void nvmet_add_async_event(struct nvmet_ctrl *ctrl, u8 event_type, in nvmet_add_async_event()
152 static bool nvmet_aen_disabled(struct nvmet_ctrl *ctrl, u32 aen) in nvmet_aen_disabled()
159 static void nvmet_add_to_changed_ns_log(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_add_to_changed_ns_log()
185 struct nvmet_ctrl *ctrl; in nvmet_ns_changed()
200 struct nvmet_ctrl *ctrl; in nvmet_send_ana_event()
299 struct nvmet_ctrl *ctrl = container_of(to_delayed_work(work), in nvmet_keep_alive_timer()
300 struct nvmet_ctrl, ka_work); in nvmet_keep_alive_timer()
308 static void nvmet_start_keep_alive_timer(struct nvmet_ctrl *ctrl) in nvmet_start_keep_alive_timer()
317 static void nvmet_stop_keep_alive_timer(struct nvmet_ctrl *ctrl) in nvmet_stop_keep_alive_timer()
324 static struct nvmet_ns *__nvmet_find_namespace(struct nvmet_ctrl *ctrl, in __nvmet_find_namespace()
337 struct nvmet_ns *nvmet_find_namespace(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_find_namespace()
529 void nvmet_cq_setup(struct nvmet_ctrl *ctrl, struct nvmet_cq *cq, in nvmet_cq_setup()
538 void nvmet_sq_setup(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq, in nvmet_sq_setup()
763 static void nvmet_start_ctrl(struct nvmet_ctrl *ctrl) in nvmet_start_ctrl()
787 static void nvmet_clear_ctrl(struct nvmet_ctrl *ctrl) in nvmet_clear_ctrl()
796 void nvmet_update_cc(struct nvmet_ctrl *ctrl, u32 new) in nvmet_update_cc()
817 static void nvmet_init_cap(struct nvmet_ctrl *ctrl) in nvmet_init_cap()
828 struct nvmet_req *req, struct nvmet_ctrl **ret) in nvmet_ctrl_find_get()
831 struct nvmet_ctrl *ctrl; in nvmet_ctrl_find_get()
925 struct nvmet_req *req, u32 kato, struct nvmet_ctrl **ctrlp) in nvmet_alloc_ctrl()
928 struct nvmet_ctrl *ctrl; in nvmet_alloc_ctrl()
1052 struct nvmet_ctrl *ctrl = container_of(ref, struct nvmet_ctrl, ref); in nvmet_ctrl_free()
1074 void nvmet_ctrl_put(struct nvmet_ctrl *ctrl) in nvmet_ctrl_put()
1081 struct nvmet_ctrl *ctrl = in nvmet_fatal_error_handler()
1082 container_of(work, struct nvmet_ctrl, fatal_err_work); in nvmet_fatal_error_handler()
1088 void nvmet_ctrl_fatal_error(struct nvmet_ctrl *ctrl) in nvmet_ctrl_fatal_error()
1185 struct nvmet_ctrl *ctrl; in nvmet_subsys_del_ctrls()