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;
244 struct nvmet_ctrl { struct
409 void (*delete_ctrl)(struct nvmet_ctrl *ctrl);
412 ssize_t (*host_traddr)(struct nvmet_ctrl *ctrl,
416 u8 (*get_mdts)(const struct nvmet_ctrl *ctrl);
417 u16 (*get_max_queue_size)(const struct nvmet_ctrl *ctrl);
420 u16 (*create_sq)(struct nvmet_ctrl *ctrl, u16 sqid, u16 flags,
422 u16 (*delete_sq)(struct nvmet_ctrl *ctrl, u16 sqid);
423 u16 (*create_cq)(struct nvmet_ctrl *ctrl, u16 cqid, u16 flags,
425 u16 (*delete_cq)(struct nvmet_ctrl *ctrl, u16 cqid);
[all …]
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()
135 int nvmet_debugfs_ctrl_setup(struct nvmet_ctrl *ctrl) in nvmet_debugfs_ctrl_setup()
163 void nvmet_debugfs_ctrl_free(struct nvmet_ctrl *ctrl) in nvmet_debugfs_ctrl_free()
H A Ddebugfs.h15 int nvmet_debugfs_ctrl_setup(struct nvmet_ctrl *ctrl);
16 void nvmet_debugfs_ctrl_free(struct nvmet_ctrl *ctrl);
27 static inline int nvmet_debugfs_ctrl_setup(struct nvmet_ctrl *ctrl) in nvmet_debugfs_ctrl_setup()
31 static inline void nvmet_debugfs_ctrl_free(struct nvmet_ctrl *ctrl) {} in nvmet_debugfs_ctrl_free()
H A Dcore.c141 static void nvmet_async_events_failall(struct nvmet_ctrl *ctrl) in nvmet_async_events_failall()
155 static void nvmet_async_events_process(struct nvmet_ctrl *ctrl) in nvmet_async_events_process()
178 static void nvmet_async_events_free(struct nvmet_ctrl *ctrl) in nvmet_async_events_free()
192 struct nvmet_ctrl *ctrl = in nvmet_async_event_work()
193 container_of(work, struct nvmet_ctrl, async_event_work); in nvmet_async_event_work()
198 void nvmet_add_async_event(struct nvmet_ctrl *ctrl, u8 event_type, in nvmet_add_async_event()
218 static void nvmet_add_to_changed_ns_log(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_add_to_changed_ns_log()
244 struct nvmet_ctrl *ctrl; in nvmet_ns_changed()
261 struct nvmet_ctrl *ctrl; in nvmet_send_ana_event()
310 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()
90 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_delete_cq()
116 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_create_cq()
186 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_get_log_page_error()
274 struct nvmet_ctrl *ctrl; in nvmet_get_smart_log_all()
369 static void nvmet_get_cmd_effects_admin(struct nvmet_ctrl *ctrl, in nvmet_get_cmd_effects_admin()
417 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_get_log_cmd_effects_ns()
455 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_get_log_changed_ns()
480 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()
237 static u32 nvmet_connect_result(struct nvmet_ctrl *ctrl) in nvmet_connect_result()
247 struct nvmet_ctrl *ctrl = NULL; in nvmet_execute_admin_connect()
315 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()
132 static void nvmet_pr_add_resv_log(struct nvmet_ctrl *ctrl, u8 log_type, in nvmet_pr_add_resv_log()
160 struct nvmet_ctrl *ctrl; in nvmet_pr_resv_released()
184 struct nvmet_ctrl *ctrl; in nvmet_pr_send_event_to_host()
227 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_pr_register()
294 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_pr_unregister()
356 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_pr_replace()
536 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_pr_preempt()
652 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_pr_acquire()
765 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_pr_release()
[all …]
H A Dauth.c73 int nvmet_setup_dhgroup(struct nvmet_ctrl *ctrl, u8 dhgroup_id) in nvmet_setup_dhgroup()
142 u8 nvmet_setup_auth(struct nvmet_ctrl *ctrl) in nvmet_setup_auth()
244 void nvmet_destroy_auth(struct nvmet_ctrl *ctrl) in nvmet_destroy_auth()
279 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_host_hash()
393 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_ctrl_hash()
502 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_ctrl_exponential()
525 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_ctrl_sesskey()
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()
82 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_passthru_override_id_ctrl()
H A Dpci-epf.c162 struct nvmet_ctrl *tctrl;
1253 static u8 nvmet_pci_epf_get_mdts(const struct nvmet_ctrl *tctrl) in nvmet_pci_epf_get_mdts()
1261 static u16 nvmet_pci_epf_create_cq(struct nvmet_ctrl *tctrl, in nvmet_pci_epf_create_cq()
1314 static u16 nvmet_pci_epf_delete_cq(struct nvmet_ctrl *tctrl, u16 cqid) in nvmet_pci_epf_delete_cq()
1329 static u16 nvmet_pci_epf_create_sq(struct nvmet_ctrl *tctrl, in nvmet_pci_epf_create_sq()
1380 static u16 nvmet_pci_epf_delete_sq(struct nvmet_ctrl *tctrl, u16 sqid) in nvmet_pci_epf_delete_sq()
1400 static u16 nvmet_pci_epf_get_feat(const struct nvmet_ctrl *tctrl, in nvmet_pci_epf_get_feat()
1443 static u16 nvmet_pci_epf_set_feat(const struct nvmet_ctrl *tctrl, in nvmet_pci_epf_set_feat()
1955 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 Dloop.c65 static void nvme_loop_delete_ctrl(struct nvmet_ctrl *ctrl);
428 static void nvme_loop_delete_ctrl(struct nvmet_ctrl *nctrl) in nvme_loop_delete_ctrl()
H A Drdma.c1818 static void nvmet_rdma_delete_ctrl(struct nvmet_ctrl *ctrl) in nvmet_rdma_delete_ctrl()
2014 static ssize_t nvmet_rdma_host_port_addr(struct nvmet_ctrl *ctrl, in nvmet_rdma_host_port_addr()
2025 static u8 nvmet_rdma_get_mdts(const struct nvmet_ctrl *ctrl) in nvmet_rdma_get_mdts()
2032 static u16 nvmet_rdma_get_max_queue_size(const struct nvmet_ctrl *ctrl) in nvmet_rdma_get_max_queue_size()
H A Dtcp.c2123 static void nvmet_tcp_delete_ctrl(struct nvmet_ctrl *ctrl) in nvmet_tcp_delete_ctrl()
2179 static ssize_t nvmet_tcp_host_port_addr(struct nvmet_ctrl *ctrl, in nvmet_tcp_host_port_addr()
H A Dfc.c1582 nvmet_fc_delete_ctrl(struct nvmet_ctrl *ctrl) in nvmet_fc_delete_ctrl()
2938 nvmet_fc_host_traddr(struct nvmet_ctrl *ctrl, in nvmet_fc_host_traddr()
H A Dconfigfs.c1649 struct nvmet_ctrl *ctrl; in nvmet_subsys_attr_qid_max_store()