Home
last modified time | relevance | path

Searched refs:mp_ioctl (Results 1 – 22 of 22) sorted by relevance

/titanic_50/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A DMP_GetAssociatedTPGOidList.c53 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 DMP_GetTargetPortOidList.c58 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 DMP_GetDeviceProductOidListPlugin.c41 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 DMP_GetProprietaryLBOidListPlugin.c37 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 DMP_GetAssociatedPathOidList.c219 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 DSun_MP_SendScsiCmd.c42 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 DMP_GetTargetPortProperties.c40 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 DMP_DisablePath.c41 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 DMP_EnablePath.c42 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 DMP_GetInitiatorPortProperties.c39 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 DMP_GetProprietaryLBProp.c39 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 DMP_AssignLogicalUnitToTPG.c44 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 DMP_GetDeviceProductProperties.c42 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 DMP_EnableAutoFailbackPlugin.c37 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 DMP_DisableAutoFailbackPlugin.c42 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 DMP_GetTargetPortGroupProperties.c60 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 DMP_GetPathLogicalUnitProperties.c39 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 DMP_SetTPGAccess.c48 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 DMP_GetPluginPropertiesPlugin.c39 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 DMP_GetMultipathLusDevProd.c128 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 DMP_GetMPLogicalUnitProperties.c222 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 DMP_GetMPLuOidListFromTPG.c159 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 …]