Home
last modified time | relevance | path

Searched refs:nvmet_subsys (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/drivers/nvme/target/
H A Dnvmet.h73 struct nvmet_subsys *subsys;
182 struct nvmet_subsys *subsys;
236 struct nvmet_subsys { struct
284 static inline struct nvmet_subsys *to_subsys(struct config_item *item) in to_subsys()
286 return container_of(to_config_group(item), struct nvmet_subsys, group); in to_subsys()
289 static inline struct nvmet_subsys *namespaces_to_subsys( in namespaces_to_subsys()
292 return container_of(to_config_group(item), struct nvmet_subsys, in namespaces_to_subsys()
323 struct nvmet_subsys *subsys;
489 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
491 void nvmet_subsys_put(struct nvmet_subsys *subsy
[all...]
H A Dconfigfs.c346 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_path_store()
427 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_uuid_store()
455 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_device_nguid_store()
639 struct nvmet_subsys *subsys = namespaces_to_subsys(&group->cg_item); in nvmet_ns_make()
681 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_device_path_show()
689 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_device_path_store()
722 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_enable_show()
730 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_enable_store()
755 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); in nvmet_passthru_admin_timeout_store()
774 struct nvmet_subsys *subsy in nvmet_passthru_io_timeout_store()
[all...]
H A Dcore.c92 static struct nvmet_subsys *nvmet_find_get_subsys(struct nvmet_port *port,
123 static u32 nvmet_max_nsid(struct nvmet_subsys *subsys) in nvmet_max_nsid()
241 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid) in nvmet_ns_changed()
257 void nvmet_send_ana_event(struct nvmet_subsys *subsys, in nvmet_send_ana_event()
307 void nvmet_port_del_ctrls(struct nvmet_port *port, struct nvmet_subsys *subsys) in nvmet_port_del_ctrls()
554 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_enable()
620 struct nvmet_subsys *subsys = ns->subsys; in nvmet_ns_disable()
671 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid) in nvmet_ns_alloc()
1239 struct nvmet_subsys *subsys; in nvmet_ctrl_find_get()
1297 bool nvmet_host_allowed(struct nvmet_subsys *subsy
[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.c573 int nvmet_passthru_ctrl_enable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_enable()
635 static void __nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) in __nvmet_passthru_ctrl_disable()
646 void nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_disable()
653 void nvmet_passthru_subsys_free(struct nvmet_subsys *subsys) in nvmet_passthru_subsys_free()
H A Dadmin-cmd.c353 struct nvmet_subsys *subsys = ctrl->subsys; in nvmet_execute_identify_ctrl()
762 struct nvmet_subsys *subsys = nvmet_req_subsys(req); in nvmet_set_feat_write_protect()
821 struct nvmet_subsys *subsys = nvmet_req_subsys(req); in nvmet_execute_set_features()
865 struct nvmet_subsys *subsys = nvmet_req_subsys(req); in nvmet_get_feat_write_protect()
895 struct nvmet_subsys *subsys = nvmet_req_subsys(req); in nvmet_execute_get_features()
/kernel/linux/linux-5.10/drivers/nvme/target/
H A 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()
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;
439 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
441 void nvmet_subsys_put(struct nvmet_subsys *subsy
[all...]
H A 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 *subsy
[all...]
H A 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()
1197 struct nvmet_subsys *subsys; in nvmet_ctrl_find_get()
1250 bool nvmet_host_allowed(struct nvmet_subsys *subsy
[all...]
H A Dpassthru.c497 int nvmet_passthru_ctrl_enable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_enable()
559 static void __nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) in __nvmet_passthru_ctrl_disable()
570 void nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_disable()
577 void nvmet_passthru_subsys_free(struct nvmet_subsys *subsys) in nvmet_passthru_subsys_free()
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 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()

Completed in 17 milliseconds