Home
last modified time | relevance | path

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

/linux/drivers/nvme/target/
H A Dnvmet.h144 struct nvmet_ctrl *ctrl;
151 struct nvmet_ctrl *ctrl;
251 struct nvmet_ctrl { struct
420 void (*delete_ctrl)(struct nvmet_ctrl *ctrl);
423 ssize_t (*host_traddr)(struct nvmet_ctrl *ctrl,
427 u8 (*get_mdts)(const struct nvmet_ctrl *ctrl);
428 u16 (*get_max_queue_size)(const struct nvmet_ctrl *ctrl);
431 u16 (*create_sq)(struct nvmet_ctrl *ctrl, u16 sqid, u16 cqid, u16 flags,
433 u16 (*delete_sq)(struct nvmet_ctrl *ctrl, u16 sqid);
434 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);
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.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()
360 static void nvmet_get_cmd_effects_admin(struct nvmet_ctrl *ctrl, in nvmet_get_cmd_effects_admin()
408 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_get_log_cmd_effects_ns()
446 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_get_log_changed_ns()
471 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_format_ana_group()
[all …]
H A Ddiscovery.c16 struct nvmet_ctrl *ctrl) in __nvmet_disc_changed()
31 struct nvmet_ctrl *ctrl; in nvmet_port_disc_changed()
54 struct nvmet_ctrl *ctrl; in __nvmet_subsys_disc_changed()
146 struct nvmet_ctrl *ctrl = req->sq->ctrl; in discovery_log_entries()
164 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_disc_get_log_page()
253 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_disc_identify()
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()
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.c74 int nvmet_setup_dhgroup(struct nvmet_ctrl *ctrl, u8 dhgroup_id) in nvmet_setup_dhgroup()
143 u8 nvmet_setup_auth(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq) in nvmet_setup_auth()
253 void nvmet_destroy_auth(struct nvmet_ctrl *ctrl) in nvmet_destroy_auth()
297 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_host_hash()
404 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_ctrl_hash()
513 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_ctrl_exponential()
536 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()
139 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_reply()
236 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_auth_send()
410 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_challenge()
450 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_success1()
493 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()
82 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_passthru_override_id_ctrl()
H A Dpci-epf.c161 struct nvmet_ctrl *tctrl;
1258 static u8 nvmet_pci_epf_get_mdts(const struct nvmet_ctrl *tctrl) in nvmet_pci_epf_get_mdts()
1266 static u16 nvmet_pci_epf_create_cq(struct nvmet_ctrl *tctrl, in nvmet_pci_epf_create_cq()
1348 static u16 nvmet_pci_epf_delete_cq(struct nvmet_ctrl *tctrl, u16 cqid) in nvmet_pci_epf_delete_cq()
1366 static u16 nvmet_pci_epf_create_sq(struct nvmet_ctrl *tctrl, in nvmet_pci_epf_create_sq()
1419 static u16 nvmet_pci_epf_delete_sq(struct nvmet_ctrl *tctrl, u16 sqid) in nvmet_pci_epf_delete_sq()
1438 static u16 nvmet_pci_epf_get_feat(const struct nvmet_ctrl *tctrl, in nvmet_pci_epf_get_feat()
1481 static u16 nvmet_pci_epf_set_feat(const struct nvmet_ctrl *tctrl, in nvmet_pci_epf_set_feat()
1833 struct nvmet_ctrl *tctrl = ctrl->tctrl; in nvmet_pci_epf_clear_ctrl_config()
1989 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.c67 static void nvme_loop_delete_ctrl(struct nvmet_ctrl *ctrl);
439 static void nvme_loop_delete_ctrl(struct nvmet_ctrl *nctrl) in nvme_loop_delete_ctrl()
H A Drdma.c1819 static void nvmet_rdma_delete_ctrl(struct nvmet_ctrl *ctrl) in nvmet_rdma_delete_ctrl()
2015 static ssize_t nvmet_rdma_host_port_addr(struct nvmet_ctrl *ctrl, in nvmet_rdma_host_port_addr()
2026 static u8 nvmet_rdma_get_mdts(const struct nvmet_ctrl *ctrl) in nvmet_rdma_get_mdts()
2033 static u16 nvmet_rdma_get_max_queue_size(const struct nvmet_ctrl *ctrl) in nvmet_rdma_get_max_queue_size()
H A Dzns.c72 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_identify_ctrl_zns()
H A Dtcp.c2141 static void nvmet_tcp_delete_ctrl(struct nvmet_ctrl *ctrl) in nvmet_tcp_delete_ctrl()
2197 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.c1650 struct nvmet_ctrl *ctrl; in nvmet_subsys_attr_qid_max_store()