Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/nvme/target/
Dnvmet.h70 struct nvmet_subsys *subsys;
166 struct nvmet_subsys *subsys;
216 struct nvmet_subsys { struct
254 static inline struct nvmet_subsys *to_subsys(struct config_item *item) in to_subsys() argument
256 return container_of(to_config_group(item), struct nvmet_subsys, group); in to_subsys()
259 static inline struct nvmet_subsys *namespaces_to_subsys( in namespaces_to_subsys()
262 return container_of(to_config_group(item), struct nvmet_subsys, in namespaces_to_subsys()
287 struct nvmet_subsys *subsys;
438 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
440 void nvmet_subsys_put(struct nvmet_subsys *subsys);
[all …]
Dconfigfs.c341 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_path_store()
422 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_uuid_store()
450 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_nguid_store()
632 struct nvmet_subsys *subsys = namespaces_to_subsys(&group->cg_item); in nvmet_ns_make()
674 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_device_path_show()
682 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_device_path_store()
715 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_enable_show()
723 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_enable_store()
750 static void nvmet_add_passthru_group(struct nvmet_subsys *subsys) in nvmet_add_passthru_group()
760 static void nvmet_add_passthru_group(struct nvmet_subsys *subsys) in nvmet_add_passthru_group()
[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()
235 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid) in nvmet_ns_changed()
251 void nvmet_send_ana_event(struct nvmet_subsys *subsys, in nvmet_send_ana_event()
301 void nvmet_port_del_ctrls(struct nvmet_port *port, struct nvmet_subsys *subsys) in nvmet_port_del_ctrls()
547 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_enable()
613 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_disable()
664 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid) in nvmet_ns_alloc()
1191 struct nvmet_subsys *subsys; in nvmet_ctrl_find_get()
1245 bool nvmet_host_allowed(struct nvmet_subsys *subsys, const char *hostnqn) in nvmet_host_allowed()
[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()
Dpassthru.c498 int nvmet_passthru_ctrl_enable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_enable()
560 static void __nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) in __nvmet_passthru_ctrl_disable()
571 void nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_disable()
578 void nvmet_passthru_subsys_free(struct nvmet_subsys *subsys) in nvmet_passthru_subsys_free()
Dadmin-cmd.c323 struct nvmet_subsys *subsys) in nvmet_id_set_model_number()
698 struct nvmet_subsys *subsys = req->sq->ctrl->subsys; in nvmet_set_feat_write_protect()
759 struct nvmet_subsys *subsys = req->sq->ctrl->subsys; in nvmet_execute_set_features()
803 struct nvmet_subsys *subsys = req->sq->ctrl->subsys; in nvmet_get_feat_write_protect()
834 struct nvmet_subsys *subsys = req->sq->ctrl->subsys; in nvmet_execute_get_features()