Home
last modified time | relevance | path

Searched refs:nvmet_disc_subsys (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/nvme/target/
Ddiscovery.c11 struct nvmet_subsys *nvmet_disc_subsys; variable
36 mutex_lock(&nvmet_disc_subsys->lock); in nvmet_port_disc_changed()
37 list_for_each_entry(ctrl, &nvmet_disc_subsys->ctrls, subsys_entry) { in nvmet_port_disc_changed()
43 mutex_unlock(&nvmet_disc_subsys->lock); in nvmet_port_disc_changed()
56 mutex_lock(&nvmet_disc_subsys->lock); in __nvmet_subsys_disc_changed()
57 list_for_each_entry(ctrl, &nvmet_disc_subsys->ctrls, subsys_entry) { in __nvmet_subsys_disc_changed()
63 mutex_unlock(&nvmet_disc_subsys->lock); in __nvmet_subsys_disc_changed()
388 nvmet_disc_subsys = in nvmet_init_discovery()
390 return PTR_ERR_OR_ZERO(nvmet_disc_subsys); in nvmet_init_discovery()
395 nvmet_subsys_put(nvmet_disc_subsys); in nvmet_exit_discovery()
Dnvmet.h512 extern struct nvmet_subsys *nvmet_disc_subsys;
Dcore.c1461 if (!kref_get_unless_zero(&nvmet_disc_subsys->ref)) in nvmet_find_get_subsys()
1463 return nvmet_disc_subsys; in nvmet_find_get_subsys()