Home
last modified time | relevance | path

Searched refs:sv_devs (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/uts/common/avs/ns/sv/
H A Dsv.c145 static sv_dev_t *sv_devs; /* array of per device structures */ variable
362 sv_devs = nsc_kmem_zalloc((sv_max_devices * sizeof (*sv_devs)), in sv_init_devs()
365 if (sv_devs == NULL) { in sv_init_devs()
371 mutex_init(&sv_devs[i].sv_olock, NULL, MUTEX_DRIVER, NULL); in sv_init_devs()
372 rw_init(&sv_devs[i].sv_lock, NULL, RW_DRIVER, NULL); in sv_init_devs()
460 for (i = 0; sv_devs && i < sv_max_devices; i++) { in sv_detach()
461 svp = &sv_devs[i]; in sv_detach()
471 for (i = 0; sv_devs && i < sv_max_devices; i++) { in sv_detach()
472 mutex_destroy(&sv_devs[i].sv_olock); in sv_detach()
473 rw_destroy(&sv_devs[i].sv_lock); in sv_detach()
[all …]
/titanic_50/usr/src/cmd/mdb/common/modules/sv/
H A Dsv.c56 sv_dev_t *sv_devs; in sv_dev_winit() local
61 if (mdb_readvar(&sv_devs, "sv_devs") == -1) { in sv_dev_winit()
73 winfo->start = (uintptr_t)sv_devs; in sv_dev_winit()
74 winfo->end = (uintptr_t)(sv_devs + sv_max_devices); in sv_dev_winit()