Lines Matching refs:nvmet_subsys

70 	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);
441 void nvmet_subsys_del_ctrls(struct nvmet_subsys *subsys);
447 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid);
450 void nvmet_send_ana_event(struct nvmet_subsys *subsys,
458 struct nvmet_subsys *subsys);
477 struct nvmet_subsys *subsys);
478 void nvmet_subsys_disc_changed(struct nvmet_subsys *subsys,
511 extern struct nvmet_subsys *nvmet_disc_subsys;
518 bool nvmet_host_allowed(struct nvmet_subsys *subsys, const char *hostnqn);
526 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid);
552 void nvmet_passthru_subsys_free(struct nvmet_subsys *subsys);
553 int nvmet_passthru_ctrl_enable(struct nvmet_subsys *subsys);
554 void nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys);
557 static inline struct nvme_ctrl *nvmet_passthru_ctrl(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl()
562 static inline void nvmet_passthru_subsys_free(struct nvmet_subsys *subsys) in nvmet_passthru_subsys_free()
565 static inline void nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_disable()
576 static inline struct nvme_ctrl *nvmet_passthru_ctrl(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl()