Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/os/
H A Dsunmdi.c7488 mdi_vhci_config_t *vhc; in setup_vhci_cache() local
7493 vhc = kmem_zalloc(sizeof (mdi_vhci_config_t), KM_SLEEP); in setup_vhci_cache()
7494 vh->vh_config = vhc; in setup_vhci_cache()
7495 vhcache = &vhc->vhc_vhcache; in setup_vhci_cache()
7497 vhc->vhc_vhcache_filename = vhclass2vhcache_filename(vh->vh_class); in setup_vhci_cache()
7499 mutex_init(&vhc->vhc_lock, NULL, MUTEX_DEFAULT, NULL); in setup_vhci_cache()
7500 cv_init(&vhc->vhc_cv, NULL, CV_DRIVER, NULL); in setup_vhci_cache()
7539 vhc->vhc_vhcache_filename); in setup_vhci_cache()
7545 vhc->vhc_cbid = callb_add(stop_vhcache_flush_thread, vhc, in setup_vhci_cache()
7548 vhc->vhc_path_discovery_boot = mdi_path_discovery_boot; in setup_vhci_cache()
[all …]
/titanic_41/usr/src/uts/common/io/virtio/
H A Dvirtio.c965 struct virtio_handler_container *vhc = (void *)arg2; in virtio_intx_dispatch() local
976 vhc->config_handler.vh_func) { in virtio_intx_dispatch()
977 vhc->config_handler.vh_func((void *)sc, in virtio_intx_dispatch()
978 vhc->config_handler.vh_priv); in virtio_intx_dispatch()
982 for (i = 0; i < vhc->nhandlers; i++) { in virtio_intx_dispatch()
983 vhc->vq_handlers[i].vh_func((void *)sc, in virtio_intx_dispatch()
984 vhc->vq_handlers[i].vh_priv); in virtio_intx_dispatch()
1002 struct virtio_handler_container *vhc; in virtio_register_intx() local
1014 vhc = kmem_zalloc(sizeof (struct virtio_handler_container) + in virtio_register_intx()
1018 vhc->nhandlers = vq_handler_count; in virtio_register_intx()
[all …]