Searched refs:svl (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | mpapi_impl.c | 1525 scsi_vhci_lun_t *svl; in vhci_set_tpg_access_state() local 1573 svl = ((mpapi_lu_data_t *)(lu_list->item->idata))->resp; in vhci_set_tpg_access_state() 1574 if (!SCSI_FAILOVER_IS_TPGS(svl->svl_fops)) { in vhci_set_tpg_access_state() 1576 VHCI_HOLD_LUN(svl, VH_SLEEP, held); in vhci_set_tpg_access_state() 1581 retval = mdi_failover(vhci->vhci_dip, svl->svl_dip, in vhci_set_tpg_access_state() 1586 VHCI_RELEASE_LUN(svl); in vhci_set_tpg_access_state() 1597 VHCI_RELEASE_LUN(svl); in vhci_set_tpg_access_state() 1603 retval = mdi_select_path(svl->svl_dip, NULL, in vhci_set_tpg_access_state() 1642 VHCI_HOLD_LUN(svl, VH_NOSLEEP, held); in vhci_set_tpg_access_state() 1646 vhci_update_pathstates((void *)svl); in vhci_set_tpg_access_state() [all …]
|
H A D | scsi_vhci.c | 7303 struct scsi_vhci_lun *svl; in vhci_lun_lookup_alloc() local 7305 if (svl = vhci_lun_lookup(tgt_dip)) { in vhci_lun_lookup_alloc() 7306 return (svl); in vhci_lun_lookup_alloc() 7309 svl = kmem_zalloc(sizeof (*svl), KM_SLEEP); in vhci_lun_lookup_alloc() 7310 svl->svl_lun_wwn = kmem_zalloc(strlen(guid) + 1, KM_SLEEP); in vhci_lun_lookup_alloc() 7311 (void) strcpy(svl->svl_lun_wwn, guid); in vhci_lun_lookup_alloc() 7312 mutex_init(&svl->svl_mutex, NULL, MUTEX_DRIVER, NULL); in vhci_lun_lookup_alloc() 7313 cv_init(&svl->svl_cv, NULL, CV_DRIVER, NULL); in vhci_lun_lookup_alloc() 7314 sema_init(&svl->svl_pgr_sema, 1, NULL, SEMA_DRIVER, NULL); in vhci_lun_lookup_alloc() 7315 svl->svl_waiting_for_activepath = 1; in vhci_lun_lookup_alloc() [all …]
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/ |
H A D | scsi_vhci.h | 646 #define SCSI_FAILOVER_IS_ASYM(svl) \ argument 647 ((svl) ? ((svl)->svl_fo_support != SCSI_NO_FAILOVER) : 0)
|