Searched refs:sv_devs (Results 1 – 2 of 2) sorted by relevance
145 static sv_dev_t *sv_devs; /* array of per device structures */ variable362 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 …]
56 sv_dev_t *sv_devs; in sv_dev_winit() local61 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()