Lines Matching refs:scf_error
861 switch (scf_error()) {
869 bad_fail("scf_handle_create", scf_error());
875 switch (scf_error()) {
885 bad_fail("scf_handle_bind", scf_error());
990 switch (scf_error()) {
1006 bad_fail("scf_instance_get_pg", scf_error());
1012 switch (scf_error()) {
1035 bad_fail("scf_instance_add_pg", scf_error());
1057 switch (scf_error()) {
1073 scf_error());
1079 switch (scf_error()) {
1094 bad_fail("scf_transaction_property_new", scf_error());
1173 switch (scf_error()) {
1189 bad_fail("scf_handle_decode_fmri", scf_error());
1197 bad_fail("scf_value_set_astring", scf_error());
1201 bad_fail("scf_value_set_astring", scf_error());
1205 bad_fail("scf_value_set_time", scf_error());
1231 switch (scf_error()) {
1254 bad_fail("scf_transaction_start", scf_error());
1300 switch (scf_error()) {
1319 bad_fail("scf_transaction_commit", scf_error());
1325 switch (scf_error()) {
1418 switch (scf_error()) {
1442 bad_fail("scf_transaction_start", scf_error());
1452 switch (scf_error()) {
1471 scf_error());
1477 switch (scf_error()) {
1487 scf_error());
1494 assert(scf_error() ==
1502 switch (scf_error()) {
1516 scf_error());
1537 switch (scf_error()) {
1549 scf_error());
1553 switch (scf_error()) {
1569 bad_fail("scf_pg_get_property", scf_error());
1575 switch (scf_error()) {
1592 scf_error());
1599 switch (scf_error()) {
1621 bad_fail("scf_transaction_commit", scf_error());
1631 switch (scf_error()) {
1641 bad_fail("scf_pg_update", scf_error());
1712 switch (scf_error()) {
1736 bad_fail("scf_transaction_start", scf_error());
1750 switch (scf_error()) {
1769 scf_error());
1775 switch (scf_error()) {
1785 scf_error());
1792 assert(scf_error() ==
1800 switch (scf_error()) {
1815 scf_error());
1828 switch (scf_error()) {
1840 scf_error());
1844 switch (scf_error()) {
1860 bad_fail("scf_pg_get_property", scf_error());
1866 switch (scf_error()) {
1883 scf_error());
1890 assert(scf_error() == SCF_ERROR_NO_MEMORY);
1901 switch (scf_error()) {
1923 bad_fail("scf_transaction_commit", scf_error());
1933 switch (scf_error()) {
1943 bad_fail("scf_pg_update", scf_error());
1991 if (scf_error() == SCF_ERROR_CONNECTION_BROKEN)
1997 if (scf_error() == SCF_ERROR_CONNECTION_BROKEN)
2012 if (scf_error() == SCF_ERROR_CONNECTION_BROKEN)
2018 if (scf_error() == SCF_ERROR_CONNECTION_BROKEN)
2390 return (mc_error_create(merr, scf_error(),
2392 "property could not be read. scf_error is %s",
2393 SCF_PROPERTY_PROFILE, scf_strerror(scf_error())));
2541 if (scf_error() == SCF_ERROR_NOT_FOUND) {
2586 if (scf_error() == SCF_ERROR_NOT_FOUND) {
2621 if (scf_error() == SCF_ERROR_NOT_FOUND) {
2652 if (scf_error() == SCF_ERROR_NOT_FOUND) {
2693 if (scf_error() == SCF_ERROR_NOT_FOUND)
2695 return (scf_error());
2698 return (scf_error());
2702 return (scf_error());
2705 ret = scf_error();
2720 ret = scf_error();
2745 ret = scf_error();
2821 return (mc_error_create(err, scf_error(),
2822 scf_strerror(scf_error())));
2846 err = mc_error_create(err, scf_error(),
2848 scf_strerror(scf_error()));
2861 err = mc_error_create(err, scf_error(), "Unable to get the "
2862 "\"%s\" method, %s", mname, scf_strerror(scf_error()));
2868 if (scf_error() != SCF_ERROR_NOT_FOUND) {
2869 err = mc_error_create(err, scf_error(),
2871 SCF_PG_METHOD_CONTEXT, scf_strerror(scf_error()));
2906 if (ret && scf_error() == SCF_ERROR_NOT_FOUND && instpg != NULL) {
2913 switch (scf_error()) {
2935 bad_fail("scf_pg_get_property", scf_error());
2939 ret = scf_error();
2971 ret = scf_error();
3019 ret = scf_error();
3048 ret = scf_error();
3113 ret = scf_error();
3143 ret = scf_error();
3189 ret = scf_error();
3226 ret = scf_error();
3256 ret = scf_error();
3341 ret = scf_error();
3375 ret = scf_error();
3994 if (scf_error() == SCF_ERROR_CONNECTION_BROKEN)
4000 if (scf_error() == SCF_ERROR_CONNECTION_BROKEN)
4009 if (scf_error() == SCF_ERROR_CONNECTION_BROKEN)