Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/os/
H A Dsunmdi.c7477 mdi_vhci_config_t *vhc; in setup_vhci_cache() local
7482 vhc = kmem_zalloc(sizeof (mdi_vhci_config_t), KM_SLEEP); in setup_vhci_cache()
7483 vh->vh_config = vhc; in setup_vhci_cache()
7484 vhcache = &vhc->vhc_vhcache; in setup_vhci_cache()
7486 vhc->vhc_vhcache_filename = vhclass2vhcache_filename(vh->vh_class); in setup_vhci_cache()
7488 mutex_init(&vhc->vhc_lock, NULL, MUTEX_DEFAULT, NULL); in setup_vhci_cache()
7489 cv_init(&vhc->vhc_cv, NULL, CV_DRIVER, NULL); in setup_vhci_cache()
7528 vhc->vhc_vhcache_filename); in setup_vhci_cache()
7534 vhc->vhc_cbid = callb_add(stop_vhcache_flush_thread, vhc, in setup_vhci_cache()
7537 vhc->vhc_path_discovery_boot = mdi_path_discovery_boot; in setup_vhci_cache()
[all …]
/titanic_50/usr/src/uts/common/io/virtio/
H A Dvirtio.c951 struct virtio_handler_container *vhc = (void *)arg2; in virtio_intx_dispatch() local
962 vhc->config_handler.vh_func) { in virtio_intx_dispatch()
963 vhc->config_handler.vh_func((void *)sc, in virtio_intx_dispatch()
964 vhc->config_handler.vh_priv); in virtio_intx_dispatch()
968 for (i = 0; i < vhc->nhandlers; i++) { in virtio_intx_dispatch()
969 vhc->vq_handlers[i].vh_func((void *)sc, in virtio_intx_dispatch()
970 vhc->vq_handlers[i].vh_priv); in virtio_intx_dispatch()
988 struct virtio_handler_container *vhc; in virtio_register_intx() local
1000 vhc = kmem_zalloc(sizeof (struct virtio_handler_container) + in virtio_register_intx()
1003 vhc->nhandlers = vq_handler_count; in virtio_register_intx()
[all …]