nvmet_disc_subsys 1372 drivers/nvme/target/core.c if (!kref_get_unless_zero(&nvmet_disc_subsys->ref)) nvmet_disc_subsys 1374 drivers/nvme/target/core.c return nvmet_disc_subsys; nvmet_disc_subsys 11 drivers/nvme/target/discovery.c struct nvmet_subsys *nvmet_disc_subsys; nvmet_disc_subsys 36 drivers/nvme/target/discovery.c mutex_lock(&nvmet_disc_subsys->lock); nvmet_disc_subsys 37 drivers/nvme/target/discovery.c list_for_each_entry(ctrl, &nvmet_disc_subsys->ctrls, subsys_entry) { nvmet_disc_subsys 43 drivers/nvme/target/discovery.c mutex_unlock(&nvmet_disc_subsys->lock); nvmet_disc_subsys 56 drivers/nvme/target/discovery.c mutex_lock(&nvmet_disc_subsys->lock); nvmet_disc_subsys 57 drivers/nvme/target/discovery.c list_for_each_entry(ctrl, &nvmet_disc_subsys->ctrls, subsys_entry) { nvmet_disc_subsys 63 drivers/nvme/target/discovery.c mutex_unlock(&nvmet_disc_subsys->lock); nvmet_disc_subsys 382 drivers/nvme/target/discovery.c nvmet_disc_subsys = nvmet_disc_subsys 384 drivers/nvme/target/discovery.c return PTR_ERR_OR_ZERO(nvmet_disc_subsys); nvmet_disc_subsys 389 drivers/nvme/target/discovery.c nvmet_subsys_put(nvmet_disc_subsys); nvmet_disc_subsys 475 drivers/nvme/target/nvmet.h extern struct nvmet_subsys *nvmet_disc_subsys;