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;
253 struct nvmet_subsys *subsys;
316 struct nvmet_subsys { struct
368 static inline struct nvmet_subsys *to_subsys(struct config_item *item) in to_subsys() argument
370 return container_of(to_config_group(item), struct nvmet_subsys, group); in to_subsys()
373 static inline struct nvmet_subsys *namespaces_to_subsys( in namespaces_to_subsys()
376 return container_of(to_config_group(item), struct nvmet_subsys, in namespaces_to_subsys()
407 struct nvmet_subsys *subsys;
628 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
630 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.c532 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_path_store()
613 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_uuid_store()
641 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_nguid_store()
860 struct nvmet_subsys *subsys = namespaces_to_subsys(&group->cg_item); in nvmet_ns_make()
902 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_device_path_show()
910 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_device_path_store()
943 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_enable_show()
951 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_enable_store()
976 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_admin_timeout_store()
995 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()
448 struct nvmet_subsys *subsys = nvmet_req_subsys(req); in nvmet_req_find_ns()
579 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_enable()
636 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_disable()
676 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_free()
697 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()
1193 struct nvmet_subsys *subsys = nvmet_req_subsys(req); in nvmet_set_feat_write_protect()
1338 struct nvmet_subsys *subsys = nvmet_req_subsys(req); in nvmet_execute_set_features()
1394 struct nvmet_subsys *subsys = nvmet_req_subsys(req); in nvmet_get_feat_write_protect()
1497 struct nvmet_subsys *subsys = nvmet_req_subsys(req); in nvmet_execute_get_features()