Home
last modified time | relevance | path

Searched refs:nvmet_ctrl (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/nvme/target/
H A Dnvmet.h149 struct nvmet_ctrl *ctrl;
156 struct nvmet_ctrl *ctrl;
257 struct nvmet_ctrl { struct
427 void (*delete_ctrl)(struct nvmet_ctrl *ctrl);
430 ssize_t (*host_traddr)(struct nvmet_ctrl *ctrl,
434 u8 (*get_mdts)(const struct nvmet_ctrl *ctrl);
435 u16 (*get_max_queue_size)(const struct nvmet_ctrl *ctrl);
438 u16 (*create_sq)(struct nvmet_ctrl *ctrl, u16 sqid, u16 cqid, u16 flags,
440 u16 (*delete_sq)(struct nvmet_ctrl *ctrl, u16 sqid);
441 u16 (*create_cq)(struct nvmet_ctrl *ctrl, u16 cqid, u16 flags,
[all …]
H A Ddebugfs.h15 int nvmet_debugfs_ctrl_setup(struct nvmet_ctrl *ctrl);
16 void nvmet_debugfs_ctrl_free(struct nvmet_ctrl *ctrl);
29 static inline int nvmet_debugfs_ctrl_setup(struct nvmet_ctrl *ctrl) in nvmet_debugfs_ctrl_setup()
33 static inline void nvmet_debugfs_ctrl_free(struct nvmet_ctrl *ctrl) {} in nvmet_debugfs_ctrl_free()
H A Ddebugfs.c41 struct nvmet_ctrl *ctrl = m->private; in nvmet_ctrl_hostnqn_show()
50 struct nvmet_ctrl *ctrl = m->private; in nvmet_ctrl_kato_show()
59 struct nvmet_ctrl *ctrl = m->private; in nvmet_ctrl_port_show()
77 struct nvmet_ctrl *ctrl = m->private; in nvmet_ctrl_state_show()
103 struct nvmet_ctrl *ctrl = m->private; in nvmet_ctrl_state_write()
120 struct nvmet_ctrl *ctrl = m->private; in nvmet_ctrl_host_traddr_show()
138 struct nvmet_ctrl *ctrl = m->private; in nvmet_ctrl_tls_key_show()
148 struct nvmet_ctrl *ctrl = m->private; in nvmet_ctrl_tls_concat_show()
259 int nvmet_debugfs_ctrl_setup(struct nvmet_ctrl *ctrl) in nvmet_debugfs_ctrl_setup()
293 void nvmet_debugfs_ctrl_free(struct nvmet_ctrl *ctrl) in nvmet_debugfs_ctrl_free()
H A Dcore.c137 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()
[all …]
H A Dadmin-cmd.c17 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_delete_sq()
43 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_create_sq()
85 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_delete_cq()
112 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_create_cq()
177 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_get_log_page_error()
265 struct nvmet_ctrl *ctrl; in nvmet_get_smart_log_all()
362 static void nvmet_get_cmd_effects_admin(struct nvmet_ctrl *ctrl, in nvmet_get_cmd_effects_admin()
410 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_get_log_cmd_effects_ns()
448 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_get_log_changed_ns()
473 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_format_ana_group()
[all …]
H A Dfabrics-cmd.c40 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_prop_get()
172 static u16 nvmet_install_queue(struct nvmet_ctrl *ctrl, struct nvmet_req *req) in nvmet_install_queue()
177 struct nvmet_ctrl *old; in nvmet_install_queue()
245 static u32 nvmet_connect_result(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq) in nvmet_connect_result()
271 struct nvmet_ctrl *ctrl = NULL; in nvmet_execute_admin_connect()
340 struct nvmet_ctrl *ctrl; in nvmet_execute_io_connect()
H A Dpr.c42 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_set_feat_resv_notif_mask()
136 static void nvmet_pr_add_resv_log(struct nvmet_ctrl *ctrl, u8 log_type, in nvmet_pr_add_resv_log()
164 struct nvmet_ctrl *ctrl; in nvmet_pr_resv_released()
188 struct nvmet_ctrl *ctrl; in nvmet_pr_send_event_to_host()
231 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_pr_register()
298 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_pr_unregister()
360 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_pr_replace()
563 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_pr_preempt()
679 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_pr_acquire()
792 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_pr_release()
[all …]
H A Dauth.c64 int nvmet_setup_dhgroup(struct nvmet_ctrl *ctrl, u8 dhgroup_id) in nvmet_setup_dhgroup()
133 u8 nvmet_setup_auth(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq, bool reset) in nvmet_setup_auth()
247 void nvmet_destroy_auth(struct nvmet_ctrl *ctrl) in nvmet_destroy_auth()
290 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_host_hash()
362 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_ctrl_hash()
430 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_ctrl_exponential()
455 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_ctrl_sesskey()
H A Dfabrics-cmd-auth.c36 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_negotiate()
146 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_reply()
252 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_auth_send()
427 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_challenge()
467 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_success1()
505 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_receive_data_len()
534 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_auth_receive()
H A Dpassthru.c23 void nvmet_passthrough_override_cap(struct nvmet_ctrl *ctrl) in nvmet_passthrough_override_cap()
35 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_passthru_override_id_descs()
91 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_passthru_override_id_ctrl()
H A Dpci-epf.c161 struct nvmet_ctrl *tctrl;
1238 static u8 nvmet_pci_epf_get_mdts(const struct nvmet_ctrl *tctrl) in nvmet_pci_epf_get_mdts()
1246 static u16 nvmet_pci_epf_create_cq(struct nvmet_ctrl *tctrl, in nvmet_pci_epf_create_cq()
1329 static u16 nvmet_pci_epf_delete_cq(struct nvmet_ctrl *tctrl, u16 cqid) in nvmet_pci_epf_delete_cq()
1347 static u16 nvmet_pci_epf_create_sq(struct nvmet_ctrl *tctrl, in nvmet_pci_epf_create_sq()
1400 static u16 nvmet_pci_epf_delete_sq(struct nvmet_ctrl *tctrl, u16 sqid) in nvmet_pci_epf_delete_sq()
1419 static u16 nvmet_pci_epf_get_feat(const struct nvmet_ctrl *tctrl, in nvmet_pci_epf_get_feat()
1462 static u16 nvmet_pci_epf_set_feat(const struct nvmet_ctrl *tctrl, in nvmet_pci_epf_set_feat()
1817 struct nvmet_ctrl *tctrl = ctrl->tctrl; in nvmet_pci_epf_clear_ctrl_config()
1973 struct nvmet_ctrl *tctrl = ctrl->tctrl; in nvmet_pci_epf_init_bar()
H A Dtrace.h137 TP_PROTO(struct nvmet_ctrl *ctrl, __le32 result),
H A Drdma.c1851 static void nvmet_rdma_delete_ctrl(struct nvmet_ctrl *ctrl) in nvmet_rdma_delete_ctrl()
2047 static ssize_t nvmet_rdma_host_port_addr(struct nvmet_ctrl *ctrl, in nvmet_rdma_host_port_addr()
2058 static u8 nvmet_rdma_get_mdts(const struct nvmet_ctrl *ctrl) in nvmet_rdma_get_mdts()
2065 static u16 nvmet_rdma_get_max_queue_size(const struct nvmet_ctrl *ctrl) in nvmet_rdma_get_max_queue_size()
H A Dtcp.c2187 static void nvmet_tcp_delete_ctrl(struct nvmet_ctrl *ctrl) in nvmet_tcp_delete_ctrl()
2243 static ssize_t nvmet_tcp_host_port_addr(struct nvmet_ctrl *ctrl, in nvmet_tcp_host_port_addr()
H A Dfc.c1550 nvmet_fc_delete_ctrl(struct nvmet_ctrl *ctrl) in nvmet_fc_delete_ctrl()
2960 nvmet_fc_host_traddr(struct nvmet_ctrl *ctrl, in nvmet_fc_host_traddr()
H A Dconfigfs.c1679 struct nvmet_ctrl *ctrl; in nvmet_subsys_attr_qid_max_store()