Lines Matching refs:ret

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