/titanic_50/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | MP_GetAssociatedTPGOidList.c | 53 mp_iocdata_t mp_ioctl; in getAssociatedTPGOidList() local 87 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in getAssociatedTPGOidList() 89 mp_ioctl.mp_cmd = MP_GET_TPG_LIST; in getAssociatedTPGOidList() 90 mp_ioctl.mp_ibuf = (caddr_t)&oid.objectSequenceNumber; in getAssociatedTPGOidList() 91 mp_ioctl.mp_ilen = sizeof (oid.objectSequenceNumber); in getAssociatedTPGOidList() 92 mp_ioctl.mp_obuf = (caddr_t)objList; in getAssociatedTPGOidList() 93 mp_ioctl.mp_olen = DEFAULT_BUFFER_SIZE_TPG; in getAssociatedTPGOidList() 94 mp_ioctl.mp_xfer = MP_XFER_READ; in getAssociatedTPGOidList() 98 mp_ioctl.mp_cmd); in getAssociatedTPGOidList() 100 "mp_ioctl.mp_obuf: %x", mp_ioctl.mp_obuf); in getAssociatedTPGOidList() [all …]
|
H A D | MP_GetTargetPortOidList.c | 58 mp_iocdata_t mp_ioctl; in getTargetPortOidList() local 92 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in getTargetPortOidList() 94 mp_ioctl.mp_cmd = MP_GET_TARGET_PORT_LIST_FOR_TPG; in getTargetPortOidList() 95 mp_ioctl.mp_ibuf = (caddr_t)&oid.objectSequenceNumber; in getTargetPortOidList() 96 mp_ioctl.mp_ilen = sizeof (oid.objectSequenceNumber); in getTargetPortOidList() 97 mp_ioctl.mp_obuf = (caddr_t)objList; in getTargetPortOidList() 98 mp_ioctl.mp_olen = DEFAULT_BUFFER_SIZE_TPG; in getTargetPortOidList() 99 mp_ioctl.mp_xfer = MP_XFER_READ; in getTargetPortOidList() 103 mp_ioctl.mp_cmd); in getTargetPortOidList() 105 "mp_ioctl.mp_obuf: %x", mp_ioctl.mp_obuf); in getTargetPortOidList() [all …]
|
H A D | MP_GetDeviceProductOidListPlugin.c | 41 mp_iocdata_t mp_ioctl; in MP_GetDeviceProductOidListPlugin() local 70 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in MP_GetDeviceProductOidListPlugin() 72 mp_ioctl.mp_cmd = MP_GET_DEV_PROD_LIST; in MP_GetDeviceProductOidListPlugin() 73 mp_ioctl.mp_obuf = (caddr_t)objList; in MP_GetDeviceProductOidListPlugin() 74 mp_ioctl.mp_olen = DEFAULT_BUFFER_SIZE_DEV_PROD; in MP_GetDeviceProductOidListPlugin() 75 mp_ioctl.mp_xfer = MP_XFER_READ; in MP_GetDeviceProductOidListPlugin() 79 mp_ioctl.mp_cmd); in MP_GetDeviceProductOidListPlugin() 82 mp_ioctl.mp_obuf); in MP_GetDeviceProductOidListPlugin() 85 mp_ioctl.mp_olen); in MP_GetDeviceProductOidListPlugin() 88 mp_ioctl.mp_xfer); in MP_GetDeviceProductOidListPlugin() [all …]
|
H A D | MP_GetProprietaryLBOidListPlugin.c | 37 mp_iocdata_t mp_ioctl; in MP_GetProprietaryLoadBalanceOidListPlugin() local 69 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in MP_GetProprietaryLoadBalanceOidListPlugin() 71 mp_ioctl.mp_cmd = MP_GET_PROPRIETARY_LOADBALANCE_LIST; in MP_GetProprietaryLoadBalanceOidListPlugin() 72 mp_ioctl.mp_obuf = (caddr_t)objList; in MP_GetProprietaryLoadBalanceOidListPlugin() 73 mp_ioctl.mp_olen = DEFAULT_BUFFER_SIZE_LOADBALANCE; in MP_GetProprietaryLoadBalanceOidListPlugin() 74 mp_ioctl.mp_xfer = MP_XFER_READ; in MP_GetProprietaryLoadBalanceOidListPlugin() 77 "mp_ioctl.mp_cmd : %d", mp_ioctl.mp_cmd); in MP_GetProprietaryLoadBalanceOidListPlugin() 79 "mp_ioctl.mp_obuf: %x", mp_ioctl.mp_obuf); in MP_GetProprietaryLoadBalanceOidListPlugin() 81 "mp_ioctl.mp_olen: %d", mp_ioctl.mp_olen); in MP_GetProprietaryLoadBalanceOidListPlugin() 84 mp_ioctl.mp_xfer); in MP_GetProprietaryLoadBalanceOidListPlugin() [all …]
|
H A D | MP_GetAssociatedPathOidList.c | 219 mp_iocdata_t mp_ioctl; in doDevInfoStuffForTargetPort() local 233 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in doDevInfoStuffForTargetPort() 236 mp_ioctl.mp_cmd = MP_GET_TARGET_PORT_PROP; in doDevInfoStuffForTargetPort() 237 mp_ioctl.mp_ibuf = (caddr_t)&oid.objectSequenceNumber; in doDevInfoStuffForTargetPort() 238 mp_ioctl.mp_ilen = sizeof (oid.objectSequenceNumber); in doDevInfoStuffForTargetPort() 239 mp_ioctl.mp_obuf = (caddr_t)&tpInfo; in doDevInfoStuffForTargetPort() 240 mp_ioctl.mp_olen = sizeof (mp_target_port_prop_t); in doDevInfoStuffForTargetPort() 241 mp_ioctl.mp_xfer = MP_XFER_READ; in doDevInfoStuffForTargetPort() 245 mp_ioctl.mp_cmd); in doDevInfoStuffForTargetPort() 247 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in doDevInfoStuffForTargetPort() [all …]
|
H A D | Sun_MP_SendScsiCmd.c | 42 mp_iocdata_t mp_ioctl; in Sun_MP_SendScsiCmd() local 61 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in Sun_MP_SendScsiCmd() 63 mp_ioctl.mp_cmd = MP_SEND_SCSI_CMD; in Sun_MP_SendScsiCmd() 64 mp_ioctl.mp_ibuf = (caddr_t)&pathOid.objectSequenceNumber; in Sun_MP_SendScsiCmd() 65 mp_ioctl.mp_ilen = sizeof (pathOid.objectSequenceNumber); in Sun_MP_SendScsiCmd() 66 mp_ioctl.mp_xfer = in Sun_MP_SendScsiCmd() 68 mp_ioctl.mp_obuf = (char *)cmd; in Sun_MP_SendScsiCmd() 69 mp_ioctl.mp_olen = sizeof (*cmd); in Sun_MP_SendScsiCmd() 73 mp_ioctl.mp_cmd); in Sun_MP_SendScsiCmd() 75 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in Sun_MP_SendScsiCmd() [all …]
|
H A D | MP_GetTargetPortProperties.c | 40 mp_iocdata_t mp_ioctl; in MP_GetTargetPortProperties() local 63 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in MP_GetTargetPortProperties() 66 mp_ioctl.mp_cmd = MP_GET_TARGET_PORT_PROP; in MP_GetTargetPortProperties() 67 mp_ioctl.mp_ibuf = (caddr_t)&oid.objectSequenceNumber; in MP_GetTargetPortProperties() 68 mp_ioctl.mp_ilen = sizeof (oid.objectSequenceNumber); in MP_GetTargetPortProperties() 69 mp_ioctl.mp_obuf = (caddr_t)&tpInfo; in MP_GetTargetPortProperties() 70 mp_ioctl.mp_olen = sizeof (mp_target_port_prop_t); in MP_GetTargetPortProperties() 71 mp_ioctl.mp_xfer = MP_XFER_READ; in MP_GetTargetPortProperties() 75 mp_ioctl.mp_cmd); in MP_GetTargetPortProperties() 77 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetTargetPortProperties() [all …]
|
H A D | MP_DisablePath.c | 41 mp_iocdata_t mp_ioctl; in MP_DisablePath() local 63 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in MP_DisablePath() 65 mp_ioctl.mp_cmd = MP_DISABLE_PATH; in MP_DisablePath() 66 mp_ioctl.mp_ibuf = (caddr_t)&oid.objectSequenceNumber; in MP_DisablePath() 67 mp_ioctl.mp_ilen = sizeof (oid.objectSequenceNumber); in MP_DisablePath() 68 mp_ioctl.mp_xfer = MP_XFER_WRITE; in MP_DisablePath() 72 mp_ioctl.mp_cmd); in MP_DisablePath() 74 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_DisablePath() 92 mp_ioctl.mp_errno); in MP_DisablePath() 96 } else if (0 == mp_ioctl.mp_errno) { in MP_DisablePath() [all …]
|
H A D | MP_EnablePath.c | 42 mp_iocdata_t mp_ioctl; in MP_EnablePath() local 64 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in MP_EnablePath() 66 mp_ioctl.mp_cmd = MP_ENABLE_PATH; in MP_EnablePath() 67 mp_ioctl.mp_ibuf = (caddr_t)&oid.objectSequenceNumber; in MP_EnablePath() 68 mp_ioctl.mp_ilen = sizeof (oid.objectSequenceNumber); in MP_EnablePath() 69 mp_ioctl.mp_xfer = MP_XFER_WRITE; in MP_EnablePath() 73 mp_ioctl.mp_cmd); in MP_EnablePath() 75 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_EnablePath() 93 mp_ioctl.mp_errno); in MP_EnablePath() 97 } else if (0 == mp_ioctl.mp_errno) { in MP_EnablePath() [all …]
|
H A D | MP_GetInitiatorPortProperties.c | 39 mp_iocdata_t mp_ioctl; in MP_GetInitiatorPortProperties() local 62 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in MP_GetInitiatorPortProperties() 65 mp_ioctl.mp_cmd = MP_GET_INIT_PORT_PROP; in MP_GetInitiatorPortProperties() 66 mp_ioctl.mp_ibuf = (caddr_t)&oid.objectSequenceNumber; in MP_GetInitiatorPortProperties() 67 mp_ioctl.mp_ilen = sizeof (oid.objectSequenceNumber); in MP_GetInitiatorPortProperties() 68 mp_ioctl.mp_obuf = (caddr_t)&initPortInfo; in MP_GetInitiatorPortProperties() 69 mp_ioctl.mp_olen = sizeof (mp_init_port_prop_t); in MP_GetInitiatorPortProperties() 70 mp_ioctl.mp_xfer = MP_XFER_READ; in MP_GetInitiatorPortProperties() 72 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetInitiatorPortProperties() 90 mp_ioctl.mp_errno); in MP_GetInitiatorPortProperties() [all …]
|
H A D | MP_GetProprietaryLBProp.c | 39 mp_iocdata_t mp_ioctl; in MP_GetProprietaryLoadBalanceProperties() local 62 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in MP_GetProprietaryLoadBalanceProperties() 65 mp_ioctl.mp_cmd = MP_GET_PROPRIETARY_LOADBALANCE_PROP; in MP_GetProprietaryLoadBalanceProperties() 66 mp_ioctl.mp_ibuf = (caddr_t)&oid.objectSequenceNumber; in MP_GetProprietaryLoadBalanceProperties() 67 mp_ioctl.mp_ilen = sizeof (oid.objectSequenceNumber); in MP_GetProprietaryLoadBalanceProperties() 68 mp_ioctl.mp_obuf = (caddr_t)&lbProps; in MP_GetProprietaryLoadBalanceProperties() 69 mp_ioctl.mp_olen = sizeof (mp_proprietary_loadbalance_prop_t); in MP_GetProprietaryLoadBalanceProperties() 70 mp_ioctl.mp_xfer = MP_XFER_READ; in MP_GetProprietaryLoadBalanceProperties() 72 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetProprietaryLoadBalanceProperties() 90 mp_ioctl.mp_errno); in MP_GetProprietaryLoadBalanceProperties() [all …]
|
H A D | MP_AssignLogicalUnitToTPG.c | 44 mp_iocdata_t mp_ioctl; in MP_AssignLogicalUnitToTPG() local 73 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in MP_AssignLogicalUnitToTPG() 78 mp_ioctl.mp_cmd = MP_ASSIGN_LU_TO_TPG; in MP_AssignLogicalUnitToTPG() 79 mp_ioctl.mp_ibuf = (caddr_t)&tpgPair; in MP_AssignLogicalUnitToTPG() 80 mp_ioctl.mp_ilen = sizeof (mp_lu_tpg_pair_t); in MP_AssignLogicalUnitToTPG() 81 mp_ioctl.mp_xfer = MP_XFER_WRITE; in MP_AssignLogicalUnitToTPG() 85 mp_ioctl.mp_cmd); in MP_AssignLogicalUnitToTPG() 87 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_AssignLogicalUnitToTPG() 105 mp_ioctl.mp_errno); in MP_AssignLogicalUnitToTPG() 109 } else if (0 == mp_ioctl.mp_errno) { in MP_AssignLogicalUnitToTPG() [all …]
|
H A D | MP_GetDeviceProductProperties.c | 42 mp_iocdata_t mp_ioctl; in MP_GetDeviceProductProperties() local 68 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in MP_GetDeviceProductProperties() 71 mp_ioctl.mp_cmd = MP_GET_DEV_PROD_PROP; in MP_GetDeviceProductProperties() 72 mp_ioctl.mp_ibuf = (caddr_t)&oid.objectSequenceNumber; in MP_GetDeviceProductProperties() 73 mp_ioctl.mp_ilen = sizeof (oid.objectSequenceNumber); in MP_GetDeviceProductProperties() 74 mp_ioctl.mp_obuf = (caddr_t)&devProdInfo; in MP_GetDeviceProductProperties() 75 mp_ioctl.mp_olen = sizeof (mp_dev_prod_prop_t); in MP_GetDeviceProductProperties() 76 mp_ioctl.mp_xfer = MP_XFER_READ; in MP_GetDeviceProductProperties() 78 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetDeviceProductProperties() 96 mp_ioctl.mp_errno); in MP_GetDeviceProductProperties() [all …]
|
H A D | MP_EnableAutoFailbackPlugin.c | 37 mp_iocdata_t mp_ioctl; in MP_EnableAutoFailbackPlugin() local 56 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in MP_EnableAutoFailbackPlugin() 59 mp_ioctl.mp_cmd = MP_ENABLE_AUTO_FAILBACK; in MP_EnableAutoFailbackPlugin() 60 mp_ioctl.mp_ibuf = (caddr_t)&chBuffer[0]; in MP_EnableAutoFailbackPlugin() 61 mp_ioctl.mp_xfer = MP_XFER_WRITE; in MP_EnableAutoFailbackPlugin() 65 mp_ioctl.mp_cmd); in MP_EnableAutoFailbackPlugin() 67 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_EnableAutoFailbackPlugin() 85 mp_ioctl.mp_errno); in MP_EnableAutoFailbackPlugin() 89 } else if (0 == mp_ioctl.mp_errno) { in MP_EnableAutoFailbackPlugin() 92 mpStatus = getStatus4ErrorCode(mp_ioctl.mp_errno); in MP_EnableAutoFailbackPlugin()
|
H A D | MP_DisableAutoFailbackPlugin.c | 42 mp_iocdata_t mp_ioctl; in MP_DisableAutoFailbackPlugin() local 63 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in MP_DisableAutoFailbackPlugin() 66 mp_ioctl.mp_cmd = MP_DISABLE_AUTO_FAILBACK; in MP_DisableAutoFailbackPlugin() 67 mp_ioctl.mp_ibuf = (caddr_t)&chBuffer[0]; in MP_DisableAutoFailbackPlugin() 68 mp_ioctl.mp_xfer = MP_XFER_WRITE; in MP_DisableAutoFailbackPlugin() 73 mp_ioctl.mp_cmd); in MP_DisableAutoFailbackPlugin() 75 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_DisableAutoFailbackPlugin() 93 mp_ioctl.mp_errno); in MP_DisableAutoFailbackPlugin() 97 } else if (0 == mp_ioctl.mp_errno) { in MP_DisableAutoFailbackPlugin() 100 mpStatus = getStatus4ErrorCode(mp_ioctl.mp_errno); in MP_DisableAutoFailbackPlugin()
|
H A D | MP_GetTargetPortGroupProperties.c | 60 mp_iocdata_t mp_ioctl; in getTargetPortGroupProperties() local 84 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in getTargetPortGroupProperties() 86 mp_ioctl.mp_cmd = MP_GET_TPG_PROP; in getTargetPortGroupProperties() 87 mp_ioctl.mp_ibuf = (caddr_t)&oid.objectSequenceNumber; in getTargetPortGroupProperties() 88 mp_ioctl.mp_ilen = sizeof (oid.objectSequenceNumber); in getTargetPortGroupProperties() 89 mp_ioctl.mp_obuf = (caddr_t)&tpgProps; in getTargetPortGroupProperties() 90 mp_ioctl.mp_olen = sizeof (mp_tpg_prop_t); in getTargetPortGroupProperties() 91 mp_ioctl.mp_xfer = MP_XFER_READ; in getTargetPortGroupProperties() 93 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in getTargetPortGroupProperties() 111 mp_ioctl.mp_errno); in getTargetPortGroupProperties() [all …]
|
H A D | MP_GetPathLogicalUnitProperties.c | 39 mp_iocdata_t mp_ioctl; in MP_GetPathLogicalUnitProperties() local 68 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in MP_GetPathLogicalUnitProperties() 71 mp_ioctl.mp_cmd = MP_GET_PATH_PROP; in MP_GetPathLogicalUnitProperties() 72 mp_ioctl.mp_ibuf = (caddr_t)&oid.objectSequenceNumber; in MP_GetPathLogicalUnitProperties() 73 mp_ioctl.mp_ilen = sizeof (oid.objectSequenceNumber); in MP_GetPathLogicalUnitProperties() 74 mp_ioctl.mp_obuf = (caddr_t)&pathInfo; in MP_GetPathLogicalUnitProperties() 75 mp_ioctl.mp_olen = sizeof (mp_path_prop_t); in MP_GetPathLogicalUnitProperties() 76 mp_ioctl.mp_xfer = MP_XFER_READ; in MP_GetPathLogicalUnitProperties() 78 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetPathLogicalUnitProperties() 96 mp_ioctl.mp_errno); in MP_GetPathLogicalUnitProperties() [all …]
|
H A D | MP_SetTPGAccess.c | 48 mp_iocdata_t mp_ioctl; in MP_SetTPGAccess() local 133 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in MP_SetTPGAccess() 144 mp_ioctl.mp_cmd = MP_SET_TPG_ACCESS_STATE; in MP_SetTPGAccess() 145 mp_ioctl.mp_ibuf = (caddr_t)&setTpgStateRequest; in MP_SetTPGAccess() 146 mp_ioctl.mp_ilen = sizeof (mp_set_tpg_state_req_t); in MP_SetTPGAccess() 147 mp_ioctl.mp_xfer = MP_XFER_WRITE; in MP_SetTPGAccess() 151 mp_ioctl.mp_cmd); in MP_SetTPGAccess() 165 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_SetTPGAccess() 183 mp_ioctl.mp_errno); in MP_SetTPGAccess() 187 } else if (0 == mp_ioctl.mp_errno) { in MP_SetTPGAccess() [all …]
|
H A D | MP_GetPluginPropertiesPlugin.c | 39 mp_iocdata_t mp_ioctl; in MP_GetPluginPropertiesPlugin() local 54 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in MP_GetPluginPropertiesPlugin() 57 mp_ioctl.mp_cmd = MP_GET_DRIVER_PROP; in MP_GetPluginPropertiesPlugin() 58 mp_ioctl.mp_obuf = (caddr_t)&driverInfo; in MP_GetPluginPropertiesPlugin() 59 mp_ioctl.mp_olen = sizeof (mp_driver_prop_t); in MP_GetPluginPropertiesPlugin() 60 mp_ioctl.mp_xfer = MP_XFER_READ; in MP_GetPluginPropertiesPlugin() 62 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetPluginPropertiesPlugin() 80 mp_ioctl.mp_errno); in MP_GetPluginPropertiesPlugin() 84 } else if (0 == mp_ioctl.mp_errno) { in MP_GetPluginPropertiesPlugin() 87 mpStatus = getStatus4ErrorCode(mp_ioctl.mp_errno); in MP_GetPluginPropertiesPlugin()
|
H A D | MP_GetMultipathLusDevProd.c | 128 mp_iocdata_t mp_ioctl; in MP_GetMultipathLusDevProd() local 149 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in MP_GetMultipathLusDevProd() 152 mp_ioctl.mp_cmd = MP_GET_DEV_PROD_PROP; in MP_GetMultipathLusDevProd() 153 mp_ioctl.mp_ibuf = (caddr_t)&oid.objectSequenceNumber; in MP_GetMultipathLusDevProd() 154 mp_ioctl.mp_ilen = sizeof (oid.objectSequenceNumber); in MP_GetMultipathLusDevProd() 155 mp_ioctl.mp_obuf = (caddr_t)&devProdInfo; in MP_GetMultipathLusDevProd() 156 mp_ioctl.mp_olen = sizeof (mp_dev_prod_prop_t); in MP_GetMultipathLusDevProd() 157 mp_ioctl.mp_xfer = MP_XFER_READ; in MP_GetMultipathLusDevProd() 159 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetMultipathLusDevProd() 177 mp_ioctl.mp_errno); in MP_GetMultipathLusDevProd() [all …]
|
H A D | MP_GetMPLogicalUnitProperties.c | 222 mp_iocdata_t mp_ioctl; in MP_GetMPLogicalUnitProperties() local 254 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in MP_GetMPLogicalUnitProperties() 257 mp_ioctl.mp_cmd = MP_GET_LU_PROP; in MP_GetMPLogicalUnitProperties() 258 mp_ioctl.mp_ibuf = (caddr_t)&oid.objectSequenceNumber; in MP_GetMPLogicalUnitProperties() 259 mp_ioctl.mp_ilen = sizeof (oid.objectSequenceNumber); in MP_GetMPLogicalUnitProperties() 260 mp_ioctl.mp_obuf = (caddr_t)&luInfo; in MP_GetMPLogicalUnitProperties() 261 mp_ioctl.mp_olen = sizeof (mp_logical_unit_prop_t); in MP_GetMPLogicalUnitProperties() 262 mp_ioctl.mp_xfer = MP_XFER_READ; in MP_GetMPLogicalUnitProperties() 264 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in MP_GetMPLogicalUnitProperties() 282 mp_ioctl.mp_errno); in MP_GetMPLogicalUnitProperties() [all …]
|
H A D | MP_GetMPLuOidListFromTPG.c | 159 mp_iocdata_t mp_ioctl; in getOidList() local 178 (void) memset(&mp_ioctl, 0, sizeof (mp_iocdata_t)); in getOidList() 181 mp_ioctl.mp_cmd = MP_GET_TARGET_PORT_PROP; in getOidList() 182 mp_ioctl.mp_ibuf = (caddr_t)&tpOSN; in getOidList() 183 mp_ioctl.mp_ilen = sizeof (tpOSN); in getOidList() 184 mp_ioctl.mp_obuf = (caddr_t)&tpInfo; in getOidList() 185 mp_ioctl.mp_olen = sizeof (mp_target_port_prop_t); in getOidList() 186 mp_ioctl.mp_xfer = MP_XFER_READ; in getOidList() 190 mp_ioctl.mp_cmd); in getOidList() 192 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl); in getOidList() [all …]
|