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

/illumos-gate/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)),
365 if (sv_devs == NULL) {
366 cmn_err(CE_WARN, "!sv: could not allocate sv_devs array");
371 mutex_init(&sv_devs[i].sv_olock, NULL, MUTEX_DRIVER, NULL);
372 rw_init(&sv_devs[i].sv_lock, NULL, RW_DRIVER, NULL);
460 for (i = 0; sv_devs && i < sv_max_devices; i++) {
461 svp = &sv_devs[i];
471 for (i = 0; sv_devs
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/sv/
H A Dsv.c43 * A global walk is assumed to start at sv_devs.
56 sv_dev_t *sv_devs; local
61 if (mdb_readvar(&sv_devs, "sv_devs") == -1) {
62 mdb_warn("failed to read 'sv_devs'");
73 winfo->start = (uintptr_t)sv_devs;
74 winfo->end = (uintptr_t)(sv_devs + sv_max_devices);
430 * If called with no address, performs a global walk of all sv_devs.

Completed in 1000 milliseconds