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;
439 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
441 void nvmet_subsys_put(struct nvmet_subsys *subsys);
442 void nvmet_subsys_del_ctrls(struct nvmet_subsys *subsys);
448 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid);
451 void nvmet_send_ana_event(struct nvmet_subsys *subsys,
459 struct nvmet_subsys *subsys);
478 struct nvmet_subsys *subsys);
479 void nvmet_subsys_disc_changed(struct nvmet_subsys *subsys,
512 extern struct nvmet_subsys *nvmet_disc_subsys;
519 bool nvmet_host_allowed(struct nvmet_subsys *subsys, const char *hostnqn);
527 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid);
553 void nvmet_passthru_subsys_free(struct nvmet_subsys *subsys);
554 int nvmet_passthru_ctrl_enable(struct nvmet_subsys *subsys);
555 void nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys);
558 static inline struct nvme_ctrl *nvmet_passthru_ctrl(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl()
563 static inline void nvmet_passthru_subsys_free(struct nvmet_subsys *subsys) in nvmet_passthru_subsys_free()
566 static inline void nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_disable()
577 static inline struct nvme_ctrl *nvmet_passthru_ctrl(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl()