Lines Matching refs:scf_error
354 scf_error_t err = scf_error();
370 scf_error_t err = scf_error();
385 scf_strerror(scf_error()));
496 switch (scf_error()) {
500 return (scferror2errno(scf_error()));
507 scf_error());
519 switch (scf_error()) {
527 return (scferror2errno(scf_error()));
533 scf_error());
538 switch (scf_error()) {
542 return (scferror2errno(scf_error()));
550 scf_error());
587 switch (scf_error()) {
590 return (scferror2errno(scf_error()));
597 scf_error());
607 switch (scf_error()) {
612 return (scferror2errno(scf_error()));
619 scf_error());
623 switch (scf_error()) {
626 return (scferror2errno(scf_error()));
634 scf_error());
642 switch (scf_error()) {
656 scf_error());
661 switch (scf_error()) {
667 return (scferror2errno(scf_error()));
675 scf_error());
681 switch (scf_error()) {
686 return (scferror2errno(scf_error()));
692 bad_error("scf_instance_get_pg", scf_error());
716 switch (scf_error()) {
721 return (scferror2errno(scf_error()));
727 bad_error("scf_snaplevel_get_pg", scf_error());
896 scf_strerror(scf_error()));
1078 assert(scf_error() == SCF_ERROR_INVALID_ARGUMENT);
1121 if (scf_error() != SCF_ERROR_NOT_FOUND)
1192 err = scf_error();
1234 if (scf_error() != SCF_ERROR_CONSTRAINT_VIOLATED)
1281 if (scf_error() != SCF_ERROR_NOT_FOUND)
1296 if (scf_error() != SCF_ERROR_NOT_FOUND)
1356 switch (scf_error()) {
1369 bad_error("scf_handle_get_scope", scf_error());
1375 switch (scf_error()) {
1391 bad_error("scf_scope_get_service", scf_error());
1395 switch (scf_error()) {
1406 scfe = scf_error();
1414 bad_error("scf_scope_get_service", scf_error());
1428 switch (scf_error()) {
1444 bad_error("scf_service_get_instance", scf_error());
1448 switch (scf_error()) {
1459 scfe = scf_error();
1468 scf_error());
1504 switch (scf_error()) {
1508 return (scferror2errno(scf_error()));
1514 scf_error());
1518 switch (scf_error()) {
1524 return (scferror2errno(scf_error()));
1531 bad_error("scf_instance_get_snapshot", scf_error());
1535 switch (scf_error()) {
1542 return (scferror2errno(scf_error()));
1553 scf_error());
1586 * -1 - _smf_refresh_instance_i() failed. scf_error() should be set.
1610 switch (scf_error()) {
1634 scf_error());
1642 switch (scf_error()) {
1653 bad_error("scf_iter_service_instances", scf_error());
1662 switch (scf_error()) {
1675 scf_error());
1698 scf_error());
1715 if (scf_error() != SCF_ERROR_BACKEND_ACCESS ||
1717 scfe = scf_error();
1768 if (scf_error() != SCF_ERROR_DELETED)
1803 bad_error("refresh_entity", scf_error());
1825 return (stash_scferror_err(cbp, scf_error()));
2293 switch (scf_error()) {
2299 bad_error("scf_entry_create", scf_error());
2307 switch (scf_error()) {
2325 bad_error("scf_transaction_property_new", scf_error());
2330 switch (scf_error()) {
2349 scf_error());
2359 switch (scf_error()) {
2365 bad_error("scf_value_create", scf_error());
2383 if (scf_error() != SCF_ERROR_INVALID_ARGUMENT)
2385 scf_error());
2397 bad_error("scf_entry_add_value", scf_error());
2465 switch (scf_error()) {
2493 bad_error("scf_service_add_pg", scf_error());
2497 switch (scf_error()) {
2518 bad_error("entity_get_pg", scf_error());
2527 switch (scf_error()) {
2546 bad_error("scf_pg_delete", scf_error());
2568 switch (scf_error()) {
2590 bad_error("scf_transaction_start", scf_error());
2670 switch (scf_error()) {
2695 bad_error("scf_transaction_commit", scf_error());
3009 switch (scf_error()) {
3034 scf_error());
3122 switch (scf_error()) {
3128 return (scferror2errno(scf_error()));
3135 bad_error("scf_transaction_start", scf_error());
3165 switch (scf_error()) {
3172 return (scferror2errno(scf_error()));
3178 bad_error("scf_transaction_commit", scf_error());
3338 if (scf_error() != SCF_ERROR_NO_MEMORY)
3339 bad_error("scf_entry_create", scf_error());
3347 switch (scf_error()) {
3373 scf_error());
3379 if (scf_error() != SCF_ERROR_NO_MEMORY)
3380 bad_error("scf_value_create", scf_error());
3389 bad_error("scf_value_set_from_string", scf_error());
3392 bad_error("scf_entry_add_value", scf_error());
3495 switch (scf_error()) {
3501 return (scferror2errno(scf_error()));
3508 bad_error("entity_get_pg", scf_error());
3523 switch (scf_error()) {
3529 return (scferror2errno(scf_error()));
3537 "entity_get_pg", scf_error());
3563 switch (scf_error()) {
3575 scf_error());
3581 switch (scf_error()) {
3585 return (scferror2errno(scf_error()));
3595 return (scferror2errno(scf_error()));
3602 bad_error("scf_transaction_start", scf_error());
3645 switch (scf_error()) {
3660 scf_error());
3703 switch (scf_error()) {
3709 return (scferror2errno(scf_error()));
3718 return (scferror2errno(scf_error()));
3725 bad_error("scf_service_add_pg", scf_error());
3733 switch (scf_error()) {
3737 return (scferror2errno(scf_error()));
3745 return (scferror2errno(scf_error()));
3752 bad_error("scf_transaction_start", scf_error());
3790 switch (scf_error()) {
3816 scf_error());
3860 switch (scf_error()) {
3865 return (scferror2errno(scf_error()));
3873 return (scferror2errno(scf_error()));
3879 bad_error("scf_transaction_destroy", scf_error());
3934 switch (scf_error()) {
3941 return (scferror2errno(scf_error()));
3949 "entity_get_pg", scf_error());
4110 switch (scf_error()) {
4113 return (scferror2errno(scf_error()));
4118 bad_error("scf_property_type", scf_error());
4132 switch (scf_error()) {
4135 return (scferror2errno(scf_error()));
4140 bad_error("scf_property_get_name", scf_error());
4155 switch (scf_error()) {
4163 return (scferror2errno(scf_error()));
4171 scf_error());
4177 bad_error("scf_value_get_as_string", scf_error());
4181 switch (scf_error()) {
4186 return (scferror2errno(scf_error()));
4198 bad_error("scf_pg_get_property", scf_error());
4202 switch (scf_error()) {
4210 return (scferror2errno(scf_error()));
4218 scf_error());
4231 bad_error("scf_value_get_as_string", scf_error());
4252 switch (scf_error()) {
4259 return (scferror2errno(scf_error()));
4266 bad_error("scf_snaplevel_get_pg", scf_error());
4368 switch (scf_error()) {
4383 bad_error("entity_get_pg", scf_error());
4388 switch (scf_error()) {
4395 return (scferror2errno(scf_error()));
4399 return (scferror2errno(scf_error()));
4403 bad_error("scf_pg_delete", scf_error());
4436 switch (scf_error()) {
4443 return (scferror2errno(scf_error()));
4454 scf_error());
4468 switch (scf_error()) {
4476 return (scferror2errno(scf_error()));
4483 bad_error("scf_property_get_value", scf_error());
4489 bad_error("scf_value_get_as_string", scf_error());
4515 switch (scf_error()) {
4522 return (scferror2errno(scf_error()));
4529 bad_error("scf_snaplevel_get_pg", scf_error());
4589 switch (scf_error()) {
4596 r = scferror2errno(scf_error());
4609 bad_error("scf_pg_get_property", scf_error());
4614 switch (scf_error()) {
4623 r = scferror2errno(scf_error());
4631 bad_error("scf_property_get_value", scf_error());
4644 bad_error("scf_value_get_as_string", scf_error());
4760 switch (scf_error()) {
4767 return (scferror2errno(scf_error()));
4774 bad_error("scf_snaplevel_get_pg", scf_error());
4882 switch (scf_error()) {
4884 r = scferror2errno(scf_error());
4900 bad_error("entity_get_pg", scf_error());
4910 switch (scf_error()) {
4915 r = scferror2errno(scf_error());
4940 bad_error("entity_add_pg", scf_error());
5010 switch (scf_error()) {
5012 r = scferror2errno(scf_error());
5028 bad_error("entity_get_pg", scf_error());
5031 switch (scf_error()) {
5038 r = scferror2errno(scf_error());
5043 r = scferror2errno(scf_error());
5048 bad_error("scf_pg_delete", scf_error());
5071 if (scf_error() == SCF_ERROR_NO_MEMORY)
5074 bad_error("scf_entry_create", scf_error());
5079 switch (scf_error()) {
5081 r = scferror2errno(scf_error());
5099 "change_type", scf_error());
5104 switch (scf_error()) {
5106 r = scferror2errno(scf_error());
5127 "new", scf_error());
5136 scf_error());
5139 bad_error("scf_entry_add_value", scf_error());
5192 switch (scf_error()) {
5194 return (scferror2errno(scf_error()));
5216 scf_error());
5233 bad_error("scf_value_get_as_string", scf_error());
5409 switch (scf_error()) {
5419 bad_error("scf_pg_get_type", scf_error());
5427 switch (scf_error()) {
5442 bad_error("scf_pg_get_property", scf_error());
5448 switch (scf_error()) {
5458 bad_error("scf_pg_get_name", scf_error());
5478 switch (scf_error()) {
5484 return (scferror2errno(scf_error()));
5491 bad_error("entity_get_pg", scf_error());
5501 switch (scf_error()) {
5508 return (scferror2errno(scf_error()));
5512 return (scferror2errno(scf_error()));
5516 bad_error("scf_pg_delete", scf_error());
5559 switch (scf_error()) {
5571 bad_error("scf_pg_delete", scf_error());
5621 switch (scf_error()) {
5623 r = scferror2errno(scf_error());
5641 bad_error("entity_get_pg", scf_error());
5709 switch (scf_error()) {
5719 r = scferror2errno(scf_error());
5727 bad_error("entity_get_pg", scf_error());
5732 switch (scf_error()) {
5739 r = scferror2errno(scf_error());
5745 r = scferror2errno(scf_error());
5751 bad_error("scf_pg_delete", scf_error());
5785 switch (scf_error()) {
5788 r = scferror2errno(scf_error());
5799 bad_error("entity_get_pg", scf_error());
5914 switch (scf_error()) {
5925 bad_error("scf_iter_snaplevel_pgs", scf_error());
5961 switch (scf_error()) {
5973 bad_error("scf_iter_next_pg", scf_error());
6046 switch (scf_error()) {
6051 return (scferror2errno(scf_error()));
6057 return (scferror2errno(scf_error()));
6068 bad_error("entity_get_pg", scf_error());
6197 switch (scf_error()) {
6232 bad_error("scf_service_add_instance", scf_error());
6315 switch (scf_error()) {
6345 bad_error("_scf_snapshot_take_new_named", scf_error());
6355 switch (scf_error()) {
6376 scf_error());
6418 switch (scf_error()) {
6438 scf_error());
6504 switch (scf_error()) {
6516 bad_error("scf_service_get_instance", scf_error());
6523 switch (scf_error()) {
6554 scf_error());
6567 switch (scf_error()) {
6601 scf_error());
6706 switch (scf_error()) {
6724 bad_error("_scf_snapshot_attach", scf_error());
6735 switch (scf_error()) {
6745 bad_error("scf_instance_delete", scf_error());
6824 ret = scf_error();
6837 ret = scf_error();
6867 ret = scf_error();
6903 ret = scf_error();
7062 switch (scf_error()) {
7078 bad_error("scf_scope_get_service", scf_error());
7101 switch (scf_error()) {
7129 bad_error("scf_scope_add_service", scf_error());
7195 switch (scf_error()) {
7207 bad_error("scf_scope_get_service", scf_error());
7211 switch (scf_error()) {
7238 bad_error("scf_scope_add_service", scf_error());
7318 switch (scf_error()) {
7332 bad_error("scf_iter_service_instances", scf_error());
7341 switch (scf_error()) {
7357 scf_error());
7362 switch (scf_error()) {
7372 bad_error("scf_instance_get_name", scf_error());
7431 switch (scf_error()) {
7468 scf_error());
7514 switch (scf_error()) {
7528 bad_error("scf_iter_service_instances", scf_error());
7535 switch (scf_error()) {
7551 scf_error());
7645 switch (scf_error()) {
7661 scf_error());
7678 switch (scf_error()) {
7690 scf_error());
7694 switch (scf_error()) {
7708 scf_error());
7741 switch (scf_error()) {
7757 scf_error());
7854 switch (scf_error()) {
7870 bad_error("scf_service_delete", scf_error());
8085 if (scf_error() == SCF_ERROR_NO_RESOURCES)
8208 switch (scf_error()) {
8220 bad_error("scf_handle_get_scope", scf_error());
8228 switch (scf_error()) {
8239 bad_error("_scf_set_annotation", scf_error());
8248 "failed with return code of %d\n"), scf_error());
8547 switch (scf_error()) {
8558 bad_error("entity_get_pg", scf_error());
8568 switch (scf_error()) {
8579 scf_error());
8585 bad_error("scf_value_get_as_string", scf_error());
8603 serr = scf_error();
8608 bad_error("entity_get_pg", scf_error());
8613 serr = scf_error();
8618 bad_error("scf_pg_delete", scf_error());
8703 switch (scf_error()) {
8712 bad_error("_scf_set_annotation", scf_error());
8721 "failed with return code of %d\n"), scf_error());
8733 switch (scf_error()) {
8835 switch (scf_error()) {
9102 err = scf_error();
9267 } else if (scf_error() != SCF_ERROR_NOT_FOUND)
10138 if (scf_error() != SCF_ERROR_NOT_FOUND)
10344 err = scf_error();
10574 if (scf_error() != SCF_ERROR_NOT_FOUND)
11161 if (scf_error() != SCF_ERROR_NOT_FOUND)
11264 err = scf_error();
11290 err = scf_error();
11407 if (scf_error() == SCF_ERROR_TEMPLATE_INVALID) {
11414 scf_strerror(scf_error()));
11622 if (scf_error() != SCF_ERROR_DELETED)
11635 if (scf_error() != SCF_ERROR_DELETED)
11648 if (scf_error() != SCF_ERROR_DELETED)
11659 if (scf_error() != SCF_ERROR_DELETED)
11690 if (scf_error() != SCF_ERROR_DELETED)
11710 if (scf_error() != SCF_ERROR_DELETED)
11760 if (scf_error() != SCF_ERROR_DELETED)
11796 if (scf_error() != SCF_ERROR_DELETED)
11808 if (scf_error() != SCF_ERROR_DELETED)
11813 if (scf_error() != SCF_ERROR_DELETED)
11844 if (scf_error() != SCF_ERROR_DELETED)
11872 switch (scf_error()) {
11894 switch (scf_error()) {
12044 if (scf_error() != SCF_ERROR_NOT_FOUND)
12065 result = scf_error();
12111 if (scf_error() != SCF_ERROR_PERMISSION_DENIED)
12138 if (scf_error() != SCF_ERROR_PERMISSION_DENIED)
12275 if (scf_error() != SCF_ERROR_NOT_FOUND)
12386 else if (scf_error() != SCF_ERROR_NOT_FOUND)
12410 if (scf_error() != SCF_ERROR_PERMISSION_DENIED)
12446 if (scf_error() != SCF_ERROR_PERMISSION_DENIED)
12466 if (scf_error() != SCF_ERROR_PERMISSION_DENIED)
12540 else if (scf_error() != SCF_ERROR_NOT_FOUND)
12565 if (scf_error() != SCF_ERROR_PERMISSION_DENIED)
12589 if (scf_error() != SCF_ERROR_PERMISSION_DENIED)
12630 } else if (scf_error() != SCF_ERROR_DELETED) {
12649 if (scf_error() != SCF_ERROR_NOT_FOUND &&
12650 scf_error() != SCF_ERROR_INVALID_ARGUMENT)
12668 if (scf_error() != SCF_ERROR_NOT_FOUND &&
12669 scf_error() != SCF_ERROR_INVALID_ARGUMENT)
12726 switch (scf_error()) {
12795 if (ret != 0 && scf_error() != SCF_ERROR_PERMISSION_DENIED)
12836 scf_error() != SCF_ERROR_NOT_FOUND)
12844 } else if (scf_error() != SCF_ERROR_NOT_FOUND)
12976 } else if (scf_error() == SCF_ERROR_CONSTRAINT_VIOLATED &&
13024 } else if (scf_error() == SCF_ERROR_CONSTRAINT_VIOLATED &&
13069 if (ret != 0 && scf_error() != SCF_ERROR_PERMISSION_DENIED)
13182 switch (scf_error()) {
13281 (scf_error() == SCF_ERROR_NOT_FOUND &&
13302 (scf_error() == SCF_ERROR_NOT_FOUND &&
13500 if (scf_error() != SCF_ERROR_NOT_FOUND)
13592 if (scf_error() !=
13727 switch (scf_error()) {
13883 switch (scf_error()) {
13902 if (scf_error() != SCF_ERROR_PERMISSION_DENIED)
13920 } else if (scf_error() == SCF_ERROR_NOT_FOUND) {
13956 } else if (scf_error() == SCF_ERROR_INVALID_ARGUMENT) {
14003 if (scf_error() != SCF_ERROR_PERMISSION_DENIED)
14072 switch (scf_error()) {
14093 if (scf_error() != SCF_ERROR_PERMISSION_DENIED)
14112 if (scf_error() != SCF_ERROR_PERMISSION_DENIED)
14120 if (scf_error() == SCF_ERROR_NOT_FOUND) {
14124 } else if (scf_error() == SCF_ERROR_INVALID_ARGUMENT) {
14139 if (scf_error() != SCF_ERROR_PERMISSION_DENIED)
14327 scf_error() != SCF_ERROR_PERMISSION_DENIED)
14602 switch (scf_error()) {
14625 if (scf_error() != SCF_ERROR_PERMISSION_DENIED)
14667 } else if (scf_error() == SCF_ERROR_NOT_FOUND) {
14689 } else if (scf_error() == SCF_ERROR_INVALID_ARGUMENT) {
14720 if (scf_error() != SCF_ERROR_PERMISSION_DENIED)
14805 if (scf_error() == SCF_ERROR_NOT_FOUND)
14836 switch (scf_error()) {
14989 switch (scf_error()) {
15138 switch (scf_error()) {
15163 if (scf_error() != SCF_ERROR_NOT_FOUND)
15190 if (scf_error() != SCF_ERROR_NOT_FOUND)
15227 if (scf_error() != SCF_ERROR_PERMISSION_DENIED)
15309 if (r == -1 && scf_error() != SCF_ERROR_PERMISSION_DENIED)
15353 switch (scf_error()) {
15396 if (scf_error() != SCF_ERROR_NOT_FOUND)
15411 if (scf_error() != SCF_ERROR_NOT_FOUND)
15441 if (scf_error() != SCF_ERROR_PERMISSION_DENIED)
15473 if (scf_error() != SCF_ERROR_PERMISSION_DENIED)
15513 if (scf_error() != SCF_ERROR_NOT_FOUND)
15563 if (scf_error() != SCF_ERROR_DELETED)
15599 bad_error("refresh_entity", scf_error());
15819 scf_strerror(scf_error()));
15832 scf_strerror(scf_error()));
15876 if (scf_error() != SCF_ERROR_NOT_FOUND &&
15877 scf_error() != SCF_ERROR_DELETED)
15880 scf_strerror(scf_error()));
15899 if (scf_error() == SCF_ERROR_NOT_FOUND ||
15900 scf_error() == SCF_ERROR_DELETED)
15904 scf_strerror(scf_error()));
16148 scf_strerror(scf_error()));
16171 scf_strerror(scf_error()));
16263 switch (scf_error()) {
16274 bad_error("scf_iter_service_instances", scf_error());
16283 scf_strerror(scf_error()));
16305 switch (scf_error()) {
16320 scf_error());
16327 switch (scf_error()) {
16342 scf_error());
16638 scf_strerror(scf_error()));
16643 switch (scf_error()) {
16653 scf_error());
16660 scf_strerror(scf_error()));
16979 scf_strerror(scf_error()));
16988 switch (scf_error()) {
17001 scf_error());
17015 switch (scf_error()) {
17025 scf_error());
17036 scf_error());
17048 scf_strerror(scf_error()));
17050 switch (scf_error()) {
17053 r = scferror2errno(scf_error());
17061 scf_error());
17083 scf_strerror(scf_error()));
17085 switch (scf_error()) {
17088 r = scferror2errno(scf_error());
17096 scf_error());
17142 scf_strerror(scf_error()));
17144 switch (scf_error()) {
17147 r = scferror2errno(scf_error());
17155 scf_error());
17163 scf_strerror(scf_error()));
17165 switch (scf_error()) {
17168 r = scferror2errno(scf_error());
17176 scf_error());
17296 (void) uu_warn("scf_error - %s\n",
17297 scf_strerror(scf_error()));
17388 scf_strerror(scf_error()));
17393 switch (scf_error()) {
17402 bad_error("scf_handle_get_scope", scf_error());
17417 scf_strerror(scf_error()));
17426 switch (scf_error()) {
17436 bad_error("scf_pg_get_name", scf_error());
17456 switch (scf_error()) {
17464 r = scferror2errno(scf_error());
17471 scf_error());
17478 pgname, scf_strerror(scf_error()));
17480 switch (scf_error()) {
17486 bad_error("scf_value_get_astring", scf_error());