Lines Matching refs:ret

303 	int ret = STMF_PS_SUCCESS;  in iPsAddRemoveGroupMember()  local
313 ret = iPsInit(&handle, &svc); in iPsAddRemoveGroupMember()
314 if (ret != STMF_PS_SUCCESS) { in iPsAddRemoveGroupMember()
328 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
337 ret = STMF_PS_ERROR_NOT_FOUND; in iPsAddRemoveGroupMember()
339 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
353 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
367 ret = STMF_PS_ERROR_GROUP_NOT_FOUND; in iPsAddRemoveGroupMember()
369 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
383 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
394 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
404 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
420 ret = STMF_PS_ERROR_NOMEM; in iPsAddRemoveGroupMember()
432 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
445 ret = STMF_PS_ERROR_EXISTS; in iPsAddRemoveGroupMember()
460 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
470 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
480 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
494 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
507 ret = STMF_PS_ERROR_MEMBER_NOT_FOUND; in iPsAddRemoveGroupMember()
510 if (ret != STMF_PS_SUCCESS) { in iPsAddRemoveGroupMember()
526 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
538 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
548 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
562 ret = STMF_PS_ERROR_BUSY; in iPsAddRemoveGroupMember()
564 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
613 return (ret); in iPsAddRemoveGroupMember()
645 int ret = STMF_PS_SUCCESS; in iPsAddRemoveLuViewEntry() local
654 ret = iPsInit(&handle, &svc); in iPsAddRemoveLuViewEntry()
655 if (ret != STMF_PS_SUCCESS) { in iPsAddRemoveLuViewEntry()
669 ret = STMF_PS_ERROR; in iPsAddRemoveLuViewEntry()
682 ret = STMF_PS_ERROR; in iPsAddRemoveLuViewEntry()
686 ret = STMF_PS_SUCCESS; in iPsAddRemoveLuViewEntry()
689 ret = STMF_PS_ERROR_NOT_FOUND; in iPsAddRemoveLuViewEntry()
693 ret = STMF_PS_ERROR; in iPsAddRemoveLuViewEntry()
695 if (ret != STMF_PS_SUCCESS) { in iPsAddRemoveLuViewEntry()
707 ret = STMF_PS_ERROR; in iPsAddRemoveLuViewEntry()
720 ret = STMF_PS_ERROR_EXISTS; in iPsAddRemoveLuViewEntry()
726 ret = STMF_PS_ERROR; in iPsAddRemoveLuViewEntry()
740 ret = STMF_PS_ERROR; in iPsAddRemoveLuViewEntry()
750 ret = STMF_PS_ERROR; in iPsAddRemoveLuViewEntry()
760 ret = STMF_PS_ERROR; in iPsAddRemoveLuViewEntry()
770 ret = STMF_PS_ERROR; in iPsAddRemoveLuViewEntry()
793 ret = STMF_PS_ERROR; in iPsAddRemoveLuViewEntry()
813 ret = STMF_PS_ERROR; in iPsAddRemoveLuViewEntry()
824 ret = STMF_PS_ERROR; in iPsAddRemoveLuViewEntry()
835 ret = STMF_PS_ERROR_EXISTS; in iPsAddRemoveLuViewEntry()
841 ret = STMF_PS_ERROR; in iPsAddRemoveLuViewEntry()
853 ret = STMF_PS_ERROR_NOT_FOUND; in iPsAddRemoveLuViewEntry()
859 ret = STMF_PS_ERROR; in iPsAddRemoveLuViewEntry()
872 ret = STMF_PS_ERROR_BUSY; in iPsAddRemoveLuViewEntry()
874 ret = STMF_PS_ERROR; in iPsAddRemoveLuViewEntry()
908 return (ret); in iPsAddRemoveLuViewEntry()
932 int ret; in iPsAddViewEntry() local
947 ret = iPsInit(&handle, &svc); in iPsAddViewEntry()
948 if (ret != STMF_PS_SUCCESS) { in iPsAddViewEntry()
959 ret = STMF_PS_ERROR; in iPsAddViewEntry()
971 ret = STMF_PS_ERROR; in iPsAddViewEntry()
984 ret = STMF_PS_ERROR_EXISTS; in iPsAddViewEntry()
988 ret = STMF_PS_ERROR; in iPsAddViewEntry()
1005 ret = STMF_PS_ERROR; in iPsAddViewEntry()
1015 ret = STMF_PS_ERROR_EXISTS; in iPsAddViewEntry()
1020 ret = STMF_PS_ERROR; in iPsAddViewEntry()
1036 ret = STMF_PS_ERROR; in iPsAddViewEntry()
1048 ret = STMF_PS_ERROR_EXISTS; in iPsAddViewEntry()
1053 ret = STMF_PS_ERROR; in iPsAddViewEntry()
1065 ret = STMF_PS_ERROR; in iPsAddViewEntry()
1076 ret = STMF_PS_ERROR; in iPsAddViewEntry()
1088 ret = STMF_PS_ERROR_EXISTS; in iPsAddViewEntry()
1093 ret = STMF_PS_ERROR; in iPsAddViewEntry()
1111 ret = STMF_PS_ERROR; in iPsAddViewEntry()
1123 ret = STMF_PS_ERROR_EXISTS; in iPsAddViewEntry()
1128 ret = STMF_PS_ERROR; in iPsAddViewEntry()
1140 ret = STMF_PS_ERROR; in iPsAddViewEntry()
1151 ret = STMF_PS_ERROR; in iPsAddViewEntry()
1163 ret = STMF_PS_ERROR_EXISTS; in iPsAddViewEntry()
1168 ret = STMF_PS_ERROR; in iPsAddViewEntry()
1180 ret = STMF_PS_ERROR; in iPsAddViewEntry()
1190 ret = STMF_PS_ERROR; in iPsAddViewEntry()
1199 ret = iPsAddRemoveLuViewEntry(luPgName, viewEntryPgName, ADD); in iPsAddViewEntry()
1205 if (ret != STMF_PS_SUCCESS) { in iPsAddViewEntry()
1216 ret = STMF_PS_ERROR_BUSY; in iPsAddViewEntry()
1218 ret = STMF_PS_ERROR; in iPsAddViewEntry()
1222 if (ret != STMF_PS_SUCCESS) { in iPsAddViewEntry()
1254 if ((ret != STMF_PS_SUCCESS) && createdVePg) { in iPsAddViewEntry()
1278 return (ret); in iPsAddViewEntry()
1292 int ret = STMF_PS_SUCCESS; in psClearProviderData() local
1297 ret = STMF_PS_ERROR_INVALID_ARG; in psClearProviderData()
1301 ret = iPsInit(&handle, &svc); in psClearProviderData()
1302 if (ret != STMF_PS_SUCCESS) { in psClearProviderData()
1312 ret = STMF_PS_ERROR; in psClearProviderData()
1329 ret = STMF_PS_ERROR; in psClearProviderData()
1339 ret = STMF_PS_ERROR; in psClearProviderData()
1344 ret = STMF_PS_ERROR_NOT_FOUND; in psClearProviderData()
1361 return (ret); in psClearProviderData()
1397 int ret = STMF_PS_SUCCESS; in iPsCreateDeleteGroup() local
1402 ret = iPsInit(&handle, &svc); in iPsCreateDeleteGroup()
1403 if (ret != STMF_PS_SUCCESS) { in iPsCreateDeleteGroup()
1419 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1433 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1438 ret = STMF_PS_ERROR_NOT_FOUND; in iPsCreateDeleteGroup()
1442 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1444 if (ret != STMF_PS_SUCCESS) { in iPsCreateDeleteGroup()
1455 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1467 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1479 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1486 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1493 ret = STMF_PS_ERROR_EXISTS; in iPsCreateDeleteGroup()
1503 if (ret != STMF_PS_SUCCESS) { in iPsCreateDeleteGroup()
1510 ret = STMF_PS_ERROR_NOT_FOUND; in iPsCreateDeleteGroup()
1525 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1533 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1547 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1561 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1575 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1581 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1587 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1599 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1611 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1622 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1627 if (ret != STMF_PS_SUCCESS) { in iPsCreateDeleteGroup()
1635 ret = STMF_PS_ERROR_BUSY; in iPsCreateDeleteGroup()
1637 ret = STMF_PS_ERROR; in iPsCreateDeleteGroup()
1673 return (ret); in iPsCreateDeleteGroup()
1699 int ret = STMF_PS_SUCCESS; in iPsGetGroupList() local
1703 ret = iPsInit(&handle, &svc); in iPsGetGroupList()
1704 if (ret != STMF_PS_SUCCESS) { in iPsGetGroupList()
1717 ret = STMF_PS_ERROR; in iPsGetGroupList()
1725 ret = STMF_PS_ERROR_NOT_FOUND; in iPsGetGroupList()
1729 ret = STMF_PS_ERROR; in iPsGetGroupList()
1740 ret = STMF_PS_ERROR; in iPsGetGroupList()
1748 ret = STMF_PS_ERROR; in iPsGetGroupList()
1766 ret = STMF_PS_ERROR; in iPsGetGroupList()
1774 ret = STMF_PS_ERROR_NOMEM; in iPsGetGroupList()
1791 ret = STMF_PS_ERROR; in iPsGetGroupList()
1803 ret = STMF_PS_ERROR; in iPsGetGroupList()
1809 ret = STMF_PS_ERROR; in iPsGetGroupList()
1816 if (ret != STMF_PS_SUCCESS) { in iPsGetGroupList()
1844 return (ret); in iPsGetGroupList()
1872 int ret = STMF_PS_SUCCESS; in iPsGetGroupMemberList() local
1880 ret = iPsInit(&handle, &svc); in iPsGetGroupMemberList()
1881 if (ret != STMF_PS_SUCCESS) { in iPsGetGroupMemberList()
1894 ret = STMF_PS_ERROR; in iPsGetGroupMemberList()
1903 ret = STMF_PS_ERROR_NOT_FOUND; in iPsGetGroupMemberList()
1905 ret = STMF_PS_ERROR; in iPsGetGroupMemberList()
1919 ret = STMF_PS_ERROR; in iPsGetGroupMemberList()
1929 ret = STMF_PS_ERROR; in iPsGetGroupMemberList()
1937 ret = STMF_PS_ERROR; in iPsGetGroupMemberList()
1949 ret = STMF_PS_ERROR; in iPsGetGroupMemberList()
1958 ret = STMF_PS_ERROR_NOMEM; in iPsGetGroupMemberList()
1969 ret = STMF_PS_ERROR; in iPsGetGroupMemberList()
1978 ret = STMF_PS_ERROR; in iPsGetGroupMemberList()
1983 if (ret != STMF_PS_SUCCESS) { in iPsGetGroupMemberList()
2011 return (ret); in iPsGetGroupMemberList()
2019 int ret; in psGetServicePersist() local
2022 ret = iPsInit(&handle, &svc); in psGetServicePersist()
2023 if (ret != STMF_PS_SUCCESS) { in psGetServicePersist()
2027 ret = iPsGetSetPersistType(persistType, handle, svc, GET); in psGetServicePersist()
2038 return (ret); in psGetServicePersist()
2046 int ret; in psSetServicePersist() local
2049 ret = iPsInit(&handle, &svc); in psSetServicePersist()
2050 if (ret != STMF_PS_SUCCESS) { in psSetServicePersist()
2054 ret = iPsGetSetPersistType(&persistType, handle, svc, SET); in psSetServicePersist()
2065 return (ret); in psSetServicePersist()
2079 int ret = STMF_PS_SUCCESS; in iPsGetSetPersistType() local
2089 ret = STMF_PS_ERROR; in iPsGetSetPersistType()
2105 ret = STMF_PS_ERROR; in iPsGetSetPersistType()
2115 ret = STMF_PS_ERROR_NOT_FOUND; in iPsGetSetPersistType()
2117 ret = STMF_PS_ERROR; in iPsGetSetPersistType()
2131 ret = STMF_PS_ERROR_NOT_FOUND; in iPsGetSetPersistType()
2136 ret = STMF_PS_ERROR; in iPsGetSetPersistType()
2142 if (ret == STMF_PS_ERROR_NOT_FOUND || getSet == SET) { in iPsGetSetPersistType()
2154 ret = STMF_PS_ERROR; in iPsGetSetPersistType()
2159 if (ret) { in iPsGetSetPersistType()
2166 ret = STMF_PS_ERROR; in iPsGetSetPersistType()
2176 ret = STMF_PS_ERROR; in iPsGetSetPersistType()
2188 ret = STMF_PS_ERROR; in iPsGetSetPersistType()
2199 ret = STMF_PS_ERROR; in iPsGetSetPersistType()
2206 ret = STMF_PS_ERROR_BUSY; in iPsGetSetPersistType()
2208 ret = STMF_PS_ERROR; in iPsGetSetPersistType()
2213 ret = STMF_PS_SUCCESS; in iPsGetSetPersistType()
2220 ret = STMF_PS_ERROR; in iPsGetSetPersistType()
2232 ret = STMF_PS_ERROR; in iPsGetSetPersistType()
2243 ret = STMF_PS_ERROR; in iPsGetSetPersistType()
2268 return (ret); in iPsGetSetPersistType()
2296 int ret = STMF_PS_SUCCESS; in iPsGetSetStmfProp() local
2300 ret = STMF_PS_ERROR; in iPsGetSetStmfProp()
2308 ret = iPsInit(&handle, &svc); in iPsGetSetStmfProp()
2309 if (ret != STMF_PS_SUCCESS) { in iPsGetSetStmfProp()
2324 ret = STMF_PS_ERROR; in iPsGetSetStmfProp()
2340 ret = STMF_PS_ERROR; in iPsGetSetStmfProp()
2354 ret = STMF_PS_ERROR; in iPsGetSetStmfProp()
2368 ret = STMF_PS_ERROR; in iPsGetSetStmfProp()
2373 ret = STMF_PS_ERROR; in iPsGetSetStmfProp()
2384 ret = STMF_PS_ERROR_NOT_FOUND; in iPsGetSetStmfProp()
2386 ret = STMF_PS_ERROR; in iPsGetSetStmfProp()
2399 ret = STMF_PS_ERROR_NOT_FOUND; in iPsGetSetStmfProp()
2404 ret = STMF_PS_ERROR; in iPsGetSetStmfProp()
2411 if (ret == STMF_PS_ERROR_NOT_FOUND || getSet == SET) { in iPsGetSetStmfProp()
2418 ret = STMF_PS_ERROR; in iPsGetSetStmfProp()
2421 if (ret) { in iPsGetSetStmfProp()
2427 ret = STMF_PS_ERROR; in iPsGetSetStmfProp()
2438 ret = STMF_PS_ERROR; in iPsGetSetStmfProp()
2451 ret = STMF_PS_ERROR; in iPsGetSetStmfProp()
2463 ret = STMF_PS_ERROR; in iPsGetSetStmfProp()
2471 ret = STMF_PS_ERROR_BUSY; in iPsGetSetStmfProp()
2473 ret = STMF_PS_ERROR; in iPsGetSetStmfProp()
2477 ret = STMF_PS_SUCCESS; in iPsGetSetStmfProp()
2484 ret = STMF_PS_ERROR; in iPsGetSetStmfProp()
2495 ret = STMF_PS_ERROR; in iPsGetSetStmfProp()
2511 ret = STMF_PS_ERROR; in iPsGetSetStmfProp()
2541 return (ret); in iPsGetSetStmfProp()
2556 int ret; in iPsInit() local
2563 ret = STMF_PS_ERROR; in iPsInit()
2570 ret = STMF_PS_ERROR; in iPsInit()
2577 ret = STMF_PS_ERROR; in iPsInit()
2584 ret = STMF_PS_ERROR; in iPsInit()
2591 ret = STMF_PS_ERROR; in iPsInit()
2598 ret = STMF_PS_ERROR_SERVICE_NOT_FOUND; in iPsInit()
2606 ret = iPsGetServiceVersion(&version, *handle, *service); in iPsInit()
2607 if (ret != STMF_PS_SUCCESS) { in iPsInit()
2612 ret = STMF_PS_ERROR_VERSION_MISMATCH; in iPsInit()
2632 return (ret); in iPsInit()
2649 int ret = STMF_PS_SUCCESS; in iPsGetServiceVersion() local
2659 ret = STMF_PS_ERROR; in iPsGetServiceVersion()
2670 ret = STMF_PS_ERROR_NOT_FOUND; in iPsGetServiceVersion()
2674 ret = STMF_PS_ERROR; in iPsGetServiceVersion()
2680 if (ret == STMF_PS_ERROR_NOT_FOUND) { in iPsGetServiceVersion()
2688 ret = STMF_PS_ERROR; in iPsGetServiceVersion()
2692 ret = STMF_PS_SUCCESS; in iPsGetServiceVersion()
2701 ret = STMF_PS_ERROR_NOT_FOUND; in iPsGetServiceVersion()
2706 ret = STMF_PS_ERROR; in iPsGetServiceVersion()
2712 if (ret == STMF_PS_ERROR_NOT_FOUND) { in iPsGetServiceVersion()
2729 ret = STMF_PS_ERROR; in iPsGetServiceVersion()
2739 ret = STMF_PS_ERROR; in iPsGetServiceVersion()
2755 ret = STMF_PS_ERROR; in iPsGetServiceVersion()
2762 ret = STMF_PS_ERROR_BUSY; in iPsGetServiceVersion()
2764 ret = STMF_PS_ERROR; in iPsGetServiceVersion()
2769 ret = STMF_PS_SUCCESS; in iPsGetServiceVersion()
2776 ret = STMF_PS_ERROR; in iPsGetServiceVersion()
2784 ret = STMF_PS_ERROR; in iPsGetServiceVersion()
2795 ret = STMF_PS_ERROR; in iPsGetServiceVersion()
2821 return (ret); in iPsGetServiceVersion()
2847 int ret; in iPsGetActualGroupName() local
2849 ret = iPsInit(&handle, &svc); in iPsGetActualGroupName()
2850 if (ret != STMF_PS_SUCCESS) { in iPsGetActualGroupName()
2863 ret = STMF_PS_ERROR; in iPsGetActualGroupName()
2872 ret = STMF_PS_ERROR_GROUP_NOT_FOUND; in iPsGetActualGroupName()
2876 ret = STMF_PS_ERROR; in iPsGetActualGroupName()
2887 ret = STMF_PS_ERROR; in iPsGetActualGroupName()
2898 ret = STMF_PS_ERROR_GROUP_NOT_FOUND; in iPsGetActualGroupName()
2903 ret = STMF_PS_ERROR; in iPsGetActualGroupName()
2915 ret = STMF_PS_ERROR; in iPsGetActualGroupName()
2921 ret = STMF_PS_ERROR; in iPsGetActualGroupName()
2930 ret = STMF_PS_SUCCESS; in iPsGetActualGroupName()
2962 return (ret); in iPsGetActualGroupName()
2976 int ret; in psAddHostGroupMember() local
2980 ret = iPsGetActualGroupName(STMF_HOST_GROUPS, groupName, in psAddHostGroupMember()
2982 if (ret != STMF_PS_SUCCESS) { in psAddHostGroupMember()
2983 return (ret); in psAddHostGroupMember()
3009 int ret; in psAddTargetGroupMember() local
3013 ret = iPsGetActualGroupName(STMF_TARGET_GROUPS, groupName, in psAddTargetGroupMember()
3015 if (ret != STMF_PS_SUCCESS) { in psAddTargetGroupMember()
3016 return (ret); in psAddTargetGroupMember()
3052 int ret = STMF_PS_SUCCESS; in psAddViewEntry() local
3066 ret = iPsInit(&handle, &svc); in psAddViewEntry()
3067 if (ret != STMF_PS_SUCCESS) { in psAddViewEntry()
3075 ret = STMF_PS_ERROR; in psAddViewEntry()
3098 ret = iPsAddViewEntry(scfLuPgName, viewEntryPgName, viewEntry); in psAddViewEntry()
3129 return (ret); in psAddViewEntry()
3141 int ret; in psCheckService() local
3145 ret = iPsInit(&handle, &svc); in psCheckService()
3157 return (ret); in psCheckService()
3252 int ret = STMF_PS_SUCCESS; in psGetLogicalUnitList() local
3258 ret = iPsInit(&handle, &svc); in psGetLogicalUnitList()
3259 if (ret != STMF_PS_SUCCESS) { in psGetLogicalUnitList()
3270 ret = STMF_PS_ERROR; in psGetLogicalUnitList()
3280 ret = STMF_PS_ERROR; in psGetLogicalUnitList()
3288 ret = STMF_PS_ERROR; in psGetLogicalUnitList()
3305 ret = STMF_PS_ERROR; in psGetLogicalUnitList()
3312 ret = STMF_PS_ERROR_NOMEM; in psGetLogicalUnitList()
3325 ret = STMF_PS_ERROR; in psGetLogicalUnitList()
3351 if (ret != STMF_PS_SUCCESS) { in psGetLogicalUnitList()
3373 return (ret); in psGetLogicalUnitList()
3405 int ret; in psGetHostGroupMemberList() local
3409 ret = iPsGetActualGroupName(STMF_HOST_GROUPS, groupName, in psGetHostGroupMemberList()
3411 if (ret != STMF_PS_SUCCESS) { in psGetHostGroupMemberList()
3412 return (ret); in psGetHostGroupMemberList()
3441 int ret; in psGetTargetGroupMemberList() local
3445 ret = iPsGetActualGroupName(STMF_TARGET_GROUPS, groupName, in psGetTargetGroupMemberList()
3447 if (ret != STMF_PS_SUCCESS) { in psGetTargetGroupMemberList()
3448 return (ret); in psGetTargetGroupMemberList()
3502 int ret = STMF_PS_SUCCESS; in psGetViewEntryList() local
3507 ret = iPsInit(&handle, &svc); in psGetViewEntryList()
3508 if (ret != STMF_PS_SUCCESS) { in psGetViewEntryList()
3521 ret = STMF_PS_ERROR; in psGetViewEntryList()
3540 ret = STMF_PS_ERROR_NOT_FOUND; in psGetViewEntryList()
3544 ret = STMF_PS_ERROR; in psGetViewEntryList()
3553 ret = STMF_PS_ERROR; in psGetViewEntryList()
3560 ret = STMF_PS_ERROR; in psGetViewEntryList()
3570 ret = STMF_PS_ERROR; in psGetViewEntryList()
3580 ret = STMF_PS_ERROR; in psGetViewEntryList()
3590 ret = STMF_PS_ERROR_NOMEM; in psGetViewEntryList()
3612 ret = STMF_PS_ERROR; in psGetViewEntryList()
3616 if ((ret = iPsGetViewEntry(viewEntryPgName, in psGetViewEntryList()
3628 ret = STMF_PS_ERROR; in psGetViewEntryList()
3634 if (ret != STMF_PS_SUCCESS) { in psGetViewEntryList()
3670 return (ret); in psGetViewEntryList()
3694 int ret = STMF_PS_SUCCESS; in iPsGetViewEntry() local
3697 ret = iPsInit(&handle, &svc); in iPsGetViewEntry()
3698 if (ret != STMF_PS_SUCCESS) { in iPsGetViewEntry()
3710 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3721 ret = STMF_PS_ERROR_NOT_FOUND; in iPsGetViewEntry()
3725 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3737 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3752 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3760 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3769 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3780 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3788 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3797 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3809 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3817 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3826 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3836 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3844 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3853 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3865 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3873 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3883 ret = STMF_PS_ERROR; in iPsGetViewEntry()
3909 return (ret); in iPsGetViewEntry()
3928 int ret; in psRemoveHostGroupMember() local
3932 ret = iPsGetActualGroupName(STMF_HOST_GROUPS, groupName, in psRemoveHostGroupMember()
3934 if (ret != STMF_PS_SUCCESS) { in psRemoveHostGroupMember()
3935 return (ret); in psRemoveHostGroupMember()
3965 int ret; in psRemoveTargetGroupMember() local
3969 ret = iPsGetActualGroupName(STMF_TARGET_GROUPS, groupName, in psRemoveTargetGroupMember()
3971 if (ret != STMF_PS_SUCCESS) { in psRemoveTargetGroupMember()
3972 return (ret); in psRemoveTargetGroupMember()
4014 int ret = STMF_PS_SUCCESS; in psGetProviderData() local
4018 ret = STMF_PS_ERROR_INVALID_ARG; in psGetProviderData()
4022 ret = iPsInit(&handle, &svc); in psGetProviderData()
4023 if (ret != STMF_PS_SUCCESS) { in psGetProviderData()
4041 ret = STMF_PS_ERROR; in psGetProviderData()
4052 ret = STMF_PS_ERROR; in psGetProviderData()
4055 ret = STMF_PS_ERROR_NOT_FOUND; in psGetProviderData()
4068 ret = STMF_PS_ERROR; in psGetProviderData()
4079 ret = STMF_PS_ERROR; in psGetProviderData()
4090 ret = STMF_PS_ERROR; in psGetProviderData()
4110 ret = STMF_PS_ERROR; in psGetProviderData()
4124 ret = STMF_PS_ERROR; in psGetProviderData()
4137 ret = STMF_PS_ERROR; in psGetProviderData()
4147 ret = STMF_PS_ERROR_NOMEM; in psGetProviderData()
4163 ret = STMF_PS_ERROR; in psGetProviderData()
4171 ret = STMF_PS_ERROR; in psGetProviderData()
4185 ret = STMF_PS_ERROR; in psGetProviderData()
4193 ret = STMF_PS_ERROR; in psGetProviderData()
4221 return (ret); in psGetProviderData()
4246 int ret = STMF_PS_SUCCESS; in psGetProviderDataList() local
4248 ret = iPsInit(&handle, &svc); in psGetProviderDataList()
4249 if (ret != STMF_PS_SUCCESS) { in psGetProviderDataList()
4264 ret = STMF_PS_ERROR; in psGetProviderDataList()
4274 ret = STMF_PS_ERROR; in psGetProviderDataList()
4282 ret = STMF_PS_ERROR; in psGetProviderDataList()
4300 ret = STMF_PS_ERROR; in psGetProviderDataList()
4307 ret = STMF_PS_ERROR_NOMEM; in psGetProviderDataList()
4320 ret = STMF_PS_ERROR; in psGetProviderDataList()
4339 ret = STMF_PS_ERROR; in psGetProviderDataList()
4350 ret = STMF_PS_ERROR; in psGetProviderDataList()
4361 ret = STMF_PS_ERROR; in psGetProviderDataList()
4377 if (ret != STMF_PS_SUCCESS) { in psGetProviderDataList()
4405 return (ret); in psGetProviderDataList()
4460 int ret = STMF_PS_SUCCESS; in psSetProviderData() local
4465 ret = STMF_PS_ERROR_INVALID_ARG; in psSetProviderData()
4469 ret = iPsInit(&handle, &svc); in psSetProviderData()
4470 if (ret != STMF_PS_SUCCESS) { in psSetProviderData()
4498 ret = STMF_PS_ERROR; in psSetProviderData()
4509 ret = STMF_PS_ERROR; in psSetProviderData()
4519 ret = STMF_PS_ERROR; in psSetProviderData()
4532 ret = STMF_PS_ERROR; in psSetProviderData()
4545 ret = STMF_PS_ERROR; in psSetProviderData()
4556 ret = STMF_PS_ERROR; in psSetProviderData()
4567 ret = STMF_PS_ERROR; in psSetProviderData()
4585 ret = STMF_PS_ERROR; in psSetProviderData()
4598 ret = STMF_PS_ERROR; in psSetProviderData()
4609 ret = STMF_PS_ERROR; in psSetProviderData()
4617 ret = STMF_PS_ERROR_PROV_DATA_STALE; in psSetProviderData()
4631 ret = STMF_PS_ERROR_NOMEM; in psSetProviderData()
4645 ret = STMF_PS_ERROR_NOMEM; in psSetProviderData()
4653 ret = STMF_PS_ERROR_NOMEM; in psSetProviderData()
4669 ret = STMF_PS_ERROR_NOMEM; in psSetProviderData()
4684 ret = STMF_PS_ERROR; in psSetProviderData()
4710 ret = STMF_PS_ERROR; in psSetProviderData()
4718 ret = STMF_PS_ERROR; in psSetProviderData()
4729 ret = STMF_PS_ERROR; in psSetProviderData()
4752 ret = STMF_PS_ERROR; in psSetProviderData()
4762 ret = STMF_PS_ERROR; in psSetProviderData()
4779 ret = STMF_PS_ERROR; in psSetProviderData()
4797 ret = STMF_PS_ERROR; in psSetProviderData()
4812 ret = STMF_PS_ERROR; in psSetProviderData()
4820 ret = STMF_PS_ERROR; in psSetProviderData()
4828 ret = STMF_PS_ERROR; in psSetProviderData()
4844 ret = STMF_PS_ERROR; in psSetProviderData()
4852 ret = STMF_PS_ERROR; in psSetProviderData()
4863 ret = STMF_PS_ERROR; in psSetProviderData()
4879 ret = STMF_PS_ERROR; in psSetProviderData()
4887 ret = STMF_PS_ERROR; in psSetProviderData()
4900 ret = STMF_PS_ERROR; in psSetProviderData()
4916 ret = STMF_PS_ERROR; in psSetProviderData()
4923 ret = STMF_PS_ERROR; in psSetProviderData()
4934 ret = STMF_PS_ERROR; in psSetProviderData()
4941 ret = STMF_PS_ERROR; in psSetProviderData()
4950 ret = STMF_PS_ERROR_BUSY; in psSetProviderData()
4952 ret = STMF_PS_ERROR; in psSetProviderData()
4958 if (ret == STMF_PS_SUCCESS && setToken) { in psSetProviderData()
5024 return (ret); in psSetProviderData()
5047 int ret = STMF_PS_SUCCESS; in psGetViewEntry() local
5049 ret = iPsInit(&handle, &svc); in psGetViewEntry()
5050 if (ret != STMF_PS_SUCCESS) { in psGetViewEntry()
5058 ret = STMF_PS_ERROR; in psGetViewEntry()
5082 ret = STMF_PS_ERROR_NOT_FOUND; in psGetViewEntry()
5086 ret = STMF_PS_ERROR; in psGetViewEntry()
5092 if ((ret = iPsGetViewEntry(viewEntryPgName, ve)) != STMF_PS_SUCCESS) { in psGetViewEntry()
5093 ret = STMF_PS_ERROR; in psGetViewEntry()
5111 return (ret); in psGetViewEntry()
5135 int ret = STMF_PS_SUCCESS; in psRemoveViewEntry() local
5149 ret = iPsInit(&handle, &svc); in psRemoveViewEntry()
5150 if (ret != STMF_PS_SUCCESS) { in psRemoveViewEntry()
5158 ret = STMF_PS_ERROR; in psRemoveViewEntry()
5182 ret = STMF_PS_ERROR_NOT_FOUND; in psRemoveViewEntry()
5186 ret = STMF_PS_ERROR; in psRemoveViewEntry()
5197 if ((ret = iPsAddRemoveLuViewEntry(luPgName, viewEntryPgName, in psRemoveViewEntry()
5210 if ((ret = iPsAddRemoveLuViewEntry(luPgName, viewEntryPgName, in psRemoveViewEntry()
5216 ret = STMF_PS_ERROR; in psRemoveViewEntry()
5249 return (ret); in psRemoveViewEntry()
5343 int ret = 0; in releaseSignal() local
5346 ret = 1; in releaseSignal()
5350 ret = 1; in releaseSignal()
5354 ret = 1; in releaseSignal()
5384 return (ret); in releaseSignal()