Lines Matching refs:nvmet_ctrl
137 static void nvmet_async_events_failall(struct nvmet_ctrl *ctrl) in nvmet_async_events_failall()
151 static void nvmet_async_events_process(struct nvmet_ctrl *ctrl) in nvmet_async_events_process()
174 static void nvmet_async_events_free(struct nvmet_ctrl *ctrl) in nvmet_async_events_free()
188 struct nvmet_ctrl *ctrl = in nvmet_async_event_work()
189 container_of(work, struct nvmet_ctrl, async_event_work); in nvmet_async_event_work()
194 void nvmet_add_async_event(struct nvmet_ctrl *ctrl, u8 event_type, in nvmet_add_async_event()
214 static void nvmet_add_to_changed_ns_log(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_add_to_changed_ns_log()
240 struct nvmet_ctrl *ctrl; in nvmet_ns_changed()
257 struct nvmet_ctrl *ctrl; in nvmet_send_ana_event()
306 struct nvmet_ctrl *ctrl; in nvmet_port_del_ctrls()
383 struct nvmet_ctrl *ctrl = container_of(to_delayed_work(work), in nvmet_keep_alive_timer()
384 struct nvmet_ctrl, ka_work); in nvmet_keep_alive_timer()
401 void nvmet_start_keep_alive_timer(struct nvmet_ctrl *ctrl) in nvmet_start_keep_alive_timer()
412 void nvmet_stop_keep_alive_timer(struct nvmet_ctrl *ctrl) in nvmet_stop_keep_alive_timer()
501 static void nvmet_p2pmem_ns_add_p2p(struct nvmet_ctrl *ctrl, in nvmet_p2pmem_ns_add_p2p()
552 struct nvmet_ctrl *ctrl; in nvmet_ns_enable()
618 struct nvmet_ctrl *ctrl; in nvmet_ns_disable()
709 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_set_error()
762 void nvmet_cq_setup(struct nvmet_ctrl *ctrl, struct nvmet_cq *cq, in nvmet_cq_setup()
769 void nvmet_sq_setup(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq, in nvmet_sq_setup()
788 struct nvmet_ctrl *ctrl = sq->ctrl; in nvmet_sq_destroy()
1146 static void nvmet_start_ctrl(struct nvmet_ctrl *ctrl) in nvmet_start_ctrl()
1182 static void nvmet_clear_ctrl(struct nvmet_ctrl *ctrl) in nvmet_clear_ctrl()
1191 void nvmet_update_cc(struct nvmet_ctrl *ctrl, u32 new) in nvmet_update_cc()
1212 static void nvmet_init_cap(struct nvmet_ctrl *ctrl) in nvmet_init_cap()
1230 struct nvmet_ctrl *nvmet_ctrl_find_get(const char *subsysnqn, in nvmet_ctrl_find_get()
1234 struct nvmet_ctrl *ctrl = NULL; in nvmet_ctrl_find_get()
1316 static void nvmet_setup_p2p_ns_map(struct nvmet_ctrl *ctrl, in nvmet_setup_p2p_ns_map()
1334 static void nvmet_release_p2p_ns_map(struct nvmet_ctrl *ctrl) in nvmet_release_p2p_ns_map()
1347 struct nvmet_ctrl *ctrl = in nvmet_fatal_error_handler()
1348 container_of(work, struct nvmet_ctrl, fatal_err_work); in nvmet_fatal_error_handler()
1355 struct nvmet_req *req, u32 kato, struct nvmet_ctrl **ctrlp) in nvmet_alloc_ctrl()
1358 struct nvmet_ctrl *ctrl; in nvmet_alloc_ctrl()
1473 struct nvmet_ctrl *ctrl = container_of(ref, struct nvmet_ctrl, ref); in nvmet_ctrl_free()
1498 void nvmet_ctrl_put(struct nvmet_ctrl *ctrl) in nvmet_ctrl_put()
1503 void nvmet_ctrl_fatal_error(struct nvmet_ctrl *ctrl) in nvmet_ctrl_fatal_error()
1619 struct nvmet_ctrl *ctrl; in nvmet_subsys_del_ctrls()