Searched defs:svl (Results 1 - 6 of 6) sorted by relevance
/illumos-gate/usr/src/cmd/avs/sdbc/ |
H A D | sdbc_ioctl.c | 73 sv_list_t svl; local 81 bzero(&svl, sizeof (svl)); 84 svl.svl_names = &svn[0]; 85 svl.svl_error = spcs_s_ucreate(); 87 if (ioctl(fd, SVIOC_LIST, &svl) < 0) 90 svn_system = calloc(svl.svl_maxdevs, sizeof (*svn)); 95 svl.svl_count = svl.svl_maxdevs; 96 svl [all...] |
/illumos-gate/usr/src/cmd/avs/sv/ |
H A D | svboot.c | 145 sv_list_t svl; local 156 bzero(&svl, sizeof (svl)); 159 svl.svl_names = &svn[0]; 160 svl.svl_error = spcs_s_ucreate(); 162 if (ioctl(fd, SVIOC_LIST, &svl) < 0) 163 error(&svl.svl_error, gettext("unable to get max devs")); 165 spcs_s_ufree(&svl.svl_error); 166 sv_max_devices = svl.svl_maxdevs;
|
H A D | svadm.c | 225 sv_list_t svl; local 236 bzero(&svl, sizeof (svl)); 239 svl.svl_names = &svn[0]; 240 svl.svl_error = spcs_s_ucreate(); 242 if (ioctl(fd, SVIOC_LIST, &svl) < 0) { 244 error(&svl.svl_error, gettext("unable to get max devs")); 247 spcs_s_ufree(&svl.svl_error); 248 sv_max_devices = svl.svl_maxdevs;
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | mpapi_impl.c | 1539 scsi_vhci_lun_t *svl; local 1587 svl = ((mpapi_lu_data_t *)(lu_list->item->idata))->resp; 1588 if (!SCSI_FAILOVER_IS_TPGS(svl->svl_fops)) { 1590 VHCI_HOLD_LUN(svl, VH_SLEEP, held); 1595 retval = mdi_failover(vhci->vhci_dip, svl->svl_dip, 1600 VHCI_RELEASE_LUN(svl); 1611 VHCI_RELEASE_LUN(svl); 1617 retval = mdi_select_path(svl->svl_dip, NULL, 1656 VHCI_HOLD_LUN(svl, VH_NOSLEEP, held); 1660 vhci_update_pathstates((void *)svl); 1856 scsi_vhci_lun_t *svl; local 2756 scsi_vhci_lun_t *svl = res; local 2830 scsi_vhci_lun_t *svl; local 3933 scsi_vhci_lun_t *svl; local 4128 struct scsi_vhci_lun *svl; local [all...] |
H A D | scsi_vhci.c | 7296 struct scsi_vhci_lun *svl; local 7298 if (svl = vhci_lun_lookup(tgt_dip)) { 7299 return (svl); 7302 svl = kmem_zalloc(sizeof (*svl), KM_SLEEP); 7303 svl->svl_lun_wwn = kmem_zalloc(strlen(guid)+1, KM_SLEEP); 7304 (void) strcpy(svl->svl_lun_wwn, guid); 7305 mutex_init(&svl->svl_mutex, NULL, MUTEX_DRIVER, NULL); 7306 cv_init(&svl->svl_cv, NULL, CV_DRIVER, NULL); 7307 sema_init(&svl [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/sv/ |
H A D | sv.c | 1509 * The array for the paths is svl and the size of the array is 1737 sv_list_t svl; /* Initial structure for SVIOC_LIST */ local 1922 if (ddi_copyin((void *)arg, &svl, 1923 sizeof (svl), mode) < 0) { 1928 ustatus = svl.svl_error; 1929 size = svl.svl_count; 1930 usvn = svl.svl_names; 1978 svl.svl_timestamp = sv_config_time; 1979 svl.svl_maxdevs = sv_max_devices; 1982 if (ddi_copyout(&svl, (voi [all...] |
Completed in 120 milliseconds