Lines Matching refs:operands

260 addHostGroupMemberFunc(int operandLen, char *operands[], cmdOptions_t *options,  in addHostGroupMemberFunc()  argument
288 if (parseDevid(operands[i], &devid) != 0) { in addHostGroupMemberFunc()
290 cmdName, operands[i], in addHostGroupMemberFunc()
301 operands[i], gettext("already exists")); in addHostGroupMemberFunc()
316 operands[i], gettext("resource busy")); in addHostGroupMemberFunc()
331 operands[i], gettext("unknown error")); in addHostGroupMemberFunc()
348 addTargetGroupMemberFunc(int operandLen, char *operands[], in addTargetGroupMemberFunc() argument
376 if (parseDevid(operands[i], &devid) != 0) { in addTargetGroupMemberFunc()
378 cmdName, operands[i], in addTargetGroupMemberFunc()
389 operands[i], gettext("already exists")); in addTargetGroupMemberFunc()
404 operands[i], gettext("resource busy")); in addTargetGroupMemberFunc()
429 operands[i], gettext("unknown error")); in addTargetGroupMemberFunc()
602 addViewFunc(int operandLen, char *operands[], cmdOptions_t *options, in addViewFunc() argument
621 if (strlen(operands[0]) != GUID_INPUT) { in addViewFunc()
622 (void) fprintf(stderr, "%s: %s: %s%d%s\n", cmdName, operands[0], in addViewFunc()
666 sGuid[i] = tolower(operands[0][i]); in addViewFunc()
685 operands[0], gettext("already exists")); in addViewFunc()
690 operands[0], gettext("resource busy")); in addViewFunc()
735 operands[0], gettext("unknown error")); in addViewFunc()
751 createHostGroupFunc(int operandLen, char *operands[], in createHostGroupFunc() argument
759 (void) strlcpy(groupName, operands[0], sizeof (groupName)); in createHostGroupFunc()
769 operands[0], gettext("already exists")); in createHostGroupFunc()
774 operands[0], gettext("resource busy")); in createHostGroupFunc()
794 operands[0], gettext("unknown error")); in createHostGroupFunc()
810 createLuFunc(int operandLen, char *operands[], cmdOptions_t *options, in createLuFunc() argument
855 stmfRet = stmfSetLuProp(hdl, STMF_LU_PROP_FILENAME, operands[0]); in createLuFunc()
880 operands[0], gettext("in use")); in createLuFunc()
958 modifyLuFunc(int operandLen, char *operands[], cmdOptions_t *options, in modifyLuFunc() argument
979 fname = operands[0]; in modifyLuFunc()
986 if (!fnameUsed && strlen(operands[0]) != GUID_INPUT) { in modifyLuFunc()
987 (void) fprintf(stderr, "%s: %s: %s%d%s\n", cmdName, operands[0], in modifyLuFunc()
996 sGuid[i] = tolower(operands[0][i]); in modifyLuFunc()
1157 importLuFunc(int operandLen, char *operands[], cmdOptions_t *options, in importLuFunc() argument
1165 stmfRet = stmfImportLu(STMF_DISK, operands[0], &createdGuid); in importLuFunc()
1182 operands[0], gettext("in use")); in importLuFunc()
1322 deleteLuFunc(int operandLen, char *operands[], cmdOptions_t *options, in deleteLuFunc() argument
1355 if (!isxdigit(operands[i][j])) { in deleteLuFunc()
1359 sGuid[j] = tolower(operands[i][j]); in deleteLuFunc()
1362 (strlen(operands[i]) != GUID_INPUT)) { in deleteLuFunc()
1364 cmdName, operands[i], gettext("must be "), in deleteLuFunc()
1458 createTargetGroupFunc(int operandLen, char *operands[], cmdOptions_t *options, in createTargetGroupFunc() argument
1466 (void) strlcpy(groupName, operands[0], sizeof (groupName)); in createTargetGroupFunc()
1517 deleteHostGroupFunc(int operandLen, char *operands[], in deleteHostGroupFunc() argument
1525 (void) strlcpy(groupName, operands[0], sizeof (groupName)); in deleteHostGroupFunc()
1582 deleteTargetGroupFunc(int operandLen, char *operands[], cmdOptions_t *options, in deleteTargetGroupFunc() argument
1590 (void) strlcpy(groupName, operands[0], sizeof (groupName)); in deleteTargetGroupFunc()
1647 listHostGroupFunc(int operandLen, char *operands[], cmdOptions_t *options, in listHostGroupFunc() argument
1716 (void) mbstowcs(operandName, operands[i], in listHostGroupFunc()
1743 operands[i], gettext("not found")); in listHostGroupFunc()
1778 listTargetGroupFunc(int operandLen, char *operands[], cmdOptions_t *options, in listTargetGroupFunc() argument
1847 (void) mbstowcs(operandName, operands[i], in listTargetGroupFunc()
1874 operands[i], gettext("not found")); in listTargetGroupFunc()
1889 listLuFunc(int operandLen, char *operands[], cmdOptions_t *options, void *args) in listLuFunc() argument
1953 if (strlen(operands[i]) != GUID_INPUT) { in listLuFunc()
1957 if (!isxdigit(operands[i][j])) { in listLuFunc()
1965 cmdName, operands[i], gettext("must be "), in listLuFunc()
1973 sGuid[j] = tolower(operands[i][j]); in listLuFunc()
2038 operands[i], gettext("not found")); in listLuFunc()
2450 listStateFunc(int operandLen, char *operands[], cmdOptions_t *options, in listStateFunc() argument
2543 listTargetFunc(int operandLen, char *operands[], cmdOptions_t *options, in listTargetFunc() argument
2606 (void) parseDevid(operands[i], &devid); in listTargetFunc()
2655 operands[i], "not found"); in listTargetFunc()
2670 listViewFunc(int operandLen, char *operands[], cmdOptions_t *options, in listViewFunc() argument
2766 if (atoi(operands[i]) == in listViewFunc()
2807 sGuid, operands[i], gettext("not found")); in listViewFunc()
2941 onlineLuFunc(int operandLen, char *operands[], cmdOptions_t *options, in onlineLuFunc() argument
2956 return (onlineOfflineLu(operands[0], ONLINE_LU)); in onlineLuFunc()
2967 offlineLuFunc(int operandLen, char *operands[], cmdOptions_t *options, in offlineLuFunc() argument
2970 return (onlineOfflineLu(operands[0], OFFLINE_LU)); in offlineLuFunc()
3079 onlineTargetFunc(int operandLen, char *operands[], cmdOptions_t *options, in onlineTargetFunc() argument
3094 return (onlineOfflineTarget(operands[0], ONLINE_TARGET)); in onlineTargetFunc()
3105 offlineTargetFunc(int operandLen, char *operands[], cmdOptions_t *options, in offlineTargetFunc() argument
3108 return (onlineOfflineTarget(operands[0], OFFLINE_TARGET)); in offlineTargetFunc()
3114 removeHostGroupMemberFunc(int operandLen, char *operands[], in removeHostGroupMemberFunc() argument
3141 if (parseDevid(operands[i], &devid) != 0) { in removeHostGroupMemberFunc()
3143 cmdName, operands[i], in removeHostGroupMemberFunc()
3154 operands[i], gettext("not found")); in removeHostGroupMemberFunc()
3164 operands[i], "resource busy"); in removeHostGroupMemberFunc()
3184 operands[i], gettext("unknown error")); in removeHostGroupMemberFunc()
3201 removeTargetGroupMemberFunc(int operandLen, char *operands[], in removeTargetGroupMemberFunc() argument
3228 if (parseDevid(operands[i], &devid) != 0) { in removeTargetGroupMemberFunc()
3230 cmdName, operands[i], in removeTargetGroupMemberFunc()
3241 operands[i], gettext("not found")); in removeTargetGroupMemberFunc()
3251 operands[i], gettext("resource busy")); in removeTargetGroupMemberFunc()
3276 operands[i], gettext("unknown error")); in removeTargetGroupMemberFunc()
3293 removeViewFunc(int operandLen, char *operands[], cmdOptions_t *options, in removeViewFunc() argument
3406 veNbr = strtol(operands[i], &endPtr, 10); in removeViewFunc()
3409 operands[i], gettext("invalid input")); in removeViewFunc()