Lines Matching refs:nvmet_ctrl
133 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()
186 container_of(work, struct nvmet_ctrl, async_event_work); in nvmet_async_event_work()
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()
254 struct nvmet_ctrl *ctrl; in nvmet_send_ana_event()
303 struct nvmet_ctrl *ctrl; in nvmet_port_del_ctrls()
380 struct nvmet_ctrl *ctrl = container_of(to_delayed_work(work), in nvmet_keep_alive_timer()
381 struct nvmet_ctrl, ka_work); in nvmet_keep_alive_timer()
398 void nvmet_start_keep_alive_timer(struct nvmet_ctrl *ctrl) in nvmet_start_keep_alive_timer()
410 void nvmet_stop_keep_alive_timer(struct nvmet_ctrl *ctrl) in nvmet_stop_keep_alive_timer()
420 struct nvmet_ns *nvmet_find_namespace(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_find_namespace()
496 static void nvmet_p2pmem_ns_add_p2p(struct nvmet_ctrl *ctrl, in nvmet_p2pmem_ns_add_p2p()
548 struct nvmet_ctrl *ctrl; in nvmet_ns_enable()
614 struct nvmet_ctrl *ctrl; in nvmet_ns_disable()
704 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_set_error()
759 void nvmet_cq_setup(struct nvmet_ctrl *ctrl, struct nvmet_cq *cq, in nvmet_cq_setup()
766 void nvmet_sq_setup(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq, in nvmet_sq_setup()
785 struct nvmet_ctrl *ctrl = sq->ctrl; in nvmet_sq_destroy()
1116 static void nvmet_start_ctrl(struct nvmet_ctrl *ctrl) in nvmet_start_ctrl()
1152 static void nvmet_clear_ctrl(struct nvmet_ctrl *ctrl) in nvmet_clear_ctrl()
1161 void nvmet_update_cc(struct nvmet_ctrl *ctrl, u32 new) in nvmet_update_cc()
1182 static void nvmet_init_cap(struct nvmet_ctrl *ctrl) in nvmet_init_cap()
1192 struct nvmet_ctrl *nvmet_ctrl_find_get(const char *subsysnqn, in nvmet_ctrl_find_get()
1196 struct nvmet_ctrl *ctrl = NULL; in nvmet_ctrl_find_get()
1273 static void nvmet_setup_p2p_ns_map(struct nvmet_ctrl *ctrl, in nvmet_setup_p2p_ns_map()
1291 static void nvmet_release_p2p_ns_map(struct nvmet_ctrl *ctrl) in nvmet_release_p2p_ns_map()
1304 struct nvmet_ctrl *ctrl = in nvmet_fatal_error_handler()
1305 container_of(work, struct nvmet_ctrl, fatal_err_work); in nvmet_fatal_error_handler()
1312 struct nvmet_req *req, u32 kato, struct nvmet_ctrl **ctrlp) in nvmet_alloc_ctrl()
1315 struct nvmet_ctrl *ctrl; in nvmet_alloc_ctrl()
1424 struct nvmet_ctrl *ctrl = container_of(ref, struct nvmet_ctrl, ref); in nvmet_ctrl_free()
1447 void nvmet_ctrl_put(struct nvmet_ctrl *ctrl) in nvmet_ctrl_put()
1452 void nvmet_ctrl_fatal_error(struct nvmet_ctrl *ctrl) in nvmet_ctrl_fatal_error()
1552 struct nvmet_ctrl *ctrl; in nvmet_subsys_del_ctrls()