/titanic_41/usr/src/lib/libstmf/common/ |
H A D | stmf.c | 128 static int getDiskGlobalProp(uint32_t prop, char *propVal, size_t *propLen); 1732 stmfModifyLu(stmfGuid *luGuid, uint32_t prop, const char *propVal) in stmfModifyLu() argument 1747 ret = modifyDiskLuProp(luGuid, NULL, prop, propVal); in stmfModifyLu() 1773 const char *propVal) in stmfModifyLuByFname() argument 1781 ret = modifyDiskLuProp(NULL, fname, prop, propVal); in stmfModifyLuByFname() 1791 const char *propVal) in modifyDiskLuProp() argument 1806 ret = stmfSetLuProp(hdl, prop, propVal); in modifyDiskLuProp() 2122 stmfGetLuProp(luResource hdl, uint32_t prop, char *propVal, size_t *propLen) in stmfGetLuProp() argument 2126 if (hdl == NULL || propLen == NULL || propVal == NULL) { in stmfGetLuProp() 2131 ret = getDiskProp(luPropsHdl, prop, propVal, propLen); in stmfGetLuProp() [all …]
|
H A D | libstmf.h | 327 int stmfGetGlobalLuProp(uint16_t dType, uint32_t prop, char *propVal, 361 int stmfModifyLu(stmfGuid *luGuid, uint32_t prop, const char *propVal); 363 const char *propVal); 377 int stmfSetGlobalLuProp(uint16_t dType, uint32_t propType, const char *propVal); 378 int stmfSetLuProp(luResource hdl, uint32_t propType, const char *propVal); 384 int stmfSetStmfProp(uint8_t propType, char *propVal); 385 int stmfGetStmfProp(uint8_t propType, char *propVal, size_t *propLen);
|
H A D | store.h | 77 int psSetStmfProp(int propType, char *propVal); 78 int psGetStmfProp(int propType, char *propVal);
|
H A D | store.c | 2272 psSetStmfProp(int propType, char *propVal) in psSetStmfProp() argument 2274 return (iPsGetSetStmfProp(propType, propVal, SET)); in psSetStmfProp() 2278 psGetStmfProp(int propType, char *propVal) in psGetStmfProp() argument 2280 return (iPsGetSetStmfProp(propType, propVal, GET)); in psGetStmfProp() 2284 iPsGetSetStmfProp(int propType, char *propVal, int getSet) in iPsGetSetStmfProp() argument 2299 if (propVal == NULL || (getSet != GET && getSet != SET)) { in iPsGetSetStmfProp() 2348 if (strcasecmp(propVal, "online") == 0) { in iPsGetSetStmfProp() 2350 } else if (strcasecmp(propVal, in iPsGetSetStmfProp() 2360 if (strcasecmp(propVal, "online") == 0) { in iPsGetSetStmfProp() 2363 } else if (strcasecmp(propVal, in iPsGetSetStmfProp() [all …]
|
/titanic_41/usr/src/cmd/stmfadm/ |
H A D | stmfadm.c | 969 char *propVal = NULL; in modifyLuFunc() local 1013 propVal = strtok_r(NULL, "=", &lasts); in modifyLuFunc() 1022 if (propVal == NULL && in modifyLuFunc() 1030 if (propVal == NULL) { in modifyLuFunc() 1035 propVal, prop); in modifyLuFunc() 1061 callModify(char *fname, stmfGuid *luGuid, uint32_t prop, const char *propVal, in callModify() argument 1068 stmfRet = stmfModifyLu(luGuid, prop, propVal); in callModify() 1071 propVal); in callModify() 1240 char *propVal = NULL; in setLuPropFromInput() local 1246 if ((propVal = strtok_r(NULL, "=", &lasts)) == NULL) { in setLuPropFromInput() [all …]
|
/titanic_41/usr/src/cmd/sbdadm/ |
H A D | sbdadm.c | 470 callModify(char *fname, stmfGuid *luGuid, uint32_t prop, const char *propVal, in callModify() argument 477 stmfRet = stmfModifyLu(luGuid, prop, propVal); in callModify() 480 propVal); in callModify() 641 char propVal[MAXPATHLEN]; in print_lu_attr() local 642 size_t propValSize = sizeof (propVal); in print_lu_attr() 667 stmfRet = stmfGetLuProp(hdl, STMF_LU_PROP_SIZE, propVal, in print_lu_attr() 670 (void) printf(" %-19s ", propVal); in print_lu_attr() 678 stmfRet = stmfGetLuProp(hdl, STMF_LU_PROP_FILENAME, propVal, in print_lu_attr() 681 (void) printf("%s\n", propVal); in print_lu_attr()
|