Lines Matching refs:nvmet_subsys
72 struct nvmet_subsys *subsys;
181 struct nvmet_subsys *subsys;
235 struct nvmet_subsys { struct
281 static inline struct nvmet_subsys *to_subsys(struct config_item *item) in to_subsys() argument
283 return container_of(to_config_group(item), struct nvmet_subsys, group); in to_subsys()
286 static inline struct nvmet_subsys *namespaces_to_subsys( in namespaces_to_subsys()
289 return container_of(to_config_group(item), struct nvmet_subsys, in namespaces_to_subsys()
320 struct nvmet_subsys *subsys;
486 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
488 void nvmet_subsys_put(struct nvmet_subsys *subsys);
489 void nvmet_subsys_del_ctrls(struct nvmet_subsys *subsys);
495 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid);
498 void nvmet_send_ana_event(struct nvmet_subsys *subsys,
506 struct nvmet_subsys *subsys);
525 struct nvmet_subsys *subsys);
526 void nvmet_subsys_disc_changed(struct nvmet_subsys *subsys,
559 extern struct nvmet_subsys *nvmet_disc_subsys;
566 bool nvmet_host_allowed(struct nvmet_subsys *subsys, const char *hostnqn);
574 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid);
607 static inline struct nvmet_subsys *nvmet_req_subsys(struct nvmet_req *req) in nvmet_req_subsys()
612 static inline bool nvmet_is_disc_subsys(struct nvmet_subsys *subsys) in nvmet_is_disc_subsys()
618 void nvmet_passthru_subsys_free(struct nvmet_subsys *subsys);
619 int nvmet_passthru_ctrl_enable(struct nvmet_subsys *subsys);
620 void nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys);
623 static inline bool nvmet_is_passthru_subsys(struct nvmet_subsys *subsys) in nvmet_is_passthru_subsys()
628 static inline void nvmet_passthru_subsys_free(struct nvmet_subsys *subsys) in nvmet_passthru_subsys_free()
631 static inline void nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_disable()
642 static inline bool nvmet_is_passthru_subsys(struct nvmet_subsys *subsys) in nvmet_is_passthru_subsys()