Lines Matching refs:nvmet_subsys

73 	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() argument
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 *subsys);
492 void nvmet_subsys_del_ctrls(struct nvmet_subsys *subsys);
498 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid);
501 void nvmet_send_ana_event(struct nvmet_subsys *subsys,
509 struct nvmet_subsys *subsys);
528 struct nvmet_subsys *subsys);
529 void nvmet_subsys_disc_changed(struct nvmet_subsys *subsys,
533 bool nvmet_subsys_nsid_exists(struct nvmet_subsys *subsys, u32 nsid);
563 extern struct nvmet_subsys *nvmet_disc_subsys;
570 bool nvmet_host_allowed(struct nvmet_subsys *subsys, const char *hostnqn);
578 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid);
611 static inline struct nvmet_subsys *nvmet_req_subsys(struct nvmet_req *req) in nvmet_req_subsys()
616 static inline bool nvmet_is_disc_subsys(struct nvmet_subsys *subsys) in nvmet_is_disc_subsys()
622 void nvmet_passthru_subsys_free(struct nvmet_subsys *subsys);
623 int nvmet_passthru_ctrl_enable(struct nvmet_subsys *subsys);
624 void nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys);
627 static inline bool nvmet_is_passthru_subsys(struct nvmet_subsys *subsys) in nvmet_is_passthru_subsys()
632 static inline void nvmet_passthru_subsys_free(struct nvmet_subsys *subsys) in nvmet_passthru_subsys_free()
635 static inline void nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_disable()
646 static inline bool nvmet_is_passthru_subsys(struct nvmet_subsys *subsys) in nvmet_is_passthru_subsys()