Lines Matching refs:nvme_subsystem
122 static void nvme_put_subsystem(struct nvme_subsystem *subsys);
2706 static void nvme_init_subnqn(struct nvme_subsystem *subsys, struct nvme_ctrl *ctrl, in nvme_init_subnqn()
2740 struct nvme_subsystem *subsys = in nvme_release_subsystem()
2741 container_of(dev, struct nvme_subsystem, dev); in nvme_release_subsystem()
2750 struct nvme_subsystem *subsys = in nvme_destroy_subsystem()
2751 container_of(ref, struct nvme_subsystem, ref); in nvme_destroy_subsystem()
2762 static void nvme_put_subsystem(struct nvme_subsystem *subsys) in nvme_put_subsystem()
2767 static struct nvme_subsystem *__nvme_find_get_subsystem(const char *subsysnqn) in __nvme_find_get_subsystem()
2769 struct nvme_subsystem *subsys; in __nvme_find_get_subsystem()
2803 struct nvme_subsystem *subsys = in nvme_subsys_show_nqn()
2804 container_of(dev, struct nvme_subsystem, dev); in nvme_subsys_show_nqn()
2814 struct nvme_subsystem *subsys = in nvme_subsys_show_type()
2815 container_of(dev, struct nvme_subsystem, dev); in nvme_subsys_show_type()
2832 struct nvme_subsystem *subsys = \
2833 container_of(dev, struct nvme_subsystem, dev); \
2869 static bool nvme_validate_cntlid(struct nvme_subsystem *subsys, in nvme_validate_cntlid()
2902 struct nvme_subsystem *subsys, *found; in nvme_init_subsystem()
3380 struct nvme_subsystem *subsys = head->subsys; in wwid_show()
3939 static int nvme_subsys_check_duplicate_ids(struct nvme_subsystem *subsys, in nvme_subsys_check_duplicate_ids()
4086 static int nvme_global_check_duplicate_ids(struct nvme_subsystem *this, in nvme_global_check_duplicate_ids()
4089 struct nvme_subsystem *s; in nvme_global_check_duplicate_ids()
5012 struct nvme_subsystem *subsys = ctrl->subsys; in nvme_free_ctrl()