Lines Matching defs:luGuid

120 static int deleteDiskLu(stmfGuid *luGuid);
122 static int getDiskAllProps(stmfGuid *luGuid, luResource *hdl);
142 static int setDiskStandby(stmfGuid *luGuid);
1053 * luGuid - If non-NULL, on success, contains the guid of the created logical
1057 stmfCreateLu(luResource hdl, stmfGuid *luGuid)
1068 luGuid);
1227 bcopy(disk->luGuid, sbdLu->slu_guid, sizeof (disk->luGuid));
1336 * luGuid - If non-NULL, on success, contains the guid of the imported logical
1343 stmfImportLu(uint16_t dType, char *fname, stmfGuid *luGuid)
1348 ret = importDiskLu(fname, luGuid);
1552 * luGuid - If non-NULL, on success, contains the guid of the created logical
1556 stmfDeleteLu(stmfGuid *luGuid)
1561 if (luGuid == NULL) {
1566 if ((ret = stmfGetLogicalUnitProperties(luGuid, &luProps))
1571 ret = deleteDiskLu(luGuid);
1583 deleteDiskLu(stmfGuid *luGuid)
1599 ret = removeGuidFromDiskStore(luGuid);
1604 bcopy(luGuid, deleteLu.dlu_guid, sizeof (deleteLu.dlu_guid));
1643 * luGuid - guid of registered logical unit
1647 stmfLuStandby(stmfGuid *luGuid)
1652 if (luGuid == NULL) {
1657 if ((ret = stmfGetLogicalUnitProperties(luGuid, &luProps))
1662 ret = setDiskStandby(luGuid);
1674 setDiskStandby(stmfGuid *luGuid)
1689 bcopy(luGuid, &sbdLu.stlu_guid, sizeof (stmfGuid));
1726 * luGuid - guid of registered logical unit
1732 stmfModifyLu(stmfGuid *luGuid, uint32_t prop, const char *propVal)
1737 if (luGuid == NULL) {
1742 if ((ret = stmfGetLogicalUnitProperties(luGuid, &luProps))
1747 ret = modifyDiskLuProp(luGuid, NULL, prop, propVal);
1790 modifyDiskLuProp(stmfGuid *luGuid, const char *fname, uint32_t prop,
1812 ret = modifyDiskLu((diskResource *)luPropsHdl->resource, luGuid, fname);
1833 modifyDiskLu(diskResource *disk, stmfGuid *luGuid, const char *fname)
1848 if (luGuid == NULL && fname == NULL) {
1922 if (luGuid) {
1923 bcopy(luGuid, sbdLu->mlu_input_guid, sizeof (stmfGuid));
2147 stmfGetLuResource(stmfGuid *luGuid, luResource *hdl)
2157 if ((ret = stmfGetLogicalUnitProperties(luGuid, &luProps))
2162 ret = getDiskAllProps(luGuid, hdl);
2178 * luGuid - guid of disk device for which properties are to be retrieved
2183 getDiskAllProps(stmfGuid *luGuid, luResource *hdl)
2222 bcopy(luGuid, sbdProps->slp_guid, sizeof (sbdProps->slp_guid));
2277 bcopy(sbdProps->slp_guid, diskLu->luGuid, sizeof (sbdProps->slp_guid));
2740 diskLu->luGuid[0], diskLu->luGuid[1],
2741 diskLu->luGuid[2], diskLu->luGuid[3],
2742 diskLu->luGuid[4], diskLu->luGuid[5],
2743 diskLu->luGuid[6], diskLu->luGuid[7],
2744 diskLu->luGuid[8], diskLu->luGuid[9],
2745 diskLu->luGuid[10], diskLu->luGuid[11],
2746 diskLu->luGuid[12], diskLu->luGuid[13],
2747 diskLu->luGuid[14], diskLu->luGuid[15]);
2958 for (i = 0; i < sizeof (diskLu->luGuid); i++) {
2959 diskLu->luGuid[i] = guid[i];