Lines Matching refs:scf_set_error
385 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_type_base_type()
462 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_limit()
662 return (scf_set_error(SCF_ERROR_NOT_BOUND)); \
665 return (scf_set_error(SCF_ERROR_CONNECTION_BROKEN)); \
668 return (scf_set_error(SCF_ERROR_INTERNAL)); \
755 (void) scf_set_error(SCF_ERROR_VERSION_MISMATCH); in scf_handle_create()
760 (void) scf_set_error(SCF_ERROR_NO_MEMORY); in scf_handle_create()
766 (void) scf_set_error(SCF_ERROR_NO_MEMORY); in scf_handle_create()
778 (void) scf_set_error(SCF_ERROR_NO_MEMORY); in scf_handle_create()
808 (void) scf_set_error(SCF_ERROR_NO_MEMORY); in scf_handle_create()
854 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in scf_handle_decorate()
859 return (scf_set_error(SCF_ERROR_IN_USE)); in scf_handle_decorate()
894 return (scf_set_error( in scf_handle_decorate()
928 return (scf_set_error(SCF_ERROR_NOT_FOUND)); in scf_handle_decorate()
932 return (scf_set_error(SCF_ERROR_INTERNAL)); in scf_handle_decorate()
950 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_handle_decorate()
956 return (scf_set_error(SCF_ERROR_NOT_FOUND)); in scf_handle_decorate()
962 return (scf_set_error(SCF_ERROR_NOT_FOUND)); in scf_handle_decorate()
967 return (scf_set_error(SCF_ERROR_INTERNAL)); in scf_handle_decorate()
979 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_handle_decorate()
994 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in _scf_handle_decorations()
997 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in _scf_handle_decorations()
1075 return (scf_set_error(SCF_ERROR_HANDLE_DESTROYED)); in datael_attach()
1090 return (scf_set_error(SCF_ERROR_INTERNAL)); in datael_attach()
1093 return (scf_set_error(proto_error(response.rpr_response))); in datael_attach()
1116 return (scf_set_error(SCF_ERROR_HANDLE_DESTROYED)); in iter_attach()
1130 return (scf_set_error(SCF_ERROR_INTERNAL)); in iter_attach()
1133 return (scf_set_error(proto_error(response.rpr_response))); in iter_attach()
1173 return (scf_set_error(SCF_ERROR_IN_USE)); in scf_handle_bind()
1189 return (scf_set_error(SCF_ERROR_IN_USE)); in scf_handle_bind()
1200 return (scf_set_error(SCF_ERROR_NO_SERVER)); in scf_handle_bind()
1226 return (scf_set_error(err)); in scf_handle_bind()
1247 return (scf_set_error(SCF_ERROR_NO_SERVER)); in scf_handle_bind()
1249 return (scf_set_error(SCF_ERROR_INTERNAL)); in scf_handle_bind()
1257 return (scf_set_error(SCF_ERROR_VERSION_MISMATCH)); in scf_handle_bind()
1260 return (scf_set_error(SCF_ERROR_VERSION_MISMATCH)); in scf_handle_bind()
1263 return (scf_set_error(SCF_ERROR_VERSION_MISMATCH)); in scf_handle_bind()
1266 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_handle_bind()
1269 return (scf_set_error(SCF_ERROR_NO_RESOURCES)); in scf_handle_bind()
1272 return (scf_set_error(SCF_ERROR_PERMISSION_DENIED)); in scf_handle_bind()
1275 return (scf_set_error(SCF_ERROR_VERSION_MISMATCH)); in scf_handle_bind()
1286 return (scf_set_error(SCF_ERROR_NO_SERVER)); in scf_handle_bind()
1325 return (ret == SCF_SUCCESS ? ret : scf_set_error(SCF_ERROR_NOT_BOUND)); in scf_handle_unbind()
1334 (void) scf_set_error(SCF_ERROR_HANDLE_DESTROYED); in handle_get()
1473 return (scf_set_error(SCF_ERROR_CONNECTION_BROKEN)); in scf_myname()
1477 return (scf_set_error(SCF_ERROR_NOT_SET)); in scf_myname()
1584 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in datael_init()
1600 return (scf_set_error(SCF_ERROR_HANDLE_DESTROYED)); in datael_init()
1606 return (scf_set_error(SCF_ERROR_NO_MEMORY)); in datael_init()
1731 return (scf_set_error(SCF_ERROR_CONSTRAINT_VIOLATED)); in datael_get_name()
1732 return (scf_set_error(proto_error(response.rpr_response))); in datael_get_name()
1754 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in datael_get_parent()
1772 return (scf_set_error(SCF_ERROR_CONSTRAINT_VIOLATED)); in datael_get_parent()
1773 return (scf_set_error(proto_error(response.rpr_response))); in datael_get_parent()
1799 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in datael_get_child_composed_locked()
1802 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in datael_get_child_composed_locked()
1818 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in datael_get_child_composed_locked()
1835 return (scf_set_error(proto_error(response.rpr_response))); in datael_get_child_composed_locked()
1853 return (scf_set_error(SCF_ERROR_NOT_FOUND)); in datael_get_child_composed_locked()
1859 return (scf_set_error(SCF_ERROR_INTERNAL)); in datael_get_child_composed_locked()
1860 return (scf_set_error(proto_error(response.rpr_response))); in datael_get_child_composed_locked()
1883 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in datael_get_child_locked()
1886 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in datael_get_child_locked()
1896 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in datael_get_child_locked()
1909 return (scf_set_error(proto_error(response.rpr_response))); in datael_get_child_locked()
2046 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in datael_add_child()
2051 r = scf_set_error(SCF_ERROR_INVALID_ARGUMENT); in datael_add_child()
2074 return (scf_set_error(proto_error(response.rpr_response))); in datael_add_child()
2102 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in datael_add_pg()
2109 r = scf_set_error(SCF_ERROR_INVALID_ARGUMENT); in datael_add_pg()
2115 r = scf_set_error(SCF_ERROR_INVALID_ARGUMENT); in datael_add_pg()
2138 return (scf_set_error(proto_error(response.rpr_response))); in datael_add_pg()
2171 return (scf_set_error(proto_error(response.rpr_response))); in datael_delete()
2191 (void) scf_set_error(SCF_ERROR_INVALID_ARGUMENT); in scf_iter_create()
2197 (void) scf_set_error(SCF_ERROR_NO_MEMORY); in scf_iter_create()
2211 (void) scf_set_error(SCF_ERROR_NO_MEMORY); in scf_iter_create()
2298 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in handle_get_local_scope_locked()
2312 return (scf_set_error(proto_error(response.rpr_response))); in handle_get_local_scope_locked()
2322 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in scf_iter_handle_scopes()
2329 return (scf_set_error(SCF_ERROR_NOT_BOUND)); in scf_iter_handle_scopes()
2334 return (scf_set_error(SCF_ERROR_CONNECTION_BROKEN)); in scf_iter_handle_scopes()
2350 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in scf_iter_next_scope()
2355 return (scf_set_error(SCF_ERROR_NOT_SET)); in scf_iter_next_scope()
2359 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_iter_next_scope()
2381 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in scf_handle_get_scope()
2389 ret = scf_set_error(SCF_ERROR_INVALID_ARGUMENT); in scf_handle_get_scope()
2391 ret = scf_set_error(SCF_ERROR_NOT_FOUND); in scf_handle_get_scope()
2409 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in datael_setup_iter()
2433 return (scf_set_error(proto_error(response.rpr_response))); in datael_setup_iter()
2452 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in datael_setup_iter_pgtyped()
2457 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in datael_setup_iter_pgtyped()
2482 return (scf_set_error(proto_error(response.rpr_response))); in datael_setup_iter_pgtyped()
2499 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in datael_iter_next()
2505 return (scf_set_error(SCF_ERROR_NOT_SET)); in datael_iter_next()
2510 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in datael_iter_next()
2533 return (scf_set_error(proto_error(response.rpr_response))); in datael_iter_next()
2613 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in scf_iter_instance_pgs_composed()
2624 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in scf_iter_instance_pgs_typed_composed()
2684 (void) scf_set_error(SCF_ERROR_NO_MEMORY); in scf_scope_create()
2722 return (scf_set_error(SCF_ERROR_NOT_FOUND)); in scf_scope_get_parent()
2741 (void) scf_set_error(SCF_ERROR_NO_MEMORY); in scf_service_create()
2917 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in scf_instance_get_pg_composed()
2969 (void) scf_set_error(SCF_ERROR_NO_MEMORY); in scf_instance_create()
3014 (void) scf_set_error(SCF_ERROR_NO_MEMORY); in scf_snapshot_create()
3059 (void) scf_set_error(SCF_ERROR_NO_MEMORY); in scf_snaplevel_create()
3128 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in snaplevel_next()
3166 return (scf_set_error(proto_error(response.rpr_response))); in snaplevel_next()
3201 (void) scf_set_error(SCF_ERROR_NO_MEMORY); in scf_pg_create()
3248 return (scf_set_error(SCF_ERROR_INTERNAL)); in scf_pg_get_flags()
3286 return (scf_set_error(proto_error(response.rpr_response))); in datael_update()
3324 return (scf_set_error(SCF_ERROR_CONNECTION_BROKEN)); in _scf_pg_wait()
3340 return (scf_set_error(proto_error(response.rpr_response))); in _scf_pg_wait()
3371 return (scf_set_error(proto_error(response.rpr_response))); in scf_notify_add_pattern()
3403 return (scf_set_error(SCF_ERROR_CONNECTION_BROKEN)); in _scf_notify_wait()
3437 return (scf_set_error(SCF_ERROR_NOT_SET)); in _scf_notify_wait()
3440 return (scf_set_error(proto_error(response.rpr_response))); in _scf_notify_wait()
3458 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in _scf_snapshot_take()
3462 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in _scf_snapshot_take()
3481 return (scf_set_error(proto_error(response.rpr_response))); in _scf_snapshot_take()
3499 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in _scf_snapshot_take_new_named()
3503 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in _scf_snapshot_take_new_named()
3507 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in _scf_snapshot_take_new_named()
3511 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in _scf_snapshot_take_new_named()
3531 return (scf_set_error(proto_error(response.rpr_response))); in _scf_snapshot_take_new_named()
3561 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in _scf_snapshot_attach()
3579 return (scf_set_error(proto_error(response.rpr_response))); in _scf_snapshot_attach()
3600 (void) scf_set_error(SCF_ERROR_NO_MEMORY); in scf_property_create()
3647 return (scf_set_error(proto_error(response.rpr_response))); in property_type_locked()
3679 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_property_is_type()
3687 return (scf_set_error(SCF_ERROR_TYPE_MISMATCH)); in scf_property_is_type()
3700 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_is_compatible_type()
3703 return (scf_set_error(SCF_ERROR_TYPE_MISMATCH)); in scf_is_compatible_type()
3729 (void) scf_set_error(SCF_ERROR_NO_MEMORY); in scf_transaction_create()
3742 (void) scf_set_error(SCF_ERROR_NO_MEMORY); in scf_transaction_create()
3765 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in scf_transaction_start()
3770 return (scf_set_error(SCF_ERROR_IN_USE)); in scf_transaction_start()
3792 return (scf_set_error(proto_error(response.rpr_response))); in scf_transaction_start()
3869 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in transaction_add()
3874 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in transaction_add()
3960 return (scf_set_error(error)); in transaction_add()
4114 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_transaction_commit()
4123 return (scf_set_error(SCF_ERROR_INTERNAL)); in scf_transaction_commit()
4145 return (scf_set_error(SCF_ERROR_INTERNAL)); in scf_transaction_commit()
4163 return (scf_set_error(proto_error(response.rpr_response))); in scf_transaction_commit()
4244 (void) scf_set_error(SCF_ERROR_INVALID_ARGUMENT); in scf_entry_create()
4250 (void) scf_set_error(SCF_ERROR_NO_MEMORY); in scf_entry_create()
4260 (void) scf_set_error(SCF_ERROR_HANDLE_DESTROYED); in scf_entry_create()
4330 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in scf_entry_add_value()
4336 return (scf_set_error(SCF_ERROR_NOT_SET)); in scf_entry_add_value()
4341 return (scf_set_error(SCF_ERROR_INTERNAL)); in scf_entry_add_value()
4346 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_entry_add_value()
4351 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_entry_add_value()
4356 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_entry_add_value()
4362 return (scf_set_error(SCF_ERROR_TYPE_MISMATCH)); in scf_entry_add_value()
4367 return (scf_set_error(SCF_ERROR_IN_USE)); in scf_entry_add_value()
4394 (void) scf_set_error(SCF_ERROR_INVALID_ARGUMENT); in scf_value_create()
4406 (void) scf_set_error(SCF_ERROR_HANDLE_DESTROYED); in scf_value_create()
4413 (void) scf_set_error(SCF_ERROR_NO_MEMORY); in scf_value_create()
4530 return (scf_set_error(SCF_ERROR_NOT_SET)); in scf_value_is_type()
4532 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_value_is_type()
4534 return (scf_set_error(SCF_ERROR_TYPE_MISMATCH)); in scf_value_is_type()
4548 (void) scf_set_error(SCF_ERROR_NOT_SET); in scf_value_check_type()
4552 (void) scf_set_error(SCF_ERROR_TYPE_MISMATCH); in scf_value_check_type()
4754 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_value_set_time()
4775 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_value_set_astring()
4780 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_value_set_astring()
4796 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_value_set_ustring()
4801 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_value_set_ustring()
4817 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_value_set_opaque()
4884 r = scf_set_error(SCF_ERROR_NOT_SET); in scf_value_get_as_string_common()
4888 r = (scf_set_error(SCF_ERROR_INTERNAL)); in scf_value_get_as_string_common()
4913 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_value_get_as_string_typed()
5036 return (scf_set_error(SCF_ERROR_TYPE_MISMATCH)); in scf_value_set_from_string()
5040 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_value_set_from_string()
5061 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in scf_iter_next_value()
5069 return (scf_set_error(SCF_ERROR_NOT_SET)); in scf_iter_next_value()
5074 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_iter_next_value()
5095 return (scf_set_error(proto_error(response.rpr_response))); in scf_iter_next_value()
5125 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in scf_property_get_value()
5148 return (scf_set_error(proto_error(response.rpr_response))); in scf_property_get_value()
5161 SCF_SUCCESS : scf_set_error(SCF_ERROR_CONSTRAINT_VIOLATED)); in scf_property_get_value()
5266 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_parse_svc_fmri()
5319 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_parse_svc_fmri()
5327 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_parse_svc_fmri()
5335 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_parse_svc_fmri()
5343 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_parse_svc_fmri()
5384 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_parse_file_fmri()
5394 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_parse_file_fmri()
5400 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in scf_parse_file_fmri()
5454 (void) scf_set_error(SCF_ERROR_INVALID_ARGUMENT); in scf_canonify_fmri()
5517 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in scf_handle_decode_fmri()
5520 ret = scf_set_error(SCF_ERROR_INVALID_ARGUMENT); in scf_handle_decode_fmri()
5539 ret = scf_set_error(SCF_ERROR_CONSTRAINT_VIOLATED); in scf_handle_decode_fmri()
5543 ret = scf_set_error(SCF_ERROR_CONSTRAINT_VIOLATED); in scf_handle_decode_fmri()
5577 ret = scf_set_error(SCF_ERROR_CONSTRAINT_VIOLATED); in scf_handle_decode_fmri()
5634 ret = scf_set_error(SCF_ERROR_NOT_FOUND); in scf_handle_decode_fmri()
5649 (void) scf_set_error(SCF_ERROR_NOT_FOUND); in scf_handle_decode_fmri()
5670 (void) scf_set_error(SCF_ERROR_NOT_FOUND); in scf_handle_decode_fmri()
5679 (void) scf_set_error(SCF_ERROR_NOT_FOUND); in scf_handle_decode_fmri()
5694 (void) scf_set_error(SCF_ERROR_NOT_FOUND); in scf_handle_decode_fmri()
5709 (void) scf_set_error(SCF_ERROR_NOT_FOUND); in scf_handle_decode_fmri()
5875 return (scf_set_error(proto_error(response.rpr_response))); in scf_pg_to_fmri()
5930 return (scf_set_error(SCF_ERROR_INTERNAL)); in scf_pg_to_fmri()
6014 return (scf_set_error(SCF_ERROR_HANDLE_MISMATCH)); in scf_pg_get_underlying_pg()
6033 r = scf_set_error(SCF_ERROR_NOT_FOUND); in scf_pg_get_underlying_pg()
7406 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in _scf_request_backup()
7421 return (scf_set_error(proto_error(response.rpr_response))); in _scf_request_backup()
7469 return (scf_set_error(proto_error(response.rpr_response))); in _scf_repository_switch()
7487 return (scf_set_error(SCF_ERROR_INTERNAL)); in _scf_pg_is_read_protected()
7512 return (scf_set_error(SCF_ERROR_HANDLE_DESTROYED)); in _scf_set_annotation()
7520 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in _scf_set_annotation()
7526 return (scf_set_error(SCF_ERROR_INVALID_ARGUMENT)); in _scf_set_annotation()
7538 return (scf_set_error(proto_error(response.rpr_response))); in _scf_set_annotation()