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