Home
last modified time | relevance | path

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

/linux/drivers/nvme/target/
H A Dnvmet.h144 struct nvmet_ctrl *ctrl;
151 struct nvmet_ctrl *ctrl;
252 struct nvmet_ctrl { struct
421 void (*delete_ctrl)(struct nvmet_ctrl *ctrl);
424 ssize_t (*host_traddr)(struct nvmet_ctrl *ctrl,
428 u8 (*get_mdts)(const struct nvmet_ctrl *ctrl);
429 u16 (*get_max_queue_size)(const struct nvmet_ctrl *ctrl);
432 u16 (*create_sq)(struct nvmet_ctrl *ctrl, u16 sqid, u16 cqid, u16 flags,
434 u16 (*delete_sq)(struct nvmet_ctrl *ctrl, u16 sqid);
435 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.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()
240 void nvmet_destroy_auth(struct nvmet_ctrl *ctrl) in nvmet_destroy_auth()
283 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_host_hash()
356 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_ctrl_hash()
424 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_ctrl_exponential()
447 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_ctrl_sesskey()
H A Dfabrics-cmd-auth.c35 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_negotiate()
137 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_reply()
234 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_auth_send()
409 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_challenge()
449 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_auth_success1()
492 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 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 Dtcp.c2152 static void nvmet_tcp_delete_ctrl(struct nvmet_ctrl *ctrl) in nvmet_tcp_delete_ctrl()
2208 static ssize_t nvmet_tcp_host_port_addr(struct nvmet_ctrl *ctrl, in nvmet_tcp_host_port_addr()
H A Dconfigfs.c1674 struct nvmet_ctrl *ctrl; in nvmet_subsys_attr_qid_max_store()