Home
last modified time | relevance | path

Searched refs:g_scsi_vhci_fd (Results 1 – 25 of 25) sorted by relevance

/titanic_44/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A DInitialize.c38 int g_scsi_vhci_fd = -1; variable
66 g_scsi_vhci_fd = open("/devices/scsi_vhci:devctl", in Initialize()
69 if (g_scsi_vhci_fd < 0) { in Initialize()
H A DTerminate.c38 if (g_scsi_vhci_fd > -1) { in Terminate()
39 (void) close(g_scsi_vhci_fd); in Terminate()
H A DMP_DisableAutoFailbackPlugin.c55 if (g_scsi_vhci_fd < 0) { in MP_DisableAutoFailbackPlugin()
75 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_DisableAutoFailbackPlugin()
H A DMP_EnableAutoFailbackPlugin.c49 if (g_scsi_vhci_fd < 0) { in MP_EnableAutoFailbackPlugin()
67 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_EnableAutoFailbackPlugin()
H A DMP_DisablePath.c56 if (g_scsi_vhci_fd < 0) { in MP_DisablePath()
74 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_DisablePath()
H A DMP_EnablePath.c57 if (g_scsi_vhci_fd < 0) { in MP_EnablePath()
75 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_EnablePath()
H A DMP_AssignLogicalUnitToTPG.c64 if (g_scsi_vhci_fd < 0) { in MP_AssignLogicalUnitToTPG()
87 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_AssignLogicalUnitToTPG()
H A DSun_MP_SendScsiCmd.c54 if (g_scsi_vhci_fd < 0) { in Sun_MP_SendScsiCmd()
75 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in Sun_MP_SendScsiCmd()
H A DMP_GetInitiatorPortProperties.c54 if (g_scsi_vhci_fd < 0) { in MP_GetInitiatorPortProperties()
72 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetInitiatorPortProperties()
H A DMP_GetProprietaryLBProp.c54 if (g_scsi_vhci_fd < 0) { in MP_GetProprietaryLoadBalanceProperties()
72 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetProprietaryLoadBalanceProperties()
H A DMP_GetTargetPortProperties.c56 if (g_scsi_vhci_fd < 0) { in MP_GetTargetPortProperties()
77 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetTargetPortProperties()
H A DMP_GetDeviceProductOidListPlugin.c53 if (g_scsi_vhci_fd < 0) { in MP_GetDeviceProductOidListPlugin()
90 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetDeviceProductOidListPlugin()
198 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetDeviceProductOidListPlugin()
H A DMP_GetProprietaryLBOidListPlugin.c52 if (g_scsi_vhci_fd < 0) { in MP_GetProprietaryLoadBalanceOidListPlugin()
86 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetProprietaryLoadBalanceOidListPlugin()
196 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetProprietaryLoadBalanceOidListPlugin()
H A DMP_GetDeviceProductProperties.c60 if (g_scsi_vhci_fd < 0) { in MP_GetDeviceProductProperties()
78 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetDeviceProductProperties()
H A DMP_GetAssociatedTPGOidList.c71 if (g_scsi_vhci_fd < 0) { in getAssociatedTPGOidList()
107 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in getAssociatedTPGOidList()
214 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in getAssociatedTPGOidList()
H A DMP_GetTargetPortOidList.c76 if (g_scsi_vhci_fd < 0) { in getTargetPortOidList()
112 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in getTargetPortOidList()
218 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in getTargetPortOidList()
H A DMP_GetTargetPortGroupProperties.c70 if (g_scsi_vhci_fd < 0) { in getTargetPortGroupProperties()
93 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in getTargetPortGroupProperties()
H A DMP_GetPluginPropertiesPlugin.c47 if (g_scsi_vhci_fd < 0) { in MP_GetPluginPropertiesPlugin()
62 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetPluginPropertiesPlugin()
H A DMP_SetTPGAccess.c71 if (g_scsi_vhci_fd < 0) { in MP_SetTPGAccess()
165 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_SetTPGAccess()
H A DMP_GetPathLogicalUnitProperties.c60 if (g_scsi_vhci_fd < 0) { in MP_GetPathLogicalUnitProperties()
78 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetPathLogicalUnitProperties()
H A DMP_GetAssociatedPathOidList.c247 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in doDevInfoStuffForTargetPort()
410 if (g_scsi_vhci_fd < 0) { in MP_GetAssociatedPathOidList()
467 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetAssociatedPathOidList()
573 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetAssociatedPathOidList()
H A DMP_GetMultipathLusDevProd.c141 if (g_scsi_vhci_fd < 0) { in MP_GetMultipathLusDevProd()
159 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetMultipathLusDevProd()
H A Dmp_utils.h80 extern int g_scsi_vhci_fd;
H A DMP_GetMPLogicalUnitProperties.c246 if (g_scsi_vhci_fd < 0) { in MP_GetMPLogicalUnitProperties()
264 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetMPLogicalUnitProperties()
H A DMP_GetMPLuOidListFromTPG.c192 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in getOidList()