Lines Matching refs:rpr_response
1092 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in datael_attach()
1093 return (scf_set_error(proto_error(response.rpr_response))); in datael_attach()
1132 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in iter_attach()
1133 return (scf_set_error(proto_error(response.rpr_response))); in iter_attach()
1728 if (response.rpr_response != REP_PROTOCOL_SUCCESS) { in datael_get_name()
1729 assert(response.rpr_response != REP_PROTOCOL_FAIL_BAD_REQUEST); in datael_get_name()
1730 if (response.rpr_response == REP_PROTOCOL_FAIL_NOT_FOUND) in datael_get_name()
1732 return (scf_set_error(proto_error(response.rpr_response))); in datael_get_name()
1770 if (response.rpr_response != REP_PROTOCOL_SUCCESS) { in datael_get_parent()
1771 if (response.rpr_response == REP_PROTOCOL_FAIL_TYPE_MISMATCH) in datael_get_parent()
1773 return (scf_set_error(proto_error(response.rpr_response))); in datael_get_parent()
1834 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in datael_get_child_composed_locked()
1835 return (scf_set_error(proto_error(response.rpr_response))); in datael_get_child_composed_locked()
1852 if (response.rpr_response == REP_PROTOCOL_DONE) { in datael_get_child_composed_locked()
1856 if (response.rpr_response != REP_PROTOCOL_SUCCESS) { in datael_get_child_composed_locked()
1857 if (response.rpr_response == REP_PROTOCOL_FAIL_NOT_SET || in datael_get_child_composed_locked()
1858 response.rpr_response == REP_PROTOCOL_FAIL_BAD_REQUEST) in datael_get_child_composed_locked()
1860 return (scf_set_error(proto_error(response.rpr_response))); in datael_get_child_composed_locked()
1908 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in datael_get_child_locked()
1909 return (scf_set_error(proto_error(response.rpr_response))); in datael_get_child_locked()
2073 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in datael_add_child()
2074 return (scf_set_error(proto_error(response.rpr_response))); in datael_add_child()
2137 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in datael_add_pg()
2138 return (scf_set_error(proto_error(response.rpr_response))); in datael_add_pg()
2170 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in datael_delete()
2171 return (scf_set_error(proto_error(response.rpr_response))); in datael_delete()
2311 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in handle_get_local_scope_locked()
2312 return (scf_set_error(proto_error(response.rpr_response))); in handle_get_local_scope_locked()
2431 if (response.rpr_response != REP_PROTOCOL_SUCCESS) { in datael_setup_iter()
2433 return (scf_set_error(proto_error(response.rpr_response))); in datael_setup_iter()
2480 if (response.rpr_response != REP_PROTOCOL_SUCCESS) { in datael_setup_iter_pgtyped()
2482 return (scf_set_error(proto_error(response.rpr_response))); in datael_setup_iter_pgtyped()
2527 if (response.rpr_response == REP_PROTOCOL_DONE) { in datael_iter_next()
2531 if (response.rpr_response != REP_PROTOCOL_SUCCESS) { in datael_iter_next()
2533 return (scf_set_error(proto_error(response.rpr_response))); in datael_iter_next()
3149 (response.rpr_response == REP_PROTOCOL_SUCCESS || in snaplevel_next()
3150 response.rpr_response == REP_PROTOCOL_DONE)) { in snaplevel_next()
3164 if (response.rpr_response != REP_PROTOCOL_SUCCESS && in snaplevel_next()
3165 response.rpr_response != REP_PROTOCOL_DONE) { in snaplevel_next()
3166 return (scf_set_error(proto_error(response.rpr_response))); in snaplevel_next()
3169 return (response.rpr_response == REP_PROTOCOL_SUCCESS) ? in snaplevel_next()
3281 if (response.rpr_response == REP_PROTOCOL_FAIL_BAD_REQUEST) in datael_update()
3284 if (response.rpr_response != REP_PROTOCOL_SUCCESS && in datael_update()
3285 response.rpr_response != REP_PROTOCOL_DONE) { in datael_update()
3286 return (scf_set_error(proto_error(response.rpr_response))); in datael_update()
3289 return (response.rpr_response == REP_PROTOCOL_SUCCESS) ? in datael_update()
3333 assert((response.rpr_response == REP_PROTOCOL_SUCCESS) == in _scf_pg_wait()
3336 if (response.rpr_response == REP_PROTOCOL_FAIL_NOT_LATEST) in _scf_pg_wait()
3339 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in _scf_pg_wait()
3340 return (scf_set_error(proto_error(response.rpr_response))); in _scf_pg_wait()
3370 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in scf_notify_add_pattern()
3371 return (scf_set_error(proto_error(response.rpr_response))); in scf_notify_add_pattern()
3436 if (response.rpr_response == REP_PROTOCOL_DONE) in _scf_notify_wait()
3439 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in _scf_notify_wait()
3440 return (scf_set_error(proto_error(response.rpr_response))); in _scf_notify_wait()
3480 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in _scf_snapshot_take()
3481 return (scf_set_error(proto_error(response.rpr_response))); in _scf_snapshot_take()
3528 if (response.rpr_response != REP_PROTOCOL_SUCCESS) { in _scf_snapshot_take_new_named()
3529 assert(response.rpr_response != in _scf_snapshot_take_new_named()
3531 return (scf_set_error(proto_error(response.rpr_response))); in _scf_snapshot_take_new_named()
3578 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in _scf_snapshot_attach()
3579 return (scf_set_error(proto_error(response.rpr_response))); in _scf_snapshot_attach()
3645 if (response.rpr_response != REP_PROTOCOL_SUCCESS || in property_type_locked()
3647 return (scf_set_error(proto_error(response.rpr_response))); in property_type_locked()
3789 if (response.rpr_response != REP_PROTOCOL_SUCCESS || in scf_transaction_start()
3792 return (scf_set_error(proto_error(response.rpr_response))); in scf_transaction_start()
4160 if (response.rpr_response != REP_PROTOCOL_SUCCESS && in scf_transaction_commit()
4161 response.rpr_response != REP_PROTOCOL_FAIL_NOT_LATEST) { in scf_transaction_commit()
4163 return (scf_set_error(proto_error(response.rpr_response))); in scf_transaction_commit()
4168 return (response.rpr_response == REP_PROTOCOL_SUCCESS); in scf_transaction_commit()
5089 if (response.rpr_response == REP_PROTOCOL_DONE) { in scf_iter_next_value()
5093 if (response.rpr_response != REP_PROTOCOL_SUCCESS) { in scf_iter_next_value()
5095 return (scf_set_error(proto_error(response.rpr_response))); in scf_iter_next_value()
5143 if (response.rpr_response != REP_PROTOCOL_SUCCESS && in scf_property_get_value()
5144 response.rpr_response != REP_PROTOCOL_FAIL_TRUNCATED) { in scf_property_get_value()
5146 assert(response.rpr_response != in scf_property_get_value()
5148 return (scf_set_error(proto_error(response.rpr_response))); in scf_property_get_value()
5160 return ((response.rpr_response == REP_PROTOCOL_SUCCESS)? in scf_property_get_value()
5873 if (response.rpr_response != REP_PROTOCOL_SUCCESS || in scf_pg_to_fmri()
5875 return (scf_set_error(proto_error(response.rpr_response))); in scf_pg_to_fmri()
7420 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in _scf_request_backup()
7421 return (scf_set_error(proto_error(response.rpr_response))); in _scf_request_backup()
7468 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in _scf_repository_switch()
7469 return (scf_set_error(proto_error(response.rpr_response))); in _scf_repository_switch()
7537 if (response.rpr_response != REP_PROTOCOL_SUCCESS) in _scf_set_annotation()
7538 return (scf_set_error(proto_error(response.rpr_response))); in _scf_set_annotation()