Lines Matching refs:scf_error
288 int err = scf_error();
370 if (scf_error() == SCF_ERROR_NOT_SET)
417 if (scf_error() != SCF_ERROR_CONNECTION_BROKEN)
428 * failure, with scf_error() set to
444 switch (scf_error()) {
461 switch (scf_error()) {
541 if (scf_error() != SCF_ERROR_NOT_FOUND)
546 if (scf_error() != SCF_ERROR_EXISTS)
555 if (scf_error() != SCF_ERROR_NOT_FOUND)
560 if (scf_error() != SCF_ERROR_EXISTS)
568 if (scf_error() != SCF_ERROR_NOT_FOUND)
578 switch (scf_error()) {
589 if (scf_error() != SCF_ERROR_TYPE_MISMATCH)
605 switch (scf_error()) {
616 scf_error());
685 switch (scf_error()) {
701 * Returns 0 on success or -1 on failure. On failure leaves scf_error() set to
734 switch (scf_error()) {
747 bad_error("scf_instance_get_pg", scf_error());
755 switch (scf_error()) {
771 bad_error("scf_instance_add_pg", scf_error());
780 switch (scf_error()) {
795 bad_error("scf_pg_get_property", scf_error());
798 switch (scf_error()) {
814 scf_error());
817 bad_error("scf_value_get_integer", scf_error());
823 switch (scf_error()) {
838 bad_error("scf_transaction_start", scf_error());
844 switch (scf_error()) {
855 scf_error());
861 bad_error("scf_entry_add_value", scf_error());
868 switch (scf_error()) {
884 scf_error());
890 switch (scf_error()) {
900 bad_error("scf_pg_update", scf_error());
933 if (ret == -1 && scf_error() == SCF_ERROR_DELETED)
936 switch (scf_error()) {
980 if (scf_error() != SCF_ERROR_CONNECTION_BROKEN)
1025 if (scf_error() != SCF_ERROR_NOT_FOUND)
1076 if (scf_error() == SCF_ERROR_CONSTRAINT_VIOLATED)
1102 if (ret == -1 && scf_error() == SCF_ERROR_DELETED)
1128 if (scf_error() == SCF_ERROR_NOT_SET) {
1135 if (scf_error() == SCF_ERROR_NOT_SET) {
1309 * Null on error with scf_error set to:
1371 * NULL on failure with scf_error set to:
1431 * SCF_FAILED on failure with scf_error() set to:
1495 * SCF_FAILED on failure with scf_error() set to:
1542 (scf_error() == SCF_ERROR_NOT_FOUND)) {
1612 if (scf_error() == SCF_ERROR_INTERNAL) {
1681 switch (scf_error()) {
1854 if (scf_error() == SCF_ERROR_CONSTRAINT_VIOLATED)
1878 if (scf_error() != SCF_ERROR_CONNECTION_BROKEN)
1905 if (scf_error() == SCF_ERROR_NOT_SET)
1915 if (scf_error() != SCF_ERROR_CONNECTION_BROKEN)
1924 if (scf_error() == SCF_ERROR_NOT_SET)
1948 if (scf_error() != SCF_ERROR_CONNECTION_BROKEN)
1955 if (scf_error() != SCF_ERROR_CONNECTION_BROKEN)
1972 if (scf_error() != SCF_ERROR_CONNECTION_BROKEN)
1989 if (scf_error() == SCF_ERROR_NOT_SET)
2008 if (scf_error() != SCF_ERROR_CONNECTION_BROKEN)
2055 if (scf_error() == SCF_ERROR_NOT_SET)
2081 if (scf_error() != SCF_ERROR_CONNECTION_BROKEN)
2091 if (scf_error() != SCF_ERROR_CONNECTION_BROKEN)
2612 if (scf_error() != SCF_ERROR_NOT_SET)
2724 error = scf_error();
2798 if (scf_error() != SCF_ERROR_NOT_SET)
2814 if (ret == -1 && scf_error() == SCF_ERROR_NOT_FOUND)
2877 error = scf_error();
2935 error = scf_error();
2949 bad_error("scf_instance_get_pg", scf_error());
2985 switch (scf_error()) {
3012 bad_error("scf_instance_delete_prop", scf_error());