Lines Matching refs:error_reason
452 cluster_error_decode(int error, char *error_reason, size_t max_reason_len)
457 ASSERT(error_reason != NULL);
472 bcopy(decoded, error_reason, decoded_len);
479 * error_reason will be.
481 error_reason[decoded_len] = '\0';
490 cluster_pre_wrapper(char *error_reason, size_t max_reason_len)
497 if (rv != 0 && error_reason != NULL && max_reason_len > 0) {
498 if (cluster_error_decode(rv, error_reason,
500 (void) snprintf(error_reason, max_reason_len,
513 cluster_post_wrapper(char *error_reason, size_t max_reason_len)
520 if (rv != 0 && error_reason != NULL && max_reason_len > 0) {
521 if (cluster_error_decode(rv, error_reason,
523 (void) snprintf(error_reason,
542 suspend_pre(char *error_reason, size_t max_reason_len, boolean_t *recovered)
560 rv = cluster_pre_wrapper(error_reason, max_reason_len);
578 suspend_post(char *error_reason, size_t max_reason_len)
582 return (cluster_post_wrapper(error_reason, max_reason_len));
594 suspend_start(char *error_reason, size_t max_reason_len)