Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c83 void *vhci_softstate = NULL; /* for soft state */ variable
338 if ((rval = ddi_soft_state_init(&vhci_softstate, in _init()
348 ddi_soft_state_fini(&vhci_softstate); in _init()
371 ddi_soft_state_fini(&vhci_softstate); in _init()
403 ddi_soft_state_fini(&vhci_softstate); in _fini()
553 vhci = ddi_get_soft_state(vhci_softstate, MINOR2INST(getminor(*devp))); in vhci_open()
583 vhci = ddi_get_soft_state(vhci_softstate, MINOR2INST(getminor(dev))); in vhci_close()
649 if (ddi_soft_state_zalloc(vhci_softstate, instance) != DDI_SUCCESS) { in vhci_attach()
655 if ((vhci = ddi_get_soft_state(vhci_softstate, instance)) == NULL) { in vhci_attach()
658 ddi_soft_state_free(vhci_softstate, instance); in vhci_attach()
[all …]
H A Dmpapi_impl.c156 extern void *vhci_softstate;
181 vhci = ddi_get_soft_state(vhci_softstate, MINOR2INST(getminor(dev))); in vhci_mpapi_ctl()
4121 vhci = ddi_get_soft_state(vhci_softstate, ddi_get_instance(vdip)); in vhci_mpapi_set_path_state()
4393 local_vhci = ddi_get_soft_state(vhci_softstate, in vhci_mpapi_get_vhci()