Home
last modified time | relevance | path

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

/linux-6.1.9/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()
212 nvmet_disc_subsys->subsysnqn, in nvmet_execute_disc_get_log_page()
396 nvmet_disc_subsys = in nvmet_init_discovery()
398 return PTR_ERR_OR_ZERO(nvmet_disc_subsys); in nvmet_init_discovery()
[all …]
Dnvmet.h559 extern struct nvmet_subsys *nvmet_disc_subsys;
Dcore.c1524 if (!kref_get_unless_zero(&nvmet_disc_subsys->ref)) in nvmet_find_get_subsys()
1526 return nvmet_disc_subsys; in nvmet_find_get_subsys()