Home
last modified time | relevance | path

Searched refs:nvmet_subsys (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/nvme/target/
H A Dnvmet.h115 struct nvmet_subsys *subsys;
252 struct nvmet_subsys *subsys;
315 struct nvmet_subsys { struct
367 static inline struct nvmet_subsys *to_subsys(struct config_item *item) in to_subsys() argument
369 return container_of(to_config_group(item), struct nvmet_subsys, group); in to_subsys()
372 static inline struct nvmet_subsys *namespaces_to_subsys( in namespaces_to_subsys()
375 return container_of(to_config_group(item), struct nvmet_subsys, in namespaces_to_subsys()
406 struct nvmet_subsys *subsys;
625 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
627 void nvmet_subsys_put(struct nvmet_subsys *subsys);
[all …]
H A Ddebugfs.h13 int nvmet_debugfs_subsys_setup(struct nvmet_subsys *subsys);
14 void nvmet_debugfs_subsys_free(struct nvmet_subsys *subsys);
21 static inline int nvmet_debugfs_subsys_setup(struct nvmet_subsys *subsys) in nvmet_debugfs_subsys_setup()
25 static inline void nvmet_debugfs_subsys_free(struct nvmet_subsys *subsys){} in nvmet_debugfs_subsys_free()
H A Dconfigfs.c508 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_path_store()
589 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_uuid_store()
617 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_nguid_store()
836 struct nvmet_subsys *subsys = namespaces_to_subsys(&group->cg_item); in nvmet_ns_make()
878 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_device_path_show()
886 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_device_path_store()
919 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_enable_show()
927 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_enable_store()
952 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_admin_timeout_store()
971 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_io_timeout_store()
[all …]
H A Dcore.c89 static struct nvmet_subsys *nvmet_find_get_subsys(struct nvmet_port *port,
120 static u32 nvmet_max_nsid(struct nvmet_subsys *subsys) in nvmet_max_nsid()
238 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid) in nvmet_ns_changed()
254 void nvmet_send_ana_event(struct nvmet_subsys *subsys, in nvmet_send_ana_event()
304 void nvmet_port_del_ctrls(struct nvmet_port *port, struct nvmet_subsys *subsys) in nvmet_port_del_ctrls()
440 struct nvmet_subsys *subsys = nvmet_req_subsys(req); in nvmet_req_find_ns()
571 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_enable()
628 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_disable()
668 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_free()
689 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid) in nvmet_ns_alloc()
[all …]
H A Ddiscovery.c11 struct nvmet_subsys *nvmet_disc_subsys;
29 struct nvmet_subsys *subsys) in nvmet_port_disc_changed()
51 struct nvmet_subsys *subsys, in __nvmet_subsys_disc_changed()
66 void nvmet_subsys_disc_changed(struct nvmet_subsys *subsys, in nvmet_subsys_disc_changed()
H A Dpassthru.c578 int nvmet_passthru_ctrl_enable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_enable()
640 static void __nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) in __nvmet_passthru_ctrl_disable()
651 void nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_disable()
658 void nvmet_passthru_subsys_free(struct nvmet_subsys *subsys) in nvmet_passthru_subsys_free()
H A Dpr.c159 struct nvmet_subsys *subsys = ns->subsys; in nvmet_pr_resv_released()
183 struct nvmet_subsys *subsys = ns->subsys; in nvmet_pr_send_event_to_host()
1042 struct nvmet_subsys *subsys = ctrl->subsys; in nvmet_ctrl_init_pr()
1102 struct nvmet_subsys *subsys = ns->subsys; in nvmet_pr_init_ns()
H A Dadmin-cmd.c651 struct nvmet_subsys *subsys = ctrl->subsys; in nvmet_execute_identify_ctrl()
1195 struct nvmet_subsys *subsys = nvmet_req_subsys(req); in nvmet_set_feat_write_protect()
1340 struct nvmet_subsys *subsys = nvmet_req_subsys(req); in nvmet_execute_set_features()
1396 struct nvmet_subsys *subsys = nvmet_req_subsys(req); in nvmet_get_feat_write_protect()
1499 struct nvmet_subsys *subsys = nvmet_req_subsys(req); in nvmet_execute_get_features()