Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/nvme/target/
Dnvmet.h67 struct nvmet_subsys *subsys;
160 struct nvmet_subsys *subsys;
205 struct nvmet_subsys { struct
232 static inline struct nvmet_subsys *to_subsys(struct config_item *item) in to_subsys() argument
234 return container_of(to_config_group(item), struct nvmet_subsys, group); in to_subsys()
237 static inline struct nvmet_subsys *namespaces_to_subsys( in namespaces_to_subsys()
240 return container_of(to_config_group(item), struct nvmet_subsys, in namespaces_to_subsys()
265 struct nvmet_subsys *subsys;
402 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
404 void nvmet_subsys_put(struct nvmet_subsys *subsys);
[all …]
Dcore.c85 static struct nvmet_subsys *nvmet_find_get_subsys(struct nvmet_port *port,
116 static unsigned int nvmet_max_nsid(struct nvmet_subsys *subsys) in nvmet_max_nsid()
220 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid) in nvmet_ns_changed()
236 void nvmet_send_ana_event(struct nvmet_subsys *subsys, in nvmet_send_ana_event()
286 void nvmet_port_del_ctrls(struct nvmet_port *port, struct nvmet_subsys *subsys) in nvmet_port_del_ctrls()
515 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_enable()
584 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_disable()
635 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid) in nvmet_ns_alloc()
1090 struct nvmet_subsys *subsys; in nvmet_ctrl_find_get()
1144 bool nvmet_host_allowed(struct nvmet_subsys *subsys, const char *hostnqn) in nvmet_host_allowed()
[all …]
Dconfigfs.c314 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_path_store()
395 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_uuid_store()
425 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_nguid_store()
581 struct nvmet_subsys *subsys = namespaces_to_subsys(&group->cg_item); in nvmet_ns_make()
622 struct nvmet_subsys *subsys; in nvmet_port_subsys_allow_link()
665 struct nvmet_subsys *subsys = to_subsys(target); in nvmet_port_subsys_drop_link()
700 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); in nvmet_allowed_hosts_allow_link()
742 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); in nvmet_allowed_hosts_drop_link()
782 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_allow_any_host_store()
811 struct nvmet_subsys *subsys = to_subsys(item); in nvmet_subsys_attr_version_show()
[all …]
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()
Dadmin-cmd.c598 struct nvmet_subsys *subsys = req->sq->ctrl->subsys; in nvmet_set_feat_write_protect()
657 struct nvmet_subsys *subsys = req->sq->ctrl->subsys; in nvmet_execute_set_features()
689 struct nvmet_subsys *subsys = req->sq->ctrl->subsys; in nvmet_get_feat_write_protect()
720 struct nvmet_subsys *subsys = req->sq->ctrl->subsys; in nvmet_execute_get_features()