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.h117 struct nvmet_subsys *subsys;
258 struct nvmet_subsys *subsys;
322 struct nvmet_subsys { struct
374 static inline struct nvmet_subsys *to_subsys(struct config_item *item) in to_subsys() argument
376 return container_of(to_config_group(item), struct nvmet_subsys, group); in to_subsys()
379 static inline struct nvmet_subsys *namespaces_to_subsys( in namespaces_to_subsys()
382 return container_of(to_config_group(item), struct nvmet_subsys, in namespaces_to_subsys()
413 struct nvmet_subsys *subsys;
634 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
636 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);
23 static inline int nvmet_debugfs_subsys_setup(struct nvmet_subsys *subsys) in nvmet_debugfs_subsys_setup()
27 static inline void nvmet_debugfs_subsys_free(struct nvmet_subsys *subsys){} in nvmet_debugfs_subsys_free()
H A Dconfigfs.c534 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_path_store()
618 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_uuid_store()
646 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_nguid_store()
865 struct nvmet_subsys *subsys = namespaces_to_subsys(&group->cg_item); in nvmet_ns_make()
907 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_device_path_show()
915 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_device_path_store()
948 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_enable_show()
956 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_enable_store()
981 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_admin_timeout_store()
1000 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()
586 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_enable()
651 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_disable()
692 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_free()
713 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid) in nvmet_ns_alloc()
[all …]
H A Dpassthru.c587 int nvmet_passthru_ctrl_enable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_enable()
649 static void __nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) in __nvmet_passthru_ctrl_disable()
660 void nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_disable()
667 void nvmet_passthru_subsys_free(struct nvmet_subsys *subsys) in nvmet_passthru_subsys_free()
H A Ddebugfs.c298 int nvmet_debugfs_subsys_setup(struct nvmet_subsys *subsys) in nvmet_debugfs_subsys_setup()
311 void nvmet_debugfs_subsys_free(struct nvmet_subsys *subsys) in nvmet_debugfs_subsys_free()
H A Dpr.c163 struct nvmet_subsys *subsys = ns->subsys; in nvmet_pr_resv_released()
187 struct nvmet_subsys *subsys = ns->subsys; in nvmet_pr_send_event_to_host()
1069 struct nvmet_subsys *subsys = ctrl->subsys; in nvmet_ctrl_init_pr()
1129 struct nvmet_subsys *subsys = ns->subsys; in nvmet_pr_init_ns()
H A Dadmin-cmd.c653 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()
1396 struct nvmet_subsys *subsys = nvmet_req_subsys(req); in nvmet_get_feat_write_protect()