Lines Matching refs:scf_set_error
366 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
542 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
742 return (scf_set_error(SCF_ERROR_NOT_BOUND)); \
745 return (scf_set_error(SCF_ERROR_CONNECTION_BROKEN)); \
748 return (scf_set_error(SCF_ERROR_INTERNAL)); \
835 (void) scf_set_error(SCF_ERROR_VERSION_MISMATCH);
840 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
846 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
858 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
887 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
936 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
941 return (scf_set_error(SCF_ERROR_IN_USE));
976 return (scf_set_error(
1000 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
1015 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
1018 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
1096 return (scf_set_error(SCF_ERROR_HANDLE_DESTROYED));
1111 return (scf_set_error(SCF_ERROR_INTERNAL));
1114 return (scf_set_error(proto_error(response.rpr_response)));
1137 return (scf_set_error(SCF_ERROR_HANDLE_DESTROYED));
1151 return (scf_set_error(SCF_ERROR_INTERNAL));
1154 return (scf_set_error(proto_error(response.rpr_response)));
1194 return (scf_set_error(SCF_ERROR_IN_USE));
1210 return (scf_set_error(SCF_ERROR_IN_USE));
1221 return (scf_set_error(SCF_ERROR_NO_SERVER));
1241 return (scf_set_error(SCF_ERROR_NO_SERVER));
1243 return (scf_set_error(SCF_ERROR_INTERNAL));
1251 return (scf_set_error(SCF_ERROR_VERSION_MISMATCH));
1254 return (scf_set_error(SCF_ERROR_VERSION_MISMATCH));
1257 return (scf_set_error(SCF_ERROR_VERSION_MISMATCH));
1260 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
1263 return (scf_set_error(SCF_ERROR_NO_RESOURCES));
1266 return (scf_set_error(SCF_ERROR_PERMISSION_DENIED));
1269 return (scf_set_error(SCF_ERROR_VERSION_MISMATCH));
1280 return (scf_set_error(SCF_ERROR_NO_SERVER));
1319 return (ret == SCF_SUCCESS ? ret : scf_set_error(SCF_ERROR_NOT_BOUND));
1328 (void) scf_set_error(SCF_ERROR_HANDLE_DESTROYED);
1467 return (scf_set_error(SCF_ERROR_CONNECTION_BROKEN));
1471 return (scf_set_error(SCF_ERROR_NOT_SET));
1578 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
1594 return (scf_set_error(SCF_ERROR_HANDLE_DESTROYED));
1600 return (scf_set_error(SCF_ERROR_NO_MEMORY));
1725 return (scf_set_error(SCF_ERROR_CONSTRAINT_VIOLATED));
1726 return (scf_set_error(proto_error(response.rpr_response)));
1748 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
1766 return (scf_set_error(SCF_ERROR_CONSTRAINT_VIOLATED));
1767 return (scf_set_error(proto_error(response.rpr_response)));
1793 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
1796 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
1812 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
1829 return (scf_set_error(proto_error(response.rpr_response)));
1847 return (scf_set_error(SCF_ERROR_NOT_FOUND));
1851 return (scf_set_error(SCF_ERROR_CONSTRAINT_VIOLATED));
1856 return (scf_set_error(SCF_ERROR_INTERNAL));
1857 return (scf_set_error(proto_error(response.rpr_response)));
1880 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
1883 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
1893 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
1906 return (scf_set_error(SCF_ERROR_CONSTRAINT_VIOLATED));
1909 return (scf_set_error(proto_error(response.rpr_response)));
2012 return (scf_set_error(proto_error(response.rpr_response)));
2053 return (scf_set_error(proto_error(response.rpr_response)));
2116 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
2121 r = scf_set_error(SCF_ERROR_INVALID_ARGUMENT);
2157 return (scf_set_error(proto_error(response.rpr_response)));
2186 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
2193 r = scf_set_error(SCF_ERROR_INVALID_ARGUMENT);
2199 r = scf_set_error(SCF_ERROR_INVALID_ARGUMENT);
2222 return (scf_set_error(proto_error(response.rpr_response)));
2255 return (scf_set_error(proto_error(response.rpr_response)));
2283 return (scf_set_error(proto_error(response.rpr_response)));
2311 return (scf_set_error(proto_error(response.rpr_response)));
2338 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
2347 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
2368 return (scf_set_error(proto_error(response.rpr_response)));
2396 return (scf_set_error(proto_error(response.rpr_response)));
2416 (void) scf_set_error(SCF_ERROR_INVALID_ARGUMENT);
2422 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
2436 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
2523 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
2537 return (scf_set_error(proto_error(response.rpr_response)));
2547 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
2554 return (scf_set_error(SCF_ERROR_NOT_BOUND));
2559 return (scf_set_error(SCF_ERROR_CONNECTION_BROKEN));
2575 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
2580 return (scf_set_error(SCF_ERROR_NOT_SET));
2584 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
2606 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
2614 ret = scf_set_error(SCF_ERROR_INVALID_ARGUMENT);
2616 ret = scf_set_error(SCF_ERROR_NOT_FOUND);
2636 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
2661 return (scf_set_error(proto_error(response.rpr_response)));
2680 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
2685 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
2710 return (scf_set_error(proto_error(response.rpr_response)));
2727 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
2733 return (scf_set_error(SCF_ERROR_NOT_SET));
2738 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
2762 return (scf_set_error(proto_error(response.rpr_response)));
2842 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
2853 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
2954 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
2992 return (scf_set_error(SCF_ERROR_NOT_FOUND));
3011 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
3237 *err = scf_set_error(SCF_ERROR_INVALID_ARGUMENT);
3247 *err = scf_set_error(SCF_ERROR_INTERNAL);
3267 *err = scf_set_error(SCF_ERROR_INVALID_ARGUMENT);
3284 *err = scf_set_error(SCF_ERROR_INTERNAL);
3330 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
3345 return (scf_set_error(proto_error(response.rpr_response)));
3497 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
3556 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
3601 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
3646 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
3715 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
3753 return (scf_set_error(proto_error(response.rpr_response)));
3788 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
3835 return (scf_set_error(SCF_ERROR_INTERNAL));
3873 return (scf_set_error(proto_error(response.rpr_response)));
3911 return (scf_set_error(SCF_ERROR_CONNECTION_BROKEN));
3927 return (scf_set_error(proto_error(response.rpr_response)));
3958 return (scf_set_error(proto_error(response.rpr_response)));
3990 return (scf_set_error(SCF_ERROR_CONNECTION_BROKEN));
4024 return (scf_set_error(SCF_ERROR_NOT_SET));
4027 return (scf_set_error(proto_error(response.rpr_response)));
4045 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
4049 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
4068 return (scf_set_error(proto_error(response.rpr_response)));
4086 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
4090 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
4094 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
4098 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
4118 return (scf_set_error(proto_error(response.rpr_response)));
4148 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
4166 return (scf_set_error(proto_error(response.rpr_response)));
4187 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
4234 return (scf_set_error(proto_error(response.rpr_response)));
4266 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
4274 return (scf_set_error(SCF_ERROR_TYPE_MISMATCH));
4304 return (scf_set_error(proto_error(response.rpr_response)));
4336 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
4344 return (scf_set_error(SCF_ERROR_TYPE_MISMATCH));
4357 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
4360 return (scf_set_error(SCF_ERROR_TYPE_MISMATCH));
4373 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
4438 return (scf_set_error(proto_error(response.rpr_response)));
4470 return (scf_set_error(proto_error(response.rpr_response)));
4512 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
4525 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
4548 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
4553 return (scf_set_error(SCF_ERROR_IN_USE));
4575 return (scf_set_error(proto_error(response.rpr_response)));
4652 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
4660 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
4749 return (scf_set_error(error));
4788 return (scf_set_error(error));
4832 return (scf_set_error(error));
4942 return (scf_set_error(proto_error(response.rpr_response)));
5027 (void) scf_set_error(SCF_ERROR_INVALID_ARGUMENT);
5033 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
5043 (void) scf_set_error(SCF_ERROR_HANDLE_DESTROYED);
5113 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
5119 return (scf_set_error(SCF_ERROR_NOT_SET));
5124 return (scf_set_error(SCF_ERROR_INTERNAL));
5129 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
5137 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
5142 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
5148 return (scf_set_error(SCF_ERROR_TYPE_MISMATCH));
5153 return (scf_set_error(SCF_ERROR_IN_USE));
5187 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
5218 (void) scf_set_error(SCF_ERROR_INVALID_ARGUMENT);
5230 (void) scf_set_error(SCF_ERROR_HANDLE_DESTROYED);
5237 (void) scf_set_error(SCF_ERROR_NO_MEMORY);
5354 return (scf_set_error(SCF_ERROR_NOT_SET));
5356 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
5358 return (scf_set_error(SCF_ERROR_TYPE_MISMATCH));
5372 (void) scf_set_error(SCF_ERROR_NOT_SET);
5376 (void) scf_set_error(SCF_ERROR_TYPE_MISMATCH);
5578 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
5599 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
5604 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
5620 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
5625 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
5641 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
5708 r = scf_set_error(SCF_ERROR_NOT_SET);
5712 r = (scf_set_error(SCF_ERROR_INTERNAL));
5737 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
5860 return (scf_set_error(SCF_ERROR_TYPE_MISMATCH));
5864 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
5895 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
5903 return (scf_set_error(SCF_ERROR_NOT_SET));
5908 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
5929 return (scf_set_error(proto_error(response.rpr_response)));
5970 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
5993 return (scf_set_error(proto_error(response.rpr_response)));
6006 SCF_SUCCESS : scf_set_error(SCF_ERROR_CONSTRAINT_VIOLATED));
6038 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
6061 return (scf_set_error(proto_error(response.rpr_response)));
6075 SCF_SUCCESS : scf_set_error(SCF_ERROR_CONSTRAINT_VIOLATED));
6180 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
6233 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
6241 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
6249 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
6257 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
6298 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
6308 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
6314 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
6368 (void) scf_set_error(SCF_ERROR_INVALID_ARGUMENT);
6431 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
6434 ret = scf_set_error(SCF_ERROR_INVALID_ARGUMENT);
6453 ret = scf_set_error(SCF_ERROR_CONSTRAINT_VIOLATED);
6457 ret = scf_set_error(SCF_ERROR_CONSTRAINT_VIOLATED);
6491 ret = scf_set_error(SCF_ERROR_CONSTRAINT_VIOLATED);
6548 ret = scf_set_error(SCF_ERROR_NOT_FOUND);
6563 (void) scf_set_error(SCF_ERROR_NOT_FOUND);
6584 (void) scf_set_error(SCF_ERROR_NOT_FOUND);
6593 (void) scf_set_error(SCF_ERROR_NOT_FOUND);
6608 (void) scf_set_error(SCF_ERROR_NOT_FOUND);
6623 (void) scf_set_error(SCF_ERROR_NOT_FOUND);
6789 return (scf_set_error(proto_error(response.rpr_response)));
6844 return (scf_set_error(SCF_ERROR_INTERNAL));
6928 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH));
6947 r = scf_set_error(SCF_ERROR_NOT_FOUND);
8281 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
8296 return (scf_set_error(proto_error(response.rpr_response)));
8344 return (scf_set_error(proto_error(response.rpr_response)));
8362 return (scf_set_error(SCF_ERROR_INTERNAL));
8385 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
8399 return (scf_set_error(proto_error(response.rpr_response)));
8411 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
8425 return (scf_set_error(proto_error(response.rpr_response)));
8439 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
8447 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT));
8459 return (scf_set_error(proto_error(response.rpr_response)));
8549 (void) scf_set_error(SCF_ERROR_NO_MEMORY);