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

/opensolaris-onvv-gate/usr/src/uts/common/avs/ns/sv/
H A Dsv.c142 static sv_dev_t *sv_devs; /* array of per device structures */ variable
359 sv_devs = nsc_kmem_zalloc((sv_max_devices * sizeof (*sv_devs)),
362 if (sv_devs == NULL) {
363 cmn_err(CE_WARN, "!sv: could not allocate sv_devs array");
368 mutex_init(&sv_devs[i].sv_olock, NULL, MUTEX_DRIVER, NULL);
369 rw_init(&sv_devs[i].sv_lock, NULL, RW_DRIVER, NULL);
457 for (i = 0; sv_devs && i < sv_max_devices; i++) {
458 svp = &sv_devs[i];
468 for (i = 0; sv_devs
[all...]
/opensolaris-onvv-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 108 milliseconds