/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | MP_GetDeviceProductOidListPlugin.c | 47 int ioctlStatus = 0; in MP_GetDeviceProductOidListPlugin() local 90 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetDeviceProductOidListPlugin() 93 ioctlStatus); in MP_GetDeviceProductOidListPlugin() 95 if (ioctlStatus < 0) { in MP_GetDeviceProductOidListPlugin() 96 ioctlStatus = errno; in MP_GetDeviceProductOidListPlugin() 99 if ((ioctlStatus != 0) && (MP_MORE_DATA != mp_ioctl.mp_errno)) { in MP_GetDeviceProductOidListPlugin() 103 ioctlStatus); in MP_GetDeviceProductOidListPlugin() 106 strerror(ioctlStatus)); in MP_GetDeviceProductOidListPlugin() 114 if (ENOTSUP == ioctlStatus) { in MP_GetDeviceProductOidListPlugin() 198 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetDeviceProductOidListPlugin() [all …]
|
H A D | MP_GetProprietaryLBOidListPlugin.c | 43 int ioctlStatus = 0; in MP_GetProprietaryLoadBalanceOidListPlugin() local 86 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetProprietaryLoadBalanceOidListPlugin() 89 ioctlStatus); in MP_GetProprietaryLoadBalanceOidListPlugin() 91 if (ioctlStatus < 0) { in MP_GetProprietaryLoadBalanceOidListPlugin() 92 ioctlStatus = errno; in MP_GetProprietaryLoadBalanceOidListPlugin() 95 if ((ioctlStatus != 0) && (MP_MORE_DATA != mp_ioctl.mp_errno)) { in MP_GetProprietaryLoadBalanceOidListPlugin() 99 ioctlStatus); in MP_GetProprietaryLoadBalanceOidListPlugin() 102 strerror(ioctlStatus)); in MP_GetProprietaryLoadBalanceOidListPlugin() 110 if (ENOTSUP == ioctlStatus) { in MP_GetProprietaryLoadBalanceOidListPlugin() 196 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetProprietaryLoadBalanceOidListPlugin() [all …]
|
H A D | MP_GetAssociatedTPGOidList.c | 59 int ioctlStatus = 0; in getAssociatedTPGOidList() local 107 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in getAssociatedTPGOidList() 110 ioctlStatus); in getAssociatedTPGOidList() 112 if (ioctlStatus < 0) { in getAssociatedTPGOidList() 113 ioctlStatus = errno; in getAssociatedTPGOidList() 116 if ((ioctlStatus != 0) && (MP_MORE_DATA != mp_ioctl.mp_errno)) { in getAssociatedTPGOidList() 120 ioctlStatus); in getAssociatedTPGOidList() 123 strerror(ioctlStatus)); in getAssociatedTPGOidList() 131 if (ENOTSUP == ioctlStatus) { in getAssociatedTPGOidList() 214 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in getAssociatedTPGOidList() [all …]
|
H A D | MP_GetTargetPortOidList.c | 64 int ioctlStatus = 0; in getTargetPortOidList() local 112 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in getTargetPortOidList() 115 ioctlStatus); in getTargetPortOidList() 117 if (ioctlStatus < 0) { in getTargetPortOidList() 118 ioctlStatus = errno; in getTargetPortOidList() 121 if ((ioctlStatus != 0) && (MP_MORE_DATA != mp_ioctl.mp_errno)) { in getTargetPortOidList() 125 ioctlStatus); in getTargetPortOidList() 128 strerror(ioctlStatus)); in getTargetPortOidList() 136 if (ENOTSUP == ioctlStatus) { in getTargetPortOidList() 218 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in getTargetPortOidList() [all …]
|
H A D | Sun_MP_SendScsiCmd.c | 44 int ioctlStatus = 0; in Sun_MP_SendScsiCmd() local 75 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in Sun_MP_SendScsiCmd() 78 " IOCTL call returned: %d", ioctlStatus); in Sun_MP_SendScsiCmd() 80 if (ioctlStatus < 0) { in Sun_MP_SendScsiCmd() 81 ioctlStatus = errno; in Sun_MP_SendScsiCmd() 84 if (ioctlStatus != 0) { in Sun_MP_SendScsiCmd() 87 ioctlStatus); in Sun_MP_SendScsiCmd() 90 strerror(ioctlStatus)); in Sun_MP_SendScsiCmd() 95 if (ENOTSUP == ioctlStatus) { in Sun_MP_SendScsiCmd() 97 } else if (EPERM == ioctlStatus) { in Sun_MP_SendScsiCmd()
|
H A D | MP_GetAssociatedPathOidList.c | 207 int ioctlStatus = 0; in doDevInfoStuffForTargetPort() local 247 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in doDevInfoStuffForTargetPort() 250 " IOCTL call returned: %d", ioctlStatus); in doDevInfoStuffForTargetPort() 252 if (ioctlStatus < 0) { in doDevInfoStuffForTargetPort() 253 ioctlStatus = errno; in doDevInfoStuffForTargetPort() 256 if (ioctlStatus != 0) { in doDevInfoStuffForTargetPort() 259 ioctlStatus); in doDevInfoStuffForTargetPort() 262 strerror(ioctlStatus)); in doDevInfoStuffForTargetPort() 267 if (ENOTSUP == ioctlStatus) { in doDevInfoStuffForTargetPort() 392 int ioctlStatus = 0; in MP_GetAssociatedPathOidList() local [all …]
|
H A D | MP_DisableAutoFailbackPlugin.c | 44 int ioctlStatus = 0; in MP_DisableAutoFailbackPlugin() local 75 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_DisableAutoFailbackPlugin() 78 " IOCTL call returned: %d", ioctlStatus); in MP_DisableAutoFailbackPlugin() 80 if (ioctlStatus < 0) { in MP_DisableAutoFailbackPlugin() 81 ioctlStatus = errno; in MP_DisableAutoFailbackPlugin() 84 if (ioctlStatus != 0) { in MP_DisableAutoFailbackPlugin() 87 ioctlStatus); in MP_DisableAutoFailbackPlugin() 90 strerror(ioctlStatus)); in MP_DisableAutoFailbackPlugin() 95 if (ENOTSUP == ioctlStatus) { in MP_DisableAutoFailbackPlugin()
|
H A D | MP_EnableAutoFailbackPlugin.c | 39 int ioctlStatus = 0; in MP_EnableAutoFailbackPlugin() local 67 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_EnableAutoFailbackPlugin() 70 " IOCTL call returned: %d", ioctlStatus); in MP_EnableAutoFailbackPlugin() 72 if (ioctlStatus < 0) { in MP_EnableAutoFailbackPlugin() 73 ioctlStatus = errno; in MP_EnableAutoFailbackPlugin() 76 if (ioctlStatus != 0) { in MP_EnableAutoFailbackPlugin() 79 ioctlStatus); in MP_EnableAutoFailbackPlugin() 82 strerror(ioctlStatus)); in MP_EnableAutoFailbackPlugin() 87 if (ENOTSUP == ioctlStatus) { in MP_EnableAutoFailbackPlugin()
|
H A D | MP_DisablePath.c | 43 int ioctlStatus = 0; in MP_DisablePath() local 74 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_DisablePath() 77 " IOCTL call returned: %d", ioctlStatus); in MP_DisablePath() 79 if (ioctlStatus < 0) { in MP_DisablePath() 80 ioctlStatus = errno; in MP_DisablePath() 83 if (ioctlStatus != 0) { in MP_DisablePath() 86 ioctlStatus); in MP_DisablePath() 89 strerror(ioctlStatus)); in MP_DisablePath() 94 if (ENOTSUP == ioctlStatus) { in MP_DisablePath()
|
H A D | MP_EnablePath.c | 44 int ioctlStatus = 0; in MP_EnablePath() local 75 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_EnablePath() 78 " IOCTL call returned: %d", ioctlStatus); in MP_EnablePath() 80 if (ioctlStatus < 0) { in MP_EnablePath() 81 ioctlStatus = errno; in MP_EnablePath() 84 if (ioctlStatus != 0) { in MP_EnablePath() 87 ioctlStatus); in MP_EnablePath() 90 strerror(ioctlStatus)); in MP_EnablePath() 95 if (ENOTSUP == ioctlStatus) { in MP_EnablePath()
|
H A D | MP_AssignLogicalUnitToTPG.c | 46 int ioctlStatus = 0; in MP_AssignLogicalUnitToTPG() local 87 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_AssignLogicalUnitToTPG() 90 " IOCTL call returned: %d", ioctlStatus); in MP_AssignLogicalUnitToTPG() 92 if (ioctlStatus < 0) { in MP_AssignLogicalUnitToTPG() 93 ioctlStatus = errno; in MP_AssignLogicalUnitToTPG() 96 if (ioctlStatus != 0) { in MP_AssignLogicalUnitToTPG() 99 ioctlStatus); in MP_AssignLogicalUnitToTPG() 102 strerror(ioctlStatus)); in MP_AssignLogicalUnitToTPG() 107 if (ENOTSUP == ioctlStatus) { in MP_AssignLogicalUnitToTPG()
|
H A D | MP_GetInitiatorPortProperties.c | 42 int ioctlStatus = 0; in MP_GetInitiatorPortProperties() local 72 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetInitiatorPortProperties() 75 " IOCTL call returned: %d", ioctlStatus); in MP_GetInitiatorPortProperties() 77 if (ioctlStatus < 0) { in MP_GetInitiatorPortProperties() 78 ioctlStatus = errno; in MP_GetInitiatorPortProperties() 81 if (ioctlStatus != 0) { in MP_GetInitiatorPortProperties() 84 ioctlStatus); in MP_GetInitiatorPortProperties() 87 strerror(ioctlStatus)); in MP_GetInitiatorPortProperties() 92 if (ENOTSUP == ioctlStatus) { in MP_GetInitiatorPortProperties()
|
H A D | MP_GetProprietaryLBProp.c | 42 int ioctlStatus = 0; in MP_GetProprietaryLoadBalanceProperties() local 72 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetProprietaryLoadBalanceProperties() 75 " IOCTL call returned: %d", ioctlStatus); in MP_GetProprietaryLoadBalanceProperties() 77 if (ioctlStatus < 0) { in MP_GetProprietaryLoadBalanceProperties() 78 ioctlStatus = errno; in MP_GetProprietaryLoadBalanceProperties() 81 if (ioctlStatus != 0) { in MP_GetProprietaryLoadBalanceProperties() 84 ioctlStatus); in MP_GetProprietaryLoadBalanceProperties() 87 strerror(ioctlStatus)); in MP_GetProprietaryLoadBalanceProperties() 92 if (ENOTSUP == ioctlStatus) { in MP_GetProprietaryLoadBalanceProperties()
|
H A D | MP_GetTargetPortProperties.c | 43 int ioctlStatus = 0; in MP_GetTargetPortProperties() local 77 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetTargetPortProperties() 80 " IOCTL call returned: %d", ioctlStatus); in MP_GetTargetPortProperties() 82 if (ioctlStatus < 0) { in MP_GetTargetPortProperties() 83 ioctlStatus = errno; in MP_GetTargetPortProperties() 86 if (ioctlStatus != 0) { in MP_GetTargetPortProperties() 89 ioctlStatus); in MP_GetTargetPortProperties() 92 strerror(ioctlStatus)); in MP_GetTargetPortProperties() 97 if (ENOTSUP == ioctlStatus) { in MP_GetTargetPortProperties()
|
H A D | MP_GetDeviceProductProperties.c | 45 int ioctlStatus = 0; in MP_GetDeviceProductProperties() local 78 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetDeviceProductProperties() 81 " IOCTL call returned: %d", ioctlStatus); in MP_GetDeviceProductProperties() 83 if (ioctlStatus < 0) { in MP_GetDeviceProductProperties() 84 ioctlStatus = errno; in MP_GetDeviceProductProperties() 87 if (ioctlStatus != 0) { in MP_GetDeviceProductProperties() 90 ioctlStatus); in MP_GetDeviceProductProperties() 93 strerror(ioctlStatus)); in MP_GetDeviceProductProperties() 98 if (ENOTSUP == ioctlStatus) { in MP_GetDeviceProductProperties()
|
H A D | MP_GetTargetPortGroupProperties.c | 63 int ioctlStatus = 0; in getTargetPortGroupProperties() local 93 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in getTargetPortGroupProperties() 96 " IOCTL call returned: %d", ioctlStatus); in getTargetPortGroupProperties() 98 if (ioctlStatus < 0) { in getTargetPortGroupProperties() 99 ioctlStatus = errno; in getTargetPortGroupProperties() 102 if (ioctlStatus != 0) { in getTargetPortGroupProperties() 105 ioctlStatus); in getTargetPortGroupProperties() 108 strerror(ioctlStatus)); in getTargetPortGroupProperties() 113 if (ENOTSUP == ioctlStatus) { in getTargetPortGroupProperties()
|
H A D | MP_GetPluginPropertiesPlugin.c | 42 int ioctlStatus = 0; in MP_GetPluginPropertiesPlugin() local 62 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetPluginPropertiesPlugin() 65 " IOCTL call returned: %d", ioctlStatus); in MP_GetPluginPropertiesPlugin() 67 if (ioctlStatus < 0) { in MP_GetPluginPropertiesPlugin() 68 ioctlStatus = errno; in MP_GetPluginPropertiesPlugin() 71 if (ioctlStatus != 0) { in MP_GetPluginPropertiesPlugin() 74 ioctlStatus); in MP_GetPluginPropertiesPlugin() 77 strerror(ioctlStatus)); in MP_GetPluginPropertiesPlugin() 82 if (ENOTSUP == ioctlStatus) { in MP_GetPluginPropertiesPlugin()
|
H A D | MP_SetTPGAccess.c | 53 int ioctlStatus = 0; in MP_SetTPGAccess() local 165 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_SetTPGAccess() 168 " IOCTL call returned: %d", ioctlStatus); in MP_SetTPGAccess() 170 if (ioctlStatus < 0) { in MP_SetTPGAccess() 171 ioctlStatus = errno; in MP_SetTPGAccess() 174 if (ioctlStatus != 0) { in MP_SetTPGAccess() 177 ioctlStatus); in MP_SetTPGAccess() 180 strerror(ioctlStatus)); in MP_SetTPGAccess() 185 if (ENOTSUP == ioctlStatus) { in MP_SetTPGAccess()
|
H A D | MP_GetPathLogicalUnitProperties.c | 42 int ioctlStatus = 0; in MP_GetPathLogicalUnitProperties() local 78 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetPathLogicalUnitProperties() 81 " IOCTL call returned: %d", ioctlStatus); in MP_GetPathLogicalUnitProperties() 83 if (ioctlStatus < 0) { in MP_GetPathLogicalUnitProperties() 84 ioctlStatus = errno; in MP_GetPathLogicalUnitProperties() 87 if (ioctlStatus != 0) { in MP_GetPathLogicalUnitProperties() 90 ioctlStatus); in MP_GetPathLogicalUnitProperties() 93 strerror(ioctlStatus)); in MP_GetPathLogicalUnitProperties() 98 if (ENOTSUP == ioctlStatus) { in MP_GetPathLogicalUnitProperties()
|
H A D | MP_GetMultipathLusDevProd.c | 125 int ioctlStatus = 0; in MP_GetMultipathLusDevProd() local 159 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetMultipathLusDevProd() 162 " IOCTL call returned: %d", ioctlStatus); in MP_GetMultipathLusDevProd() 164 if (ioctlStatus < 0) { in MP_GetMultipathLusDevProd() 165 ioctlStatus = errno; in MP_GetMultipathLusDevProd() 168 if (ioctlStatus != 0) { in MP_GetMultipathLusDevProd() 171 ioctlStatus); in MP_GetMultipathLusDevProd() 174 strerror(ioctlStatus)); in MP_GetMultipathLusDevProd() 179 if (ENOTSUP == ioctlStatus) { in MP_GetMultipathLusDevProd()
|
H A D | MP_GetMPLogicalUnitProperties.c | 227 int ioctlStatus = 0; in MP_GetMPLogicalUnitProperties() local 264 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetMPLogicalUnitProperties() 267 " IOCTL call returned: %d", ioctlStatus); in MP_GetMPLogicalUnitProperties() 269 if (ioctlStatus < 0) { in MP_GetMPLogicalUnitProperties() 270 ioctlStatus = errno; in MP_GetMPLogicalUnitProperties() 273 if (ioctlStatus != 0) { in MP_GetMPLogicalUnitProperties() 276 ioctlStatus); in MP_GetMPLogicalUnitProperties() 279 strerror(ioctlStatus)); in MP_GetMPLogicalUnitProperties() 284 if (ENOTSUP == ioctlStatus) { in MP_GetMPLogicalUnitProperties()
|
H A D | MP_GetMPLuOidListFromTPG.c | 140 int ioctlStatus = 0; in getOidList() local 192 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in getOidList() 195 ioctlStatus); in getOidList() 197 if (ioctlStatus < 0) { in getOidList() 198 ioctlStatus = errno; in getOidList() 201 if (ioctlStatus != 0) { in getOidList() 204 ioctlStatus); in getOidList() 207 strerror(ioctlStatus)); in getOidList()
|